I'm trying to make an ability that triggers every .5 seconds, but what I need is for it to remove the buff each time before triggering the next pulse.
To explain further, think Psionic Storm that also stuns, but I only want the stun to last .5 seconds, then wait 1 second before stunning again (while also dealing damage). I've got the damage part down, the stun and it triggers 5 times like I want. I just can't figure out how to remove the buff for .5 seconds before it triggers the effect again.
Also, as an addendum.. how the HELL do you add cooldowns to abilities? I can't find the part in Psionic Storm to see where the hell the cooldown was added.
EDIT: And one last thing.. I made a copy of Psi Storm from scratch (created each effect myself, no actual copypasta), but the ring around the unit to show the range doesn't show up. Where can you add this?
I'm trying to make an ability that triggers every .5 seconds, but what I need is for it to remove the buff each time before triggering the next pulse.
To explain further, think Psionic Storm that also stuns, but I only want the stun to last .5 seconds, then wait 1 second before stunning again (while also dealing damage). I've got the damage part down, the stun and it triggers 5 times like I want. I just can't figure out how to remove the buff for .5 seconds before it triggers the effect again.
Also, as an addendum.. how the HELL do you add cooldowns to abilities? I can't find the part in Psionic Storm to see where the hell the cooldown was added.
EDIT: And one last thing.. I made a copy of Psi Storm from scratch (created each effect myself, no actual copypasta), but the ring around the unit to show the range doesn't show up. Where can you add this?
I would use a dummy behavior that is applied when the "Stun" behavior is removed. Call it "Stun Immunity" or something. Then just add a validator to the stun effect that checks that the unit doesn't have the immunity behavior. I believe behavior validator is the same way they made the stun immunity for the Infestor's Frenzy, but I'm not sure.
The cooldown is very easy, check out the "Cost - Cooldown" field in the ability data.
The targeting ring is called a "Splat." Splats are a type of actor object. Just like any other actor, they have particular events which they respond to. Check out MassRecallCursorSplat and PsiStormCursorSplat. Both of these use the same UI splat, but at a different scale. You can just open the events fields on the PsiStorm one and add in your own psi storm event. I'm not completely sure what makes these splats scale differently, because their data looks the same, but if you aren't changing the size of the effect, then the splat doesn't need to change either.
Thanks for the replies. I'll give that dummy ability a try.
Cooldown was very easy.. I was looking at the wrong thing. I was under the charges part without realizing it.
The targeting ring I'm referring to is the dotted line ring that surrounds a unit to show how far their range is for an ability, not the cursor ring to choose a location. I've already got the cursor selection situated, and know how it works. It changes size according to the "search" effect added to it.
Now I've got kind of a new problem. I've added 2 abilities (one is that stun one, the other is a custom blink ability) to a High Templar, but if I try to cast one then another, the second one doesn't cast (even though the unit turns to the location) and I have to cast it again. However, if I wait a few seconds between casting, it's fine. What can I edit to make it so spells/abilities are castable with no pause between them?
>Also, whenever I cast the modified blink, the HT just stands there for a second after casting, but the Stalker can immediately move after casting it. Why?
Found it, "Effect - Clear Order Queue" needs to be disabled.
Ah, the ring that shows the range is controlled by the PsiStormRange actor. Just add events to it for your custom ability. If you changed the range, you need a different range actor though. The Range actor links to an ability, behavior, or weapon to determine the radius that it should show.
The second issue seems unusual. Do either of the abilities in question have a cooldown? It may be an issue with the cooldowns having the same Link, although in that case I think they would both show the cooldown instead of letting you try and then just failing.
I'm trying to make an ability that triggers every .5 seconds, but what I need is for it to remove the buff each time before triggering the next pulse.
To explain further, think Psionic Storm that also stuns, but I only want the stun to last .5 seconds, then wait 1 second before stunning again (while also dealing damage). I've got the damage part down, the stun and it triggers 5 times like I want. I just can't figure out how to remove the buff for .5 seconds before it triggers the effect again.
Also, as an addendum.. how the HELL do you add cooldowns to abilities? I can't find the part in Psionic Storm to see where the hell the cooldown was added.
EDIT: And one last thing.. I made a copy of Psi Storm from scratch (created each effect myself, no actual copypasta), but the ring around the unit to show the range doesn't show up. Where can you add this?
I would use a dummy behavior that is applied when the "Stun" behavior is removed. Call it "Stun Immunity" or something. Then just add a validator to the stun effect that checks that the unit doesn't have the immunity behavior. I believe behavior validator is the same way they made the stun immunity for the Infestor's Frenzy, but I'm not sure.
The cooldown is very easy, check out the "Cost - Cooldown" field in the ability data.
The targeting ring is called a "Splat." Splats are a type of actor object. Just like any other actor, they have particular events which they respond to. Check out MassRecallCursorSplat and PsiStormCursorSplat. Both of these use the same UI splat, but at a different scale. You can just open the events fields on the PsiStorm one and add in your own psi storm event. I'm not completely sure what makes these splats scale differently, because their data looks the same, but if you aren't changing the size of the effect, then the splat doesn't need to change either.
Thanks for the replies. I'll give that dummy ability a try.
Cooldown was very easy.. I was looking at the wrong thing. I was under the charges part without realizing it.
The targeting ring I'm referring to is the dotted line ring that surrounds a unit to show how far their range is for an ability, not the cursor ring to choose a location. I've already got the cursor selection situated, and know how it works. It changes size according to the "search" effect added to it.
Now I've got kind of a new problem. I've added 2 abilities (one is that stun one, the other is a custom blink ability) to a High Templar, but if I try to cast one then another, the second one doesn't cast (even though the unit turns to the location) and I have to cast it again. However, if I wait a few seconds between casting, it's fine. What can I edit to make it so spells/abilities are castable with no pause between them?
>Also, whenever I cast the modified blink, the HT just stands there for a second after casting, but the Stalker can immediately move after casting it. Why?Found it, "Effect - Clear Order Queue" needs to be disabled.
@Psiclone01: Go
Ah, the ring that shows the range is controlled by the PsiStormRange actor. Just add events to it for your custom ability. If you changed the range, you need a different range actor though. The Range actor links to an ability, behavior, or weapon to determine the radius that it should show.
The second issue seems unusual. Do either of the abilities in question have a cooldown? It may be an issue with the cooldowns having the same Link, although in that case I think they would both show the cooldown instead of letting you try and then just failing.
Alright, I figured out how to remove the stun and make it into like a pulsating ability.
Just set 2 search effects to the persistent effect, and have the second search remove the buff. Works like a charm.
Video demonstration: (still processing)