Staredit Network > Forums > SC2 Assistance > Topic: Autocast
Autocast
Mar 29 2017, 8:18 am
By: rockz  

Mar 29 2017, 8:18 am rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

I want to make certain abilities have autocast turned on so that they constantly trigger whenever off cooldown/buff expires.

They are essentially passive abilities (cloak, increased attack speed, decreased damage aura) but apparently adding Stats -> e_abilEffectFlagAutoCast isn't enough.

e_acquireLevelDefensive = Autocast animation shows, never actually autocasts
e_acquireLevelNone = Autocast animation never shows
e_acquireLevelOffensive = Autocast animation shows, never actually autocasts
e_acquireLevelPassive = Autocast animation never shows

If I could duplicate the shield effect from the SFE games, I would use that, but I can't seem to find an unlocked version of the map, hence I can't figure this out at all. Apparently I have to add an instant effect to allow the ability to be autocast?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 29 2017, 8:53 pm Alzarath Post #2

Praetor

You'll need to give it an auto-cast validator, such as Is Dead.

If you want it to always happen no matter what, why not instead use a behavior with a periodic effect?



None.

Mar 30 2017, 12:45 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

I need it to drain energy and be able to turn off. For example, cloak with 12 second duration, 11 second cooldown and increases damage by 50%, or a 10 energy cost buff that increases damage and decreases attack speed with 5 second duration, 5 second cooldown.

I'm also editing an existing map that probably wasn't the best in the world anyway, so a simple autocast modification should fix the issues we have with the current map (Night of the Dead).

Imagine I want to have a Sentry's Guardian Shield be on autocast, so it won't stop casting it until I tell it to or you run out of energy.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 30 2017, 2:47 pm Alzarath Post #4

Praetor

Alright, so have you tried adding an auto-cast validator?



None.

Mar 30 2017, 5:43 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Adding the validator seems to work.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:51 am]
Ultraviolet -- RIVE
RIVE shouted: Beta 4 lyfe, ya kno
feels like a lower commitment. like if someone bitches about something, I can say it's in beta phase whatchu expect? :P
[2023-9-28. : 6:46 am]
RIVE -- Beta 4 lyfe, ya kno
[2023-9-28. : 5:26 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
indeed
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet prediction: It will. ;)
:massimo:
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
[2023-9-28. : 1:12 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet :lol: did you really just commit another shout just to add a bracket? :D
Damn straight! :P
[2023-9-27. : 7:22 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Imp UV3 is actually in the works with some major changes, but it's been slow going. I'd like to have a version of Imp UV for every tileset at one point.. hopefully it doesn't take until 2030 :P
prediction: It will. ;)
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider Oh definitely fully playable. I used the first map as the shell, so it was basically complete from the first release. I've made some tweaks and improvements here and there based on nuances between the maps, like UV2 has more air units so certain ground-focused heroes like Psycho and Shadowcraft have needed some buffing. Other improvements have been little bug fixes or ways of stopping cheese strategies (like the bosses now spawn in a random location instead of at their lair so players can't just camp them with nukes. UV2 is definitely harder despite only being 4 levels + boss fight instead of 5. I'd say it's definitely worth a go, there's some unique mechanics that make each of the levels have kind of their own interesting spin
Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: nukes).* lol
:lol: did you really just commit another shout just to add a bracket? :D
[2023-9-27. : 4:22 pm]
ubtrueblue -- hello
Please log in to shout.


Members Online: Moose, Roy