Staredit Network

Staredit Network -> UMS Assistance -> Rpg help
Report, edit, etc...Posted by Centreri on 2005-06-28 at 12:04:05
I know of a few techniques, and im sure they make work well, but they don't fit exactly what i need. I need to make a trigger that gets me a certain number of minerals for a certain unit. I know sctrigger can do this, but it creates about 25k triggers for what i need, and that makes it long to open the triggers menu, super long dl, and in game lag.

Any help?
Report, edit, etc...Posted by AqoTrooper on 2005-06-28 at 12:27:06
Each unit gives a different score when it dies, all of those scores are listed in Arsenal III which you can get here: http://www.staredit.net/index.php?download=2753

Now, simply create this trigger for every unit that you may kill (there are only 84 units and 66 buildings in Starcraft, most of them you probably won't use so the amount of triggers will be small):

---
Player:
The ones who gets point for kills
Condition:
Foes death score is exactly X
Action:
The things that hapen when the unit with X as death score dies.
---
Remember to add hyper triggers.

There's no other way if you want a different effect for every unit.
Also note that if you have unit that have splash attack and might kill more than 1 unit exactly at the same time this might be bugged.
Report, edit, etc...Posted by The_Shattered_moose on 2005-06-28 at 12:52:54
Aqo, that doesn't help with multiple players, as it can easily get confused by multiple players killing multiple things.
Report, edit, etc...Posted by DevliN on 2005-06-28 at 12:59:33
Or you could do something similar like:
Trigger
Players:
¤ All Human Players
Conditions:
¤ Current player kill score is exactly X [Depending on Specific Unit]
Actions:
¤ Modify score for current player: set to 0 kills.
¤ Add X ore for current player.
¤ Preserve trigger.


This way the player who kills the unit will get ore, not everyone.
Report, edit, etc...Posted by slayer766 on 2005-06-28 at 13:02:08
DevliN you have to consider the fact that some unit's will do splash damage and kill more than one unit, so it should not be "Current Player Kills Score is Exactly" should be "At least" biggrin.gif
Report, edit, etc...Posted by DevliN on 2005-06-28 at 13:17:23
But if you do "At least" the trigger will mess up even more. Lets say you set up a trigger to give a player 1 ore for a kill score of 100 and 2 ore for a kill score of 350. Then in the game a player will kill 1 Terran Marine (score of 100) and get 1 ore for it. But if the player kills a Terran Ghsot (score of 350) he will get 1 ore because its at least 100 and then another 2 for being equal to 350.

I guess Silver could give one ore per 200 kills, so that way smaller units give 1 ore while larger units like a Terran Battlecruiser would give 14 ore.
Report, edit, etc...Posted by slayer766 on 2005-06-28 at 13:19:54
Yeah I guess that your right Dev. biggrin.gif
Report, edit, etc...Posted by Centreri on 2005-06-28 at 14:12:31
Thank you a lot. I know its not perfect, but its close enough smile.gif
Report, edit, etc...Posted by Subrosian on 2005-06-28 at 23:59:39
However, there is a perfect one called Thermo's kill counter.

I'm too lazy to find the link, so just search for it.
Report, edit, etc...Posted by in_a_biskit on 2005-06-29 at 01:14:07
We have tutorials for everything!
Kills to Cash - http://www.staredit.net/index.php?tutorial=81
Thermo's Kill Counter - http://www.staredit.net/index.php?tutorial=25
Unit Kill Scores - http://www.staredit.net/index.php?tutorial=108
Report, edit, etc...Posted by Centreri on 2005-06-29 at 10:21:43
Thanks a lot smile.gif. I also heard theres a $ for kills system which is completely dependant on the deaths of the foes, not ure kills. Does this work for team money? (just wondering)
Report, edit, etc...Posted by DevliN on 2005-06-29 at 10:23:21
Team-money? As in a kill gives the team money? If this is the case, just add an ore for everyone when something dies, rather than just for that one person who killed it.
Next Page (1)