Staredit Network

Staredit Network -> UMS Assistance -> trigger help
Report, edit, etc...Posted by Solitus3989 on 2005-08-06 at 14:43:11
alright... i want to have something like, when player 1 gets 20 kills, get gets a marine or something... what would be the best way of doing this?
Report, edit, etc...Posted by pimpinelephant on 2005-08-06 at 14:51:38
P1 kills exactly 20 men

Create 1 marine at location for P1

could this work maybe?
Report, edit, etc...Posted by Solitus3989 on 2005-08-06 at 14:55:02
QUOTE(pimpinelephant @ Aug 6 2005, 01:51 PM)
P1 kills exactly 20 men

Create 1 marine at location for P1

could this work maybe?
[right][snapback]280485[/snapback][/right]


i'll give it a try.

but then you'd have to reset the kill count for player 1 to 0.
Report, edit, etc...Posted by UED77 on 2005-08-06 at 14:58:25
You can't reset kill counts. Search the tutorial database for kills to score transcriptions, and work from score, which can be reset.

UED77
Report, edit, etc...Posted by Solitus3989 on 2005-08-06 at 14:59:58
QUOTE(UED77 @ Aug 6 2005, 01:58 PM)
You can't reset kill counts. Search the tutorial database for kills to score transcriptions, and work from score, which can be reset.

UED77
[right][snapback]280491[/snapback][/right]


i did this.


null
Trigger
Players:
¤ Player1
Conditions:
¤ Kills exactly 20 any unit
Actions:
¤ create 10 zerglings at SPAWN1
¤ set score for current player to 0 kills
¤ preserve trigger


good?
Report, edit, etc...Posted by UED77 on 2005-08-06 at 15:01:36
No, no. Kills and kill scrore are two different, albeit often confused things. Kills increment by one after each kill, whilst kill score increments by values dependent on the killed unit.

UED77
Report, edit, etc...Posted by Solitus3989 on 2005-08-06 at 15:02:45
QUOTE(UED77 @ Aug 6 2005, 02:01 PM)
No, no. Kills and kill scrore are two different, albeit often confused things. Kills increment by one after each kill, whilst kill score increments by values dependent on the killed unit.

UED77
[right][snapback]280495[/snapback][/right]

:/ meaning i'm in trouble... i was looking but i couldn't find the kill to kill score transcriptions...
Report, edit, etc...Posted by PCFredZ on 2005-08-06 at 18:43:54
Do this:

Each time current player gets 1 kills point (under the Score condition),
Subtract 1 kills point for current player
Add 1 death for <enter unused unit name here>
Preserve trigger

Each time current player suffers at least 20 deaths of <the unit you used for above>
Set deaths for current player: subtract 20 deaths of <unit>
Create 10 zerglings at Spawn1
Preserve trigger

Note: splash damage will cause some kills to be skipped.
Report, edit, etc...Posted by Sniper on 2005-08-06 at 18:47:46
QUOTE(PCFredZ @ Aug 6 2005, 02:43 PM)
Do this:

Each time current player gets 1 kills point (under the Score condition),
Subtract 1 kills point for current player
(should be set to 0, subtract 1 score will only subtract ONE out of total score)
Add 1 death for <enter unused unit name here>
Preserve trigger

Each time current player suffers at least 20 deaths of <the unit you used for above>
Set deaths for current player: subtract 20 deaths of <unit>
Create 10 zerglings at Spawn1
Preserve trigger

Note: splash damage will cause some kills to be skipped.
[right][snapback]280596[/snapback][/right]

Report, edit, etc...Posted by PCFredZ on 2005-08-06 at 20:04:55
QUOTE(Mp)Sniper @ Aug 6 2005, 06:47 PM)
(should be set to 0, subtract 1 score will only subtract ONE out of total score)
[right][snapback]280598[/snapback][/right]

My bad.
Report, edit, etc...Posted by uberfoop on 2005-08-06 at 22:43:12
yah, i dont think you can make it excactly 20 kills unless the units your killing are:

-all the same unit type
OR
-you dont have splash dmg

cuz you could add 1 to custom score every time the player kills a unit then set kill score to 0, but that would be messed up by splash dmg, cuz with splash you could get liek 20 kills at ocne but only get 1 point. it would also work if there was only 1 type of unit that your killing, cuz then you coukld find the kill score for 20 of the unit and then use that for the condition.
Report, edit, etc...Posted by PCFredZ on 2005-08-06 at 23:36:05
Just go with what I had, only splash can mess it up, and it'd still be infrequent. Simple and effective.
Report, edit, etc...Posted by uberfoop on 2005-08-06 at 23:47:05
yah thats wut i meant though. but yah, freds method is best, unless you want certain units to give more points.
Report, edit, etc...Posted by Solitus3989 on 2005-08-07 at 17:36:27
could i do something like,

each time player's kill points are up to 3000, make 10 zerglings, set kill score back down to 0?
Report, edit, etc...Posted by UED77 on 2005-08-07 at 17:39:51
Sure, but you have to realize that killing different units increments the kill score by different amounts. The kill score increment value cannot be changed in a map. If this is fine with you, go ahead.

UED77
Report, edit, etc...Posted by Solitus3989 on 2005-08-07 at 17:42:43
QUOTE(UED77 @ Aug 7 2005, 04:39 PM)
Sure, but you have to realize that killing different units increments the kill score by different amounts. The kill score increment value cannot be changed in a map. If this is fine with you, go ahead.

UED77
[right][snapback]281461[/snapback][/right]


heres what i did... i took our total units produced, units killed, units lost, added them all up, and divided that into the total... it was like, 113585/900-ish... i got about 125 points to each kill. so different areas will give you different points, but the ones with more points are harder to kill so i prefer to just leave it simple that i understand it... you should get a bigger bonus for killing harder units.

thats where i came up with the 3000 points...

my friend had like, 107110/around 700, which came out to about 150 points a kill. so its about the same thing.

i don't think i factored in the buildings razed and lost??
Report, edit, etc...Posted by PCFredZ on 2005-08-07 at 19:47:31
QUOTE(Solitus3989 @ Aug 7 2005, 05:42 PM)
heres what i did... i took our total units produced, units killed, units lost, added them all up, and divided that into the total... it was like, 113585/900-ish... i got about 125 points to each kill. so different areas will give you different points, but the ones with more points are harder to kill so i prefer to just leave it simple that i understand it... you should get a bigger bonus for killing harder units.

thats where i came up with the 3000 points...

my friend had like, 107110/around 700, which came out to about 150 points a kill. so its about the same thing.

i don't think i factored in the buildings razed and lost??
[right][snapback]281464[/snapback][/right]

Then it would have to change every time new units are produced. You simply can't just do an average for these things because it's still inaccurate in the end.
Next Page (1)