Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Creating Waves for Defence maps...
Creating Waves for Defence maps...
Apr 3 2009, 8:20 pm
By: PurpleKow  

Apr 3 2009, 8:20 pm PurpleKow Post #1



Ive searched high and low and cannot find a decent explanation on how to create waves of enemies for a defence map. Any sugggestions are welcome.



None.

Apr 3 2009, 8:58 pm Symmetry Post #2

Dungeon Master

How familiar are you with the editor? I'd be happy to make a simple explanation/guide as to how to create waves for a defense map, but I want to know how detailed to make it.



:voy: :jaff: :voy: :jaff:

Apr 3 2009, 9:10 pm PurpleKow Post #3



Im no super genius but i know my way around the editor. Thanks for the help.



None.

Apr 3 2009, 9:27 pm Symmetry Post #4

Dungeon Master

Alright, well I'll assume you know to use triggers and what not then.

First you're going to need to place locations along the path your waves will travel across. Let's say for simplicities sake that we'll use 3 locations: the start of the path, a single turn in the path and the end of a path.

Once you have these placed, open your trigger menu and create triggers that will order your units across the path. It should look something like this:

Conditions
ALWAYS
Actions
ORDER ALL ANY UNIT OWNED BY (computer player) AT 'START' TO 'TURN'
ORDER ALL ANY UNIT OWNED BY (computer player) AT 'TURN' TO 'END'
PRESERVE TRIGGER

There are other ways to do this, but this is the easiest in my opinion.

Next, we'll create our waves. Let's say we want them to come every time a countdown timer reaches '1'. We'll use a death count variable to keep track of what level we're on. Create a trigger to set a countdown timer at the beginning of the game and then set it up like this:

CONDITIONS:
'Player x' has suffered at most 0 deaths of 'counter' (use whichever player/unit you want for this)
Countdown Timer is at most 1 second
ACTIONS:
Create x 'wave 1' at location 'start'
set countdown timer to 1 minute
Set deaths for 'player x' for unit 'counter' to '1'


CONDITIONS:
'Player x' has suffered at most 1 deaths of 'counter'
Countdown Timer is at most 1 second
ACTIONS:
Create x 'wave 2' at location 'start'
set countdown timer to 1 minute
Set deaths for 'player x' for unit 'counter' to '2'


CONDITIONS:
'Player x' has suffered at most 2 deaths of 'counter'
Countdown Timer is at most 1 second
ACTIONS:
Create x 'wave 3' at location 'start'
set countdown timer to 1 minute
Set deaths for 'player x' for unit 'counter' to '3'

These triggers will spawn your waves every time the counter reaches '1', reset the counter and increase the death count so the next trigger will run when the countdown timer is done.

If anything needs to be clarified, just ask.



:voy: :jaff: :voy: :jaff:

Apr 3 2009, 9:37 pm PurpleKow Post #5



Thank you so much i cant say how much I appreciate this.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:30 pm]
Oh_Man -- yeah, probs
[03:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[03:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
Please log in to shout.


Members Online: RIVE, Symmetry, O)FaRTy1billion[MM]