The goal is to make building have ability that will destroy it and hurt all enemies around. What would you propose to achieve it? Its crucial to make it look good (building destruction animation + some explosion animation), and be effective (aoe dmg to all enemies).
Thanks in advance for all suggestions, especially the simple ones :)
Make a new ability and let it apply a timed-life buff on the caster (look at MULEs or Infested Marines).
The buff lasts like 5 seconds (destruction preparation) and have it apply an aoe damage effect as the expire effect.
Then look for some nice detonation sfx to go with it. I do like the Terran Detonation Small (I think thats how it was named). It's a nice ball of fire with junk parts flying around.
@s3rius: Go
Thanks s3rius, it sounds good.
But could you guide me a bit? I have never done abilties from a scratch, and dont knwo how to start. :S
What i can do is modify other abilities, adjust them a bit. And im ashamed to say, but when i cant go trough soem problem with data editor, i just use triggers to do the job around, but in this particular case i believe its crucial to have it in data editor, especially with this timed life, cause triggers would do a mess in this case.
Just copy existent abilites en masse.
Stimpack as the ability
Any Timed Life buff (e.g. of MULE) as the buff
For the damage effect you can use the CrucioSiegeTank (and it's sfx actor for the explosion sfx).
Ok i have copied defensive matrix (cause im scared of copying stimpack to not brake the original stimpack - which happened to me once one i copied marine unit. And i do have marines on map, but dont have battlecruiser, so... :P its safer), and now removed matrix effect, added timed life effect. But how to make the crucio tank splash dmg to happen after timed life ends?
You add it to the Timed-Life behavior's Expire Effect. By default there is the Timed-Life Fate effect in there (which kills the unit).
Since you want to keep the kill effect, you'll need to make a new effect (of type Set) and add your Damage effect and the Timed-Life Fate effect into it (again, you can also just copy some set effect). Then you add this Set-Effect to the Expire Effect of the timed-life.
btw. While we are at the Crucio splash dmg. Do you know why it have 3 kind of dmg effects? I mean:
1. blast
2. friendly dmg
3. enemy dmg
And they all can be adjusted to deal more or less dmg... I can udnerstund difference in friendly and enemy dmg adjustment, but what this 3rd is used for?
edit: ah ok nvm.. they are not active by default anyway. They were just linked.
Hmm... there is a problem... Seems its not being shown to other players (the timed life effect). So they suddenly see explosion. How to make this timed life bar being shown to everyone?
edit: ok i have used Raynor's D8 inseatd of brodling timed life :) Now everyone see the effect :)
The goal is to make building have ability that will destroy it and hurt all enemies around. What would you propose to achieve it? Its crucial to make it look good (building destruction animation + some explosion animation), and be effective (aoe dmg to all enemies).
Thanks in advance for all suggestions, especially the simple ones :)
Make a new ability and let it apply a timed-life buff on the caster (look at MULEs or Infested Marines). The buff lasts like 5 seconds (destruction preparation) and have it apply an aoe damage effect as the expire effect.
Then look for some nice detonation sfx to go with it. I do like the Terran Detonation Small (I think thats how it was named). It's a nice ball of fire with junk parts flying around.
@s3rius: Go Thanks s3rius, it sounds good.
But could you guide me a bit? I have never done abilties from a scratch, and dont knwo how to start. :S
What i can do is modify other abilities, adjust them a bit. And im ashamed to say, but when i cant go trough soem problem with data editor, i just use triggers to do the job around, but in this particular case i believe its crucial to have it in data editor, especially with this timed life, cause triggers would do a mess in this case.
Just copy existent abilites en masse. Stimpack as the ability Any Timed Life buff (e.g. of MULE) as the buff For the damage effect you can use the CrucioSiegeTank (and it's sfx actor for the explosion sfx).
@s3rius: Go
Ok i have copied defensive matrix (cause im scared of copying stimpack to not brake the original stimpack - which happened to me once one i copied marine unit. And i do have marines on map, but dont have battlecruiser, so... :P its safer), and now removed matrix effect, added timed life effect. But how to make the crucio tank splash dmg to happen after timed life ends?
You add it to the Timed-Life behavior's Expire Effect. By default there is the Timed-Life Fate effect in there (which kills the unit).
Since you want to keep the kill effect, you'll need to make a new effect (of type Set) and add your Damage effect and the Timed-Life Fate effect into it (again, you can also just copy some set effect). Then you add this Set-Effect to the Expire Effect of the timed-life.
@s3rius: Go
Where do i find the place to add "expire effect"?
edt: ahh... the behavior... ok let me check it out again :P
@Azzaaer: Go
It works! Damn! Its works so nicely! Thanks for help with that and teaching me how to create such stuff :D Thanks a lot!
@Azzaaer: Go
btw. While we are at the Crucio splash dmg. Do you know why it have 3 kind of dmg effects? I mean:
1. blast
2. friendly dmg
3. enemy dmg
And they all can be adjusted to deal more or less dmg... I can udnerstund difference in friendly and enemy dmg adjustment, but what this 3rd is used for?
edit: ah ok nvm.. they are not active by default anyway. They were just linked.
@Azzaaer: Go
Hmm... there is a problem... Seems its not being shown to other players (the timed life effect). So they suddenly see explosion. How to make this timed life bar being shown to everyone?
edit: ok i have used Raynor's D8 inseatd of brodling timed life :) Now everyone see the effect :)