Tech Lounge > Mapping

how to make things wave based or timed for zombie survival maps

(1/2) > >>

Majoras mask:
if anyone here wants to know how to make things wave based without the new version of zombie survival here joo go.

lets make a door open at the end of wave 1 shall we?

first make a door and turn off all the the flags but toggle and name it. then make an entity "logic_auto" and on the outputs use

OnMapSpawn>"doorname"open> after a delay of 210 seconds.              now to make it feel a bit better we can add a sound and do this...

OnMapSpawn>"soundname">playsound>with a delay of 210 seconds.           you can do much more with logic auto but that's just a way to use it


that might not of helped you out that much but this will give you all the numbers you will need if you are trying to make something wave based.


--- Code: ----- Initial length for wave 1.
WAVEONE_LENGTH = 120

-- Add this many seconds for each additional wave.
WAVE_TIMEADD = 5
-- How long 'wave 0' should last in seconds. This is the time you should give for new players to join and get ready.
WAVEZERO_LENGTH = 90

-- Time humans have between waves to do stuff without NEW zombies spawning. Any dead zombies will be in spectator view and any living ones will still be living.
WAVE_INTERMISSION_LENGTH = 45
--- End code ---



jimonions:
LOLOOLOLOOLOLOL thisll come in handy

Tomcat:
working on a point_zs message entity and also
a zs_onwave start/end

Majoras mask:

--- Quote from: Tomcat on May 05, 2010, 06:38:43 PM ---working on a point_zs message entity and also
a zs_onwave start/end

--- End quote ---

happy faec  :) :) :) :) :)

O0

Tomcat:
very easy but i would have to go into zs prime shared.lua and add it in

Navigation

[0] Message Index

[#] Next page

Go to full version