Staredit Network

Staredit Network -> UMS Assistance -> kills to cash
Report, edit, etc...Posted by sharf on 2006-03-01 at 21:15:51
ok i am making a game like maze defense, the trigger



cond.
kills score atleast 1

act.
set kill score -1
set mins +1
preserve

now it doesnt work for me not the problems sugested i the tuts. I get 1 kill and my mins keep going up by 1 about every half second, now in maze defense he uses same trigg as me( i took his word or word) and it works perfectly in his map but in mine its worthless, can anyone help me out? Do i need an editer?

i have xtra edit sf 2.2 uber.
Report, edit, etc...Posted by Noober on 2006-03-01 at 21:22:56
Current player kill score is at least 1.
====
Set current player's kills score to 0.
Add 1 mineral for current player.
Preserve.
Report, edit, etc...Posted by sharf on 2006-03-01 at 21:26:29
well yes but then if u kill multiple guys at once it doesnt give youu full credit, also im tryign to get MY trigger to work,.
Report, edit, etc...Posted by Fwop_ on 2006-03-01 at 21:35:16
The way your doing it, the triggers won't be as accurate. So, either do the perfect kills to cash or just don't worry about a player killing multiple units at once. If you use hyper triggers, it will help you tremendously.
Report, edit, etc...Posted by sharf on 2006-03-01 at 21:37:43
ok first the perfect one never worked for me also im using hypers im wondering if a special editer could be why it doesnt work for mine?
Report, edit, etc...Posted by Noober on 2006-03-01 at 21:47:37
All triggers, regardless of the editor, are same, unless you type something wrong in SF/SCMD.
Report, edit, etc...Posted by sharf on 2006-03-01 at 21:49:54
well im just wondering y the same thing works in that game but not in mine, ive check the entire map... pinch.gif
Report, edit, etc...Posted by whiteninja2 on 2006-03-02 at 01:31:32
your trigger subtracts 1 kill point

lets say i kill a zealot

then i get 200 kill points = 200 minerals

thats why you need to set the kill point to 0
Report, edit, etc...Posted by sharf on 2006-03-02 at 13:34:11
ok the thing is theres one trigger in a map and it works fine how do i make it work like that?

ADDITION:
well if this wont work can someone find me a similar way to do this? or a similar thing?
Report, edit, etc...Posted by Kyuubi. on 2006-03-02 at 13:46:35
i have an old method that might help...this system is pretty effective,all you have to do is change them around to your liking...

For leaderboard:
-Set the Leaderboard to 'points'
-Set the score type to 'Custom'

Scoring:
Players:
-Current Player()
Conditions:
-Player 'kill and razings' score is 'at least 1'
-Player 'kill and razings' score is 'at most 50'
Actions
-Set 'Current Player' Score(Kill and razings) to 0
-Add 'Current Player' Score(Custom) to 'Whatever points for killing a zergling'
-Set Resources for current player (add 1 ore)
-Preserve trigger

You can change the score types around..
Everytime they kill something like a zergling they'll gain 1 mineral...you also might have to hyper trigger it...you might also have to add in the othe triggers for the unit kills score....
Report, edit, etc...Posted by Urmom(U) on 2006-03-02 at 18:34:16
QUOTE(sharf @ Mar 2 2006, 02:34 PM)
ok the thing is theres one trigger in a map and it works fine how do i make it work like that?

ADDITION:
well if this wont work can someone find me a  similar way to do this? or a similar thing?
[right][snapback]437616[/snapback][/right]

We've told you already to try out Noober's trigger. That is the 'one trigger' that you are talking about.
Report, edit, etc...Posted by sharf on 2006-03-02 at 19:52:10
ok first of that trigger keeps multiple kills at once from working also, i can show you teh exact map that it works in. so dont tell me it doesnt work i want to know Y it wont work and how i can fix it.
Report, edit, etc...Posted by Phant on 2006-03-02 at 20:27:00
QUOTE(sharf @ Mar 3 2006, 01:52 AM)
ok first of that trigger keeps multiple kills at once from working also, i can show you teh exact map that it works in. so dont tell me it doesnt work i want to know Y it wont work and how i can fix it.
[right][snapback]437908[/snapback][/right]


So plz DO IT. Show us the map it worked in.
I'm interested also.

At your triggers:
You kill 1 unit, get 200 kill score
so your trigger needs 200 times to subtract it back to 0
that means you will get 200 times every half second 1 mineral.

And NO. It is NOT POSSIBLE to make a 100% perfect killcounting system without ways too much effort at the moment.

So keep a good approximation and watch for different killscores for the different units and for some values beyond it and set it to 0 after you are finished. biggrin.gif
Report, edit, etc...Posted by sharf on 2006-03-02 at 21:11:57
well first i have an idea to fix it im just getiugn it as i type so im gona try that and whiel i do some one tell me how to post the game here?

ADDITION:
ok IT WORKS at least in single player...

here it is


null
Trigger
Players:
¤ who ever
Conditions:
¤ kill score is atleast 1
¤ p8 has at elast 1 death
Actions:
¤ set deaths for p8 to -1
¤ set kill score for whoever to -1
¤ set mins to +1
¤ preserve

it friggen works w00t.gif
Report, edit, etc...Posted by Urmom(U) on 2006-03-02 at 21:16:13
QUOTE(sharf @ Mar 2 2006, 08:52 PM)
ok first of that trigger keeps multiple kills at once from working also, i can show you teh exact map that it works in. so dont tell me it doesnt work i want to know Y it wont work and how i can fix it.
[right][snapback]437908[/snapback][/right]

We've told you why it won't work and we've given you the one Noobie posted. And sharf, that's only working because it's detecting the unit death, you still need to Set it to 0.
Report, edit, etc...Posted by sharf on 2006-03-02 at 21:18:40
first who cares if i need to set it to zero if it works im happy also uve told me y u think it wotn work i wanna know y it works in his game but not in mine.(THE SAME EXACT ONE)
Report, edit, etc...Posted by HolySin on 2006-03-02 at 21:28:21
It depends, where did you put the hypertriggers?
Report, edit, etc...Posted by sharf on 2006-03-02 at 21:34:05
hyper triggs dont do anythign except screw it up faster but i found a perfect one even in multy do my trigegr i have before but instead of settign it to -1 kills set it to 0 kills( thx urmom)
Next Page (1)