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

(Killer_Kow)

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

(Killer_Kow)

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.
[05:51 pm]
UndeadStar -- Symmetry
Symmetry shouted: kinda looks like we need to auto ban all new accounts with 3 numbers at the end lmao
Members Online: UndeadStar, FranciBizjak898, LukaNovak271, GesineFalkenthal863, AjdaSkubic907, JonasAlthaus047, LukasWeigel655
[05:13 pm]
lil-Inferno -- SEN literally had a butlerian jihad before and now he talmbout we aren't anti-bot? 🤨
[12:17 pm]
Zakerozi -- Dfk is going on here :D
[03:47 am]
Symmetry -- kinda looks like we need to auto ban all new accounts with 3 numbers at the end lmao
[12:56 am]
Heinermann -- who decided "we're not necessarily anti-bot"? It's worse than spam, it's social engineering to trick people into believing that they are legitimate and get them to click their links
[2026-11-12. : 6:04 pm]
NudeRaider -- ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
it's rather inconvenient actually, as it requires you to transfer it to Custom Score which might even interfere with what you're measuring. But IIRC you can also use EUDs to display it which by now could actually be somewhat convenient.
[2026-11-11. : 9:25 pm]
ihjel -- "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
[2026-11-11. : 6:59 pm]
Symmetry -- I just pasted what google ai told me to try to form a feedback loop
[2026-11-11. : 1:24 pm]
NudeRaider -- UndeadStar
UndeadStar shouted: https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
Yeah, I've noticed it, but it raised a couple of relevant questions and kept the ad to the signature so if someone were to engage with the topic it could be a net positive which is why I kept it. We're not necessarily anti-bot, just anti-spam. Thanks to Symmetry who realized my hope. :)
Please log in to shout.


Members Online: BrendaMullineux515, Soul Filcher, O)FaRTy1billion[MM]