So far, I've made a basic ability copied on the explosive barrel behavior, thus making my flagship unit explode on death. All is well for now...
But, I'm rather unsatisfied with such a simple mechanic and by the lack of visual. I want to make an ability that make the unit invulnerable at 5% hp, wait 5 sec (and play some visual on the dying unit) and then violently explode.
I'm kinda uncertain on how to achieve this. I would start by the same behavior, but adding it a "less then 5% hp" validator. Then the behavior would give a periodic behavior that would make the unit invulnerable 10 sec, then apply a damage effect with visual.
I think I can work out most of the effect ad behavior part, but IDK how to efficiently add nice visual. I would like to mimic a huge explosion (not using the soooo common nuke FX) that goes in every direction like a wave. I tough about making some small fire wall missile behing lunched in all direction around caster unit, but I have no idea how to achieve that. Of course it require missile lunch effect, but I'm unsure if I'm taking the efficient path...
And btw, anybody know a nice shockwave screen deformation FX? (like the psy emitter screen deformation)
I would use a damage response when damage is fatal that makes your unit temporarily invulnerable like that used in the valerian2a mission to stop your heroes dying giving it a cooldown so there wont be many damage response effects handled. Get it to create a persistent effect that can be used for staging various phases of your blowing up, an initial effect that applies a buff that adds invulnerability and disables movement, weapons and abilities and a final effect of suicide. As for your esplosion waves, I do not think the fire wall would look so good since it has a nasty overhang. Go about creating several Site actors which are attached to the origin of the unit and placed at offsets, these will act as your launch and impact sites. Then it is simply a matter of creating action actors for the launches. You could also put in some siege tank blasts created at offsets and rotated accordingly.
Hello guys
So far, I've made a basic ability copied on the explosive barrel behavior, thus making my flagship unit explode on death. All is well for now...
But, I'm rather unsatisfied with such a simple mechanic and by the lack of visual. I want to make an ability that make the unit invulnerable at 5% hp, wait 5 sec (and play some visual on the dying unit) and then violently explode.
I'm kinda uncertain on how to achieve this. I would start by the same behavior, but adding it a "less then 5% hp" validator. Then the behavior would give a periodic behavior that would make the unit invulnerable 10 sec, then apply a damage effect with visual.
I think I can work out most of the effect ad behavior part, but IDK how to efficiently add nice visual. I would like to mimic a huge explosion (not using the soooo common nuke FX) that goes in every direction like a wave. I tough about making some small fire wall missile behing lunched in all direction around caster unit, but I have no idea how to achieve that. Of course it require missile lunch effect, but I'm unsure if I'm taking the efficient path...
And btw, anybody know a nice shockwave screen deformation FX? (like the psy emitter screen deformation)
I would use a damage response when damage is fatal that makes your unit temporarily invulnerable like that used in the valerian2a mission to stop your heroes dying giving it a cooldown so there wont be many damage response effects handled. Get it to create a persistent effect that can be used for staging various phases of your blowing up, an initial effect that applies a buff that adds invulnerability and disables movement, weapons and abilities and a final effect of suicide. As for your esplosion waves, I do not think the fire wall would look so good since it has a nasty overhang. Go about creating several Site actors which are attached to the origin of the unit and placed at offsets, these will act as your launch and impact sites. Then it is simply a matter of creating action actors for the launches. You could also put in some siege tank blasts created at offsets and rotated accordingly.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg