Staredit Network

Staredit Network -> UMS Assistance -> Help with a map
Report, edit, etc...Posted by Oo.Jamal.oO on 2005-08-25 at 15:00:16
Ok, as you can see in the bottom left (kinda) of the map their are 2 lines right by eachother, theres gonna be like 20 enemies that spawn on each side. (defense like there), and if u kill 1 unit, 1 unit spawns at the other side, (competition defense) and so on and so on, could go on for a while, help plz??
Report, edit, etc...Posted by Sniper on 2005-08-25 at 15:03:17
help with what...you just took the idea and posted it in map making assistance.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-25 at 15:10:01
I assume he doesn't know how to do the triggers to make one appear on the other side when it is killed.

The easiest way would be to use two differant computer players one for each side. Whenever one computer player suffers a death, subtract that death and create the same unit on the other side for the other computer player.
Report, edit, etc...Posted by Oo.Jamal.oO on 2005-08-25 at 15:14:53
thats exactly what i thought, i was jst checking to save myself the trouble of trying it, that part will be the last thing i do on my map.
Report, edit, etc...Posted by AFL-InuYasha on 2005-08-25 at 19:23:16
im guessin theres a team defending each side, well heres the triggers from my understanding


Trigger
Description:
start
Players:
¤ team 1
¤ team 2
Conditions:
¤ always
Actions:
¤ create 1 unit at 'team 1 spawn'




[PLAYERS][p]team 1
Trigger
Description:
team 1 kill
Conditions:
¤ team 1 kills at least 1 men
Actions:
¤ modify score for team 1: set to 0 kills
¤ create 1 unit at 'team 2 spawn'
¤ preserve trigger




[PLAYERS][p]team 2
Trigger
Description:
team 2 kill
Conditions:
¤ team 2 kills at least 1 men
Actions:
¤ modify score for team 2: set to 0 kills
¤ create 1 unit at 'team 1 spawn'
¤ preserve trigger


now in case the unit doesnt get killed, team doesnt kill it, then maybe the team loses a life


Trigger
Description:
team 1 fail
Players:
¤ team 1
Conditions:
¤ team 1 kills at most 0 men
¤ computer brings atleast 1 men to 'team 1 end'
Actions:
¤ modify custom score: subtract 1 custom for team 1 (custom being lives)
¤  *note1*
¤ preserve trigger


*note1*
3 choices:
-kill 1 unit for computer at 'team 1 end'
create 1 unit for computer at 'team 2 spawn' (just lose a life)
-move 1 unit for computer at 'team 1 end' to 'team 1 spawn' (loses a life and
gets another try)
-kill 1 unit for computer at 'team 1 end'
create 1 unit for computer at 'team 1 spawn' (loses a life and restarts)


Trigger
Description:
team 2 fail
Players:
¤ team 2
Conditions:
¤ team 2 kills at most 0 men
¤ computer brings atleast 1 men to 'team 1 end'
Actions:
¤ modify custom score: subtract 1 custom for team 1 (custom being lives)
¤  *note2*
¤ preserve trigger


*note2*
3 choices:
-kill 1 unit for computer at 'team 2 end'
create 1 unit for computer at 'team 1 spawn' (just lose a life)
-move 1 unit for computer at 'team 2 end' to 'team 2 spawn' (loses a life and
gets another try)
-kill 1 unit for computer at 'team 2 end'
create 1 unit for computer at 'team 2 spawn' (loses a life and restarts)





hope this helps, most i can think of for wat ur trying to do tongue.gif

Report, edit, etc...Posted by Kumano on 2005-08-25 at 19:39:13
There are 2 problems with what you said

1) You can't set kills, only kill score and they are very different.

2) That would only work if theres only 1 type of enemy the way you showed it
Report, edit, etc...Posted by AFL-InuYasha on 2005-08-25 at 20:50:03
i fixed the triggers, they sould work now
Report, edit, etc...Posted by scwizard on 2005-08-26 at 11:25:43
¤ team 2 kills at least 1 men
Actions:
¤ modify score for team 2: set to 0 kills

¤ create 1 unit at 'team 1 spawn'

¤ preserve trigger


The kills can't be modifyed.

The kill score adds a different amount depending on the unit.

So what you want to get the fourth best way to do it is:
Conditions:
¤ team's 2 kill score is at least 1 and then the rest of the triggers the guy showed you (I think, but you might only need two of them).

However, this will not work for units with splash. If a firebat kills 3 zerglings at once, only one unit will be sent towards the other side.


The third best way to do it:
The location for the first coloum is "defend 1"
The location for the second coloum is "defend 2"

Conditions:Team enemy brings exactly 19 men to defend 1
Team enemy brigns at most 20 men to defend 2

Actions: Create 1 man at defend 2
Preserve trigger

^and then do a bunch of triggers like the ones you see above^

There are better ways to do it, one takes less triggers, but is more complex, so you might not understand it, and I might rush it and mess up. The best one I can kind of picture, but I'ld need lots of time to work out.
Report, edit, etc...Posted by Kumano on 2005-08-26 at 13:11:59
QUOTE
The third best way to do it:
The location for the first coloum is "defend 1"
The location for the second coloum is "defend 2"

Conditions:Team enemy brings exactly 19 men to defend 1
Team enemy brigns at most 20 men to defend 2

Actions: Create 1 man at defend 2
Preserve trigger


But what if team 2 killed something making theirs go down to 20, while team 1 had 19, it should make 1 for team 1 but the way you showed it it would make 1 for team 2 (who just killed it)
Report, edit, etc...Posted by PCFredZ on 2005-08-26 at 13:20:22
Bolt Head solved it in post #3, y'all should learn to read.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-27 at 14:34:19
QUOTE
- Make your topic title descriptive of your problem. This will help others who are searching the forum to find the solution to the same problem you might be having.
Next Page (1)