Staredit Network

Staredit Network -> UMS Assistance -> TOS map
Report, edit, etc...Posted by ZiQi on 2006-08-02 at 20:38:44
Im making a TOS map and I was wondering if anyone could help me on a kill/mineral trigger.. I think something like this is in the tutorials but I don't understand it.

I want like if a person kills a ling they get 1 mineral , killing a hydra would be 3 minerals
and so on. Is there a way to do this instead of listing on kill of each ling/hydra/and so on you get minerals? Or does any of have a better idea.
Report, edit, etc...Posted by Kenoli on 2006-08-02 at 20:52:46
You'd probably do best to convert kill score into minerals.
Have a trigger like:
QUOTE
Current Player kills score is at least 100.
----------
Preserve trigger.
Modify score for Current Player: Subtract 100 kills.
Modify resources for Current Player: Add 1 ore.
You won't be able to manually set how much each unit is worth, but instead you can scale the unit's power to match their mineral value.
For example, Zerglings give you 50 kill score when you kill them. You'd need to kill two zerglings to get 1 mineral.
Hydralisks are worth 350 kill score, you'd get 3 minerals for killing one, and have 50 points left over.
So, what you can do is make Hydralisks about 7 times stronger than zerglings so that the rewards for killing them are balanced out better.
The upside is that you only need this one trigger.
See this list to find out how much kill score a particular unit is worth.
Report, edit, etc...Posted by i)D(Elite on 2006-08-02 at 21:26:30
Or you can just make a trigger where (If player has 350 Kill Score, Give 3 minerals, Set 0 kill score, Preserve)
So if they kill a hydra (which gives 350 kill score) then they get 3 minerals, and you make one for each unit they kill. The only problem is splash damage units not getting credit for all their kills. For this you can look to the Perfect Kills/Cash tutorial, but if you aren't great at this kind of thing it can be really complicated.
Hope that helps.
Next Page (1)