I'm trying to understand what data allows to change or modify attack animations. I have duplicated few units but I run into problems with few. For example with Roach unit losts attack animations. I mean, it shoots missiles correctly, even sounds work fine but the Roach itself doesn't have attack animations. For example animation for spitting poison or claw attack for melee weapon. Can anyone lead me to right direction? I'm trying to understand the way from Unit -> Actor -> Weapon -> "Attack" actor -> Effect(s): Damage.
So when it uses the weapon, it plays the attack animation. If you dublicated the weapon at the same time as the unit and actor, then it should be changed automatically, or else you have to fill the fields yourself.
Making some progress. Found the data type finally. When I have duplicated unit / its weapons all actor events are linked to default roach weapon. By changing the weapon you can activate animation again.
- - -
As always all kind of mistakes can happen while duplicating. My goal is very simple - copy of Roach with more damage.
Yes I actually tried it now, and the actor events doesnt automatically switch to teh new weapon, but insted keep the old weapon events. Go in the actor events and you will find two Weapon Start events and two Weapon Stop events, linking to the old standard weapon. Just change the weapon to the new weapon and it works
Ok... I wanted to prove myself that chaning actor events work with all weapons :) Here is Roach Copy with 90mm cannon + Roach default attack animation.
I'm trying to understand what data allows to change or modify attack animations. I have duplicated few units but I run into problems with few. For example with Roach unit losts attack animations. I mean, it shoots missiles correctly, even sounds work fine but the Roach itself doesn't have attack animations. For example animation for spitting poison or claw attack for melee weapon. Can anyone lead me to right direction? I'm trying to understand the way from Unit -> Actor -> Weapon -> "Attack" actor -> Effect(s): Damage.
@Terhonator: Go
Sounds like you didn't duplicate it correctly. If you go to the Roach actor andlook in Events+ you will see for example:
WeaponStart.AcidSaliva.AttackStart
AnimBracketStart Attack Attack
So when it uses the weapon, it plays the attack animation. If you dublicated the weapon at the same time as the unit and actor, then it should be changed automatically, or else you have to fill the fields yourself.
Thanks for reply. I'm was just posting again :)
Making some progress. Found the data type finally. When I have duplicated unit / its weapons all actor events are linked to default roach weapon. By changing the weapon you can activate animation again.
- - -
As always all kind of mistakes can happen while duplicating. My goal is very simple - copy of Roach with more damage.
@Terhonator: Go
Yes I actually tried it now, and the actor events doesnt automatically switch to teh new weapon, but insted keep the old weapon events. Go in the actor events and you will find two Weapon Start events and two Weapon Stop events, linking to the old standard weapon. Just change the weapon to the new weapon and it works
Ok. Working version of Roach Copy. Tried to duplicate few ways but the wrong weapon is still copied to actor events.
Anyway, here's working version.
Ok... I wanted to prove myself that chaning actor events work with all weapons :) Here is Roach Copy with 90mm cannon + Roach default attack animation.