Staredit Network

Staredit Network -> UMS Assistance -> Uncloaking Units
Report, edit, etc...Posted by CeR on 2005-01-30 at 11:22:15
Hey guys I need you all for help me.
I don't know to do something.
I am making a map: "Alien Vs Predator".

In this map, you can cloak the predators (The trigger change the zeas by Dt).
So, I want to uncloak (change Dt by zeas) when you kill a unit.
The problem (I think) is the triggers, because I can make 999999 trigers same this:

Trigger
Description:
Player
Conditions:
¤ Kill 1 unit
Actions:
¤ Change Dark T. by Zea

and another with 2 kills at "Condition" and another with 3 kills at condition and infinitelly.
But this isn't the reason. Howeber, I don't know other way to do it.

Anybody help me? mellow.gif
Report, edit, etc...Posted by Urmom(U) on 2005-01-30 at 11:29:00
use kill score so you can set it back without having to do all those triggers.

null
Trigger
Conditions:
¤ Current Players kill score is at least 1
Actions:
¤ Set kill score to 0
¤ Change Dark T. by Zea
¤ Preserve Trigger

Report, edit, etc...Posted by terrenblade on 2005-01-30 at 14:06:38
Exactly right urmom But you forgot his skill level.

to elaborate, instead of using 'condition: kills ##'
use 'Condition: kill score atleast 1' 'Action:set killscore to 0'
if you need him to decloak if he kills a building as well, make it kills and razings instead of kills.
Report, edit, etc...Posted by CeR on 2005-01-30 at 17:56:02
Ok, thank you. But I dont want to kill buildings, only another units.
The score for kill a unit an for kill a Hero is the same?

If you kill one Marine, the score set +1.
If you kill one Kerrigan, Do the score set +1?

This information help me very much, thx all. cool1.gif
Report, edit, etc...Posted by RexyRex on 2005-01-31 at 10:44:17
Yes, heros die as if they were just someone else.
But actually...some units are worth different values.

So I'd use death counters:

Kills score is 1
Set deaths for current player add 1 to "Unit thats never killed"
Set Kills to 0
Preserve Trigger.
Report, edit, etc...Posted by CeR on 2005-01-31 at 12:15:44
QUOTE(RexyRex @ Jan 31 2005, 10:44 AM)
Yes, heros die as if they were just someone else.
But actually...some units are worth different values.

So I'd use death counters:

Kills score is 1
Set deaths for current player add 1 to "Unit thats never killed"
Set Kills to 0
Preserve Trigger.
[right][snapback]135771[/snapback][/right]


I don't know why use this:

"Set deaths for current player add 1 to "Unit thats never killed"

I'd made like urmon said me.


Report, edit, etc...Posted by Urmom(U) on 2005-01-31 at 16:40:25
QUOTE(CeR @ Jan 30 2005, 05:56 PM)
Ok, thank you. But I dont want to kill buildings, only another units.
The score for kill a unit an for kill a Hero is the same?

If you kill one Marine, the score set +1.
If you kill one Kerrigan, Do the score set +1?

This information help me very much, thx all.  cool1.gif
[right][snapback]135465[/snapback][/right]


units have different kill score values. there is a list in the tutorials section. heroes tend to be worth more kill score than regular units. people use this in kills to cash methods because they can pretty much detect what the player killed. other ktc just use in the conditions "current players kill score is at least 1" so that it affects all the units. hope you kind of understand this. mellow.gif
Report, edit, etc...Posted by CeR on 2005-02-01 at 03:28:09
QUOTE(urmom @ Jan 31 2005, 04:40 PM)
units have different kill score values.  there is a list in the tutorials section.  heroes tend to be worth more kill score than regular units.  people use this in kills to cash methods because they can pretty much detect what the player killed.  other ktc just use in the conditions "current players kill score is at least 1" so that it affects all the units.  hope you kind of understand this. mellow.gif
[right][snapback]135926[/snapback][/right]


Ok. I have use this method to detect when the player kill an unit. This found so good, but one think more:


Trigger
Description:
Uncloak when u kill
Conditions:
¤ Score at least 1
¤ Command Shuttle at "Cloak"
Actions:
¤ Set score to 0
¤ Move Shuttle to "Uncloak"
¤ Message: "You lost your cloak because you have kill"


In my map, I use a Shuttle to turn ON and OFF the cloak sistem. When the triggert detect one kill, it just move the shuttle to "OFF"
But, this trigger not found as well. They give me the 10 "You lost your..." message, and later, uncloak the units.
I use hyper triggers and I think that's why it found bad.

¿Any idea?
----------------------------------------------------------------------------------
Por si no se me ha entendido:

El mensaje del trigger me lo da 10 veces antes de descamuflar las unidades.
Pienso que es por el hyper trigger, pero se supone que al no haber una shuttle en "Cloak" no deberia cumplirse mas de una vez el iniciador.
Report, edit, etc...Posted by terrenblade on 2005-02-01 at 09:22:45
Are you using the 'teliport (move units)' action, or the 'order units:move' action?
It would works best with the teliport one. With your other problem I dont have a clue, based on the info you've given us, what could be wrong. If you wanted to upload the map, or even the triggers file, I or some one faster then me could take a look at it and tell you exactly the problems. And no hyper triggers should not be making a trigger like that one repeat it's self many times.
Report, edit, etc...Posted by CeR on 2005-02-01 at 11:16:52
Here, the triggers I use to change DT by Zeas and Zeas by DT
Report, edit, etc...Posted by terrenblade on 2005-02-01 at 23:09:09
In boath forces, your seting the kill score to 1 instead of zero, but the requirment is that it be atleast 1...

What I'd suggest, is cut out the middle triggers, have the decloak trigger be a copy of the outher decloak trigger, with difrent actions.

inouther words, when the player kills something, and commands a zellot kill the zellot and observer then create the shuttle/DT and all gives you the same effect, with fewer triggers.

Oh, and if your looking for someone to port the map to english, I could do that.
just wondering, it looks like fun.
Report, edit, etc...Posted by CeR on 2005-02-02 at 03:57:36
QUOTE(terrenblade @ Feb 1 2005, 11:09 PM)
In boath forces, your seting the kill score to 1 instead of zero, but the requirment is that it be atleast 1...

What I'd suggest, is cut out the middle triggers,  have the decloak trigger be a copy of the outher decloak trigger, with difrent actions.

inouther words, when the player kills something, and commands a zellot kill the zellot and observer then create the shuttle/DT and all gives you the same effect, with fewer triggers. 

Oh, and if your looking for someone to port the map to english, I could do that.
just wondering, it looks like fun.
[right][snapback]136785[/snapback][/right]


Sorry.... but I don't understand anything... It maybe 'cause i'm very sleep.... confused.gif

----------------------------------------------------------------------------------------------------------------------

Algun tio que sepa español que me haga el favor de traducirme eso. Clork_, tu mismo wink.gif xD
Va a ser que estoy to dormio, es aqui por la mañana.
Next Page (1)