Need To Speak With A Mapper


(Dawnlight) #1

A few questions for mappers out there:

I do not know much about the map scripting or abilities that can be achieved solely through mapping.

I have been working on a total conversion for about 5 months now and am nearing the light at the end of the tunnel.

I was curious if it was possible:

  1. to add hostages that will follow a player based upon the activate key strictly through mapping.
  2. have the map win based upon:
    a. All hostages that are still alive cross a certain point.
    b. All hostages are dead then the loss is awarded to whomever killed the last hostage
  3. Hostages stop following based on the activate key, and can only be followed by 1 team (whether that be axis or allies)

Pardon my ignorance, but, as I have said I have not even glanced at the mapping side of things.

Thanks all for your advice.


(mortis) #2

CounterstrikeTerritory?


(Dawnlight) #3

Not exactly. CS was just save the hostage. I wanted something more along the lines of Goldrush.

IE: blow the bank get the gold. All the maps are get the gold. Wanted something new. As in, complete objectives to get to the hostages and the escort them to a truck close by.

Simple enough. Maybe even cut it down to one hostage, not sure yet. Basically just looking to add some spice to the game as doing the same objective over and over and over, even on different maps, becomes slightly tedious.


(Ifurita) #4
  1. to add hostages that will follow a player based upon the activate key strictly through mapping.
  • No, there is currently no ai for an entity to freely follow a player. Movers are pretty much locked into a specific spline path defined in the map. If you want free follow, you’ll have to add that.
  1. have the map win based upon:
    a. All hostages that are still alive cross a certain point.
  • No, see #1

b. All hostages are dead then the loss is awarded to whomever killed the last hostage

  • Yes and no, you can run a scheduled check of ‘hostage status’ and end the game when the count = 0 (or whatever you want). However, currently the game cannot (AFAIK) report who killed an entity.
  1. Hostages stop following based on the activate key, and can only be followed by 1 team (whether that be axis or allies)
  • No, see #1

Perhaps you could simulate this by putting a body or a gurney and require players to escort the gurney, down a path, to a truck. You could even require that 2 people are required to make the gurney move.


(Dawnlight) #5

I like the idea behind the gurney. Would it be possible to force a medic to ‘repair’ the wounded on the gurney should it become damaged, or can this only be assigned to engineers? I think I will still add follow code into the source.

I think I am going to have to look at the mapscript parser and determine how to make these changes if at all possible. Not even sure the mapscript is available with the SDK. Will have to further investigate when I get home from work.

Thanks for your answers though.


(Ifurita) #6

I think the repair can only be assigned to engineers, though you could use a trigger_multiple to only escort if medic and use the timer to make sure the medic is in the trigger_multiple for x seconds before it starts moving


(d3coy) #7

probably should post this in the mods forums, might get better results with what you are trying to accomplish. Iffy, is correct in what he says, most of this would have to be hard coded into the game, and maybe someone in the mods area could assist you.


(psyco_mario) #8

1 word - mod