Where is the difference lies? Why does siege tank causes marine ragdoll death, and the damage effect I created - doesn't? I'd like it to, but what should I change?
There is field named "(Basic) Death" located in the damage effect. It allows you to set what type of death animation is to be played on the unit that is killed by the effect. Set it to Blast to get ragdoll death caused by the siege tank.
It is a mix of the action actor and the unit actor
In the unit actor, you can set custom deaths. One key property is that you can set the death to use a specific model actor. In that actor, you can add events for creating force actors on that model actor on creation. There is a template/default called Unit Death Ragdoll, so you will want to use that when creating you custom model actor.
So you need to send a custom death. What Blizzard did is add a macro to cover most of the common things, like siege tanks. These are found in PhysicsDeathsSwarmGround.
Now, you don't need to create force actors in the ragdoll model actor. The action actor will have a message that creates force actors on the target, and those force actors can be specified in the action actor under Impact Physics.
So for your damage effect to cause ragdolls, you need to make sure the marine actor is set to use its ragdoll model when it is killed by your effect.
Where is the difference lies? Why does siege tank causes marine ragdoll death, and the damage effect I created - doesn't? I'd like it to, but what should I change?
There is field named "(Basic) Death" located in the damage effect. It allows you to set what type of death animation is to be played on the unit that is killed by the effect. Set it to Blast to get ragdoll death caused by the siege tank.
@Zolden: Go
It is a mix of the action actor and the unit actor
In the unit actor, you can set custom deaths. One key property is that you can set the death to use a specific model actor. In that actor, you can add events for creating force actors on that model actor on creation. There is a template/default called Unit Death Ragdoll, so you will want to use that when creating you custom model actor.
So you need to send a custom death. What Blizzard did is add a macro to cover most of the common things, like siege tanks. These are found in PhysicsDeathsSwarmGround.
Now, you don't need to create force actors in the ragdoll model actor. The action actor will have a message that creates force actors on the target, and those force actors can be specified in the action actor under Impact Physics.
So for your damage effect to cause ragdolls, you need to make sure the marine actor is set to use its ragdoll model when it is killed by your effect.
@Prodigy454: Go
Yea, that was my first idea, and it did nothing about ragdoll.
@ArcaneDurandel: Go
Thank you for the comprehensive answer, it worked.