Author Topic: how to make things wave based or timed for zombie survival maps  (Read 346 times)

0 Members and 1 Guest are viewing this topic.

Offline coolzeldad

  • ******
  • OwnerDonatorOld Forum MemberrNd DeveloperLinux UserWindows UserDog LoverLeague PlayerDWO Player
    View More Badges!

  • Posts: 3333
  • I eat ddos for breakfast OMNOMONOM
  • Respect: +2711
    • .:`=-~rANdOm~`-=:. Game Servers
how to make things wave based or timed for zombie survival maps
« on: September 18, 2010, 03:10:26 PM »
0
ORIGINAL THREAD BY 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: [Select]
-- 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
 ▲
▲▲Big thanks to Marie for this awesome sprite! :3

Spoiler: Moar Imagez (click to show/hide)
pingaz
Thanks Cryptokid!

Thanks gamefreak!


-- My youtube: http://www.youtube.com/coolzeldad
-- My deviantart: http://coolzeldad.deviantart.com
-- My soundcloud: http://www.soundcloud.com/coolzeldad
-- My ustream: http://www.ustream.tv/channel/coolzeldapingaz
-- My twitchtv: http://www.twitch.tv/coolzeldad

-- rNd Wiki: http://wiki.randomgs.com
-- rNd Youtube: http://www.youtube.com/RandomgsProductions
-- rNd Steam Group: http://steamcommunity.com/groups/r_A_N_d_O_m

Spoiler: rNd Typography (click to show/hide)





Every time you download Garry's Mod illegally, Garry makes a bug.

When people ask me "Plz" because its shorter than "Please" I feel perfectly justified to answer "No" because its shorter than "Yes".

derp herp lerp perp kerp serp zerp - say faiv timez fazt


Offline Seb

  • ******
  • Posts: 2880
  • Gender: Male
  • Respect: +783
Re: how to make things wave based or timed for zombie survival maps
« Reply #1 on: October 09, 2010, 05:34:46 PM »
0
But what if we want something to repeat every wave? In these maps I'm planning (you see, they're my current high school and my former middle school) I want the bell to ring for five seconds every time it's five seconds until the next wave.
Miami's Finest

Offline SMasters

  • That's a paddlin
  • ***
  • 2009 Snowball Competition Winner
    View More Badges!

  • Posts: 208
  • *jeopardy music*
  • Respect: +102
Re: how to make things wave based or timed for zombie survival maps
« Reply #2 on: October 09, 2010, 05:45:53 PM »
0
But what if we want something to repeat every wave? In these maps I'm planning (you see, they're my current high school and my former middle school) I want the bell to ring for five seconds every time it's five seconds until the next wave.
look up logic timer

Offline Peetah

  • ******
  • League PlayerWindows UserDog Lover
    View More Badges!

  • Posts: 3000
  • Gender: Male
  • Respect: +823
Re: how to make things wave based or timed for zombie survival maps
« Reply #3 on: October 09, 2010, 05:50:43 PM »
0
Can we add like phases on top of this?
Like after each wave the survivors travel to a different spot. And get to the end to escape and win.
(Reg) Nezz45: peetah are you good with the weight tool?

Offline Jman

  • NO FUN ALLOWED
  • ******
  • Old Forum Member
    View More Badges!

  • Posts: 2752
  • Gender: Male
  • Respect: +9999
  • Respect: +805
    • Random Gaming
Re: how to make things wave based or timed for zombie survival maps
« Reply #4 on: October 09, 2010, 07:10:33 PM »
0
Can we add like phases on top of this?
Like after each wave the survivors travel to a different spot. And get to the end to escape and win.


zombie escape. i like that idea.

Offline SMasters

  • That's a paddlin
  • ***
  • 2009 Snowball Competition Winner
    View More Badges!

  • Posts: 208
  • *jeopardy music*
  • Respect: +102
Re: how to make things wave based or timed for zombie survival maps
« Reply #5 on: October 09, 2010, 07:58:01 PM »
0
I told Coolz about an entity to end the round but idk he's been working on it

Offline Tomcat

  • Your Argument is Inert
  • ******
  • Donator
    View More Badges!

  • Posts: 2539
  • Gender: Male
  • Wat Do?
  • Respect: +503
    • Tomcat's blog
Re: how to make things wave based or timed for zombie survival maps
« Reply #6 on: October 17, 2010, 11:07:19 AM »
0
I told Coolz about an entity to end the round but idk he's been working on it


Ill look into it

Offline Juan_Ambriz

  • Guys is it wrong that....
  • *****
  • Posts: 1293
  • Gender: Male
  • POENIS
  • Respect: +338
    • My Youtube. Mostly tech help SUB!
Re: how to make things wave based or timed for zombie survival maps
« Reply #7 on: November 23, 2010, 07:51:24 PM »
+1
how do you make a door?

THANKS CRYPTO BB



Offline jimonions

  • the text below is true
  • *****
  • Old Forum MemberWindows User
    View More Badges!

  • Posts: 822
  • Gender: Female
  • the text above is not true
  • Respect: +589
Re: how to make things wave based or timed for zombie survival maps
« Reply #8 on: November 23, 2010, 10:51:33 PM »
0
how do you make a door?


ha...haha...
Spoiler (click to show/hide)

(JBanned) .:RND`=- DJ myppl8: if i eva become supa admin id ban moo and make hima guest

Offline Juan_Ambriz

  • Guys is it wrong that....
  • *****
  • Posts: 1293
  • Gender: Male
  • POENIS
  • Respect: +338
    • My Youtube. Mostly tech help SUB!
Re: how to make things wave based or timed for zombie survival maps
« Reply #9 on: November 23, 2010, 11:02:21 PM »
0
Lol thx im still a nub to the forum....  :D :idk:

THANKS CRYPTO BB