Staredit Network

Staredit Network -> UMS Assistance -> Capture Counters
Report, edit, etc...Posted by PE-Spartan on 2005-06-01 at 03:12:16
Ok here's my problem. I'm making a game that uses flag captures as points to win. problem is i don't know how i would do that without using the kill counter. the kill counter would mess with it because the players would be killing units too so. Is there a different counter i could use? confused.gif
Report, edit, etc...Posted by in_a_biskit on 2005-06-01 at 03:41:13
Custom Score is your friend.

You can add or subract or set custom scores using "Set Score".
Custom Scores are only affected by triggers, not by kills or deaths or other events.
You can show a leaderboard for custom scores too.

So a good method is to add to custom score for the appropriate team whenever they capture a flag.
You can check players' scores using the condition "Score".
Report, edit, etc...Posted by (U)Bolt_Head on 2005-06-01 at 13:52:41
QUOTE(PE-Spartan @ Jun 1 2005, 02:12 AM)
Ok here's my problem. I'm making a game that uses flag captures as points to win. problem is i don't know how i would do that without using the kill counter. the kill counter would mess with it because the players would be killing units too so. Is there a different counter i could use? confused.gif
[right][snapback]222700[/snapback][/right]


First off its a death counter, and secondly im pretty sure your not using all the units.

But as Bisket said you can use a custom counter

You could also use minerals or gas or a unit counter using burrowed units.
Report, edit, etc...Posted by l)ark_13 on 2005-06-01 at 14:34:18
If you do want to use a death counter, its extremely easy.

Whenever a team scores, add 1 death for an unused unit such as a critter or protoss hero or something. Although I dont know why you'd want to use death counters because the players dont know what the score is... In which case you would add custom score to show the score.
Report, edit, etc...Posted by LegacyWeapon on 2005-06-01 at 14:46:43
Death counters...
http://www.staredit.net/index.php?tutorial=124
Report, edit, etc...Posted by PE-Spartan on 2005-06-01 at 15:02:01
I meant like I want to put a leaderboard up for how many captures people have gotten, but people are going to be killing units so i can't use the death counter. Basically my original plan was for every death of the Flag carrier, it would add one point of the leaderboard. however people are going to be killing units so it would screw with the leaderboard...
Report, edit, etc...Posted by LegacyWeapon on 2005-06-01 at 15:03:39
Then use a different unit for the death counter... Like an unused one. Most people won't be killing crashing units...

For the capture, once someone has a death counted, and brings their unit back to base, add 1 to custom so you can leaderboard custom score.
Report, edit, etc...Posted by in_a_biskit on 2005-06-02 at 04:15:52
If you're going to use a custom score anyway (which you probably need if you want a leaderboard), why do you want to use a death counter?

What do you mean by "Flag carrier"? Do you mean that each team has a worker unit that carries a flag, and the other team gets a point whenever they kill that unit carrying the flag? Or do you mean that each team has to bring back the flag to their home base, and the player who is carrying the flag is the "Flag carrier"?
Please be more descriptive of your game.

If you're using a kills leaderboard for kills of "Flag carrier", then you can set the Kills leaderboard to only count kills of Flag carriers and no other units. You don't need a death counter.

If you're using a custom scoreboard, then you have to have triggers that add to the scoreboard every time a flag is captured or killed or whatever. In this case, use "Set Score". You don't need a death counter in this case either.
Next Page (1)