Page 1 of 1

Campaign Questions

Posted: Sun Sep 27, 2009 11:32 am
by destos
well, im doing a test map, and since i wanted to do a wave mode variant, i wanted to ask a few questions

1.say i wanted randomized objectives, like in my wave mode, you will be asked to survive for a set amount of time (maybe 25 minutes or so) then after the time is up, you get a new objective where you must go to the evacuation site, i wanted to randomize the location of the evacuation site maybe between 5 different areas around the map.

2. I've seen this on Mav's Dark Times wavemode, he made it so that you lost if you died, and i never personally played the wave mode online (at least the ones that were online compatible) but I'm assuming he made it so that once you died, you died for good, i was wondering what code he used to make this possible, since im trying to make this wave mode a online and offline compatible mode.

3. this question is part opinion, part question, what would you use to recreate a "Hoard" type system, were in my game mode, its droids versus stranded soldiers, the droids only have a few on the field, and they roam the map, but the soldiers can trigger the hoard, or basically a large number of droids to spawn around the outer map. and i was wondering what type of triggers you guys would use to make it realistic and challenging (since it is a lot less fun if you can easily win by just staying in one spot)

i was personally thinking for the triggers:

Tripwires- basically a bunch of regions spread across the map that when you enter it, the droids spawn.

Exploding objects- there are exploding containers around the map, and if one explodes the droids will spawn

death- if a soldier is killed, perhaps i could get the droids to spawn? I'm relatively new to coding campaigns so im unsure if this would work.

Randomized Spawns- after a set amount of time a hoard will spawn, since the other triggers only work if the survivors are moving.

That is all the questions so far.

Re: Campaign Questions

Posted: Sun Sep 27, 2009 4:21 pm
by Maveritchell
destos wrote:2. I've seen this on Mav's Dark Times wavemode, he made it so that you lost if you died, and i never personally played the wave mode online (at least the ones that were online compatible) but I'm assuming he made it so that once you died, you died for good, i was wondering what code he used to make this possible, since im trying to make this wave mode a online and offline compatible mode.
I didn't make it so that people couldn't rejoin once they lost; I gave their team a pool of lives that once depleted, caused a loss condition. I don't remember, exactly, but I think I also made it so that once someone spawned as a unit class, it was locked from being used again. This may or may not have worked online.

Re: Campaign Questions

Posted: Wed Sep 30, 2009 4:20 pm
by destos
hmm, ok then, well thanks for answering that question, ive decided that ill just have it so that only 3 people can be killed.

still unsure about the other questions i asked though

Re: Campaign Questions

Posted: Wed Sep 30, 2009 6:40 pm
by Fiodis
destos wrote:3. this question is part opinion, part question, what would you use to recreate a "Hoard" type system, were in my game mode, its droids versus stranded soldiers, the droids only have a few on the field, and they roam the map, but the soldiers can trigger the hoard, or basically a large number of droids to spawn around the outer map. and i was wondering what type of triggers you guys would use to make it realistic and challenging (since it is a lot less fun if you can easily win by just staying in one spot)

i was personally thinking for the triggers:

(A)Tripwires- basically a bunch of regions spread across the map that when you enter it, the droids spawn.

(B)Exploding objects- there are exploding containers around the map, and if one explodes the droids will spawn

(C)death- if a soldier is killed, perhaps i could get the droids to spawn? I'm relatively new to coding campaigns so im unsure if this would work.

(D)Randomized Spawns- after a set amount of time a hoard will spawn, since the other triggers only work if the survivors are moving.
All possible with modified AI Ambushes (See FAQ).

(A)OnEnterRegion, then Ambush(ambushpath, numDudes, fromTeam)

(B)OnObjectKill, then Ambush(ambushpath, numDudes, fromTeam)

(C)OnCharacterDeath, then Ambush(ambushpath, numDudes, fromTeam)

(D)OnTimerElapse, then Ambush(ambushpath, numDudes, fromTeam)


A helpful link.


A side note to mods/admin - the pics in that FAQ thread have been deleted. If anyone could re-upload them, that'd be extremely helpful, as this tutorial in particular makes many references to the pictures and explains less using words alone.
^Images fixed -Staff

Re: Campaign Questions

Posted: Wed Sep 30, 2009 8:36 pm
by destos
i didnt know you could do ambush upon character death, sweet, thanks for that =D.

anyone know is randomized objects are possible/ what i would need to do to make it possible?