Title pretty much says it all. I've been working on this custom capitol ship for fun but I'm having difficulties adding a death animation. I've spent hours buzzing through the data files, looking at how other units have it done, and google searching but to no avail.
So how do you add a death animation? Also, is it possible to have more than one death animation play when the unit dies? I need 3 death animations because the main model is composed of 3 different models molded together (not done through triggers; done through data. :) ).
That ultimately depends on the used model. Some models have in-build death animations, some use separate model files and some don't have any.
The first ones should work for units without any change, usually, for attachments just make sure you don't just destroy them on unit death, but close their animation bracket instead, so they will play their death animation.
The second ones need to be set up in the actor of the unit, there is a field which lets you define a separate model for all kinds of deaths, like fire or acid etc. For attachments, you can either perform a model swap on death or create another actor using the death model.
The third type... well, you don't have a specific death animation for the model, so you would either need to make one by creating/modifying the model file, or you could use some generic explosion or death animation of a similar unit instead, which you would handle the same way as #2 does it.
Well I have been looking into the death animations for the specific models I used, which all have their own separate animations rather than built in ones.
The three models I used were:
Tempest
Carrier
Phoenix
I have tried creating actors for each of the death animations (as was done with the Carrier and the Zealot (trying to copy to see if I can get similar results)) but still at no avail.
I guess 3 full animations together is a bit on the rough side. You said I could do two though... I can make that enough. I really just want some pieces flying and an explosion (a big one) to go with it. I don't care for other animations like fire death or acid animations; it can all be the same.
Anyway, I did in fact create an actor for the death animation, set as a model to play the death animation (I chose the Tempest death animation as the base for the entire death animation). Upon trying to add the death actor under Combat: Custom Death + and under Combat: Death Actor Model, I still don't get any animation (just vanishes) when I test it. I'm clearly doing this wrong.
Also, I was hoping for a more... Step by step type post. xD (Your's is good but because of my own stupidity, I need more. xD)
Also, mind my stupidity with the editor lol. I'm still learning it and basically right now the only things I can do are create custom units (not weapons or abilities though, but this does include actors, models (except the death animation), sounds, textures, and all that other data stuff, including using the data editor to attach models to other models (which I have fallen in love with xD)) And just in case you're wondering, I have fully figured out how to copy current weapons and abilites and add them to my units WITHOUT the copies having ANY effect on the original abilities/weapons or the original units they go with. So yeah... I'm a big noob. xD I keep telling myself though that the only way I'm gonna get better is practice and plenty of reading and also spending time on these forums. :)
Title pretty much says it all. I've been working on this custom capitol ship for fun but I'm having difficulties adding a death animation. I've spent hours buzzing through the data files, looking at how other units have it done, and google searching but to no avail.
So how do you add a death animation? Also, is it possible to have more than one death animation play when the unit dies? I need 3 death animations because the main model is composed of 3 different models molded together (not done through triggers; done through data. :) ).
Thanks ahead of time if you can help! :P
That ultimately depends on the used model. Some models have in-build death animations, some use separate model files and some don't have any.
The first ones should work for units without any change, usually, for attachments just make sure you don't just destroy them on unit death, but close their animation bracket instead, so they will play their death animation.
The second ones need to be set up in the actor of the unit, there is a field which lets you define a separate model for all kinds of deaths, like fire or acid etc. For attachments, you can either perform a model swap on death or create another actor using the death model.
The third type... well, you don't have a specific death animation for the model, so you would either need to make one by creating/modifying the model file, or you could use some generic explosion or death animation of a similar unit instead, which you would handle the same way as #2 does it.
Hope that helps
Well I have been looking into the death animations for the specific models I used, which all have their own separate animations rather than built in ones.
The three models I used were:
I have tried creating actors for each of the death animations (as was done with the Carrier and the Zealot (trying to copy to see if I can get similar results)) but still at no avail.
I guess 3 full animations together is a bit on the rough side. You said I could do two though... I can make that enough. I really just want some pieces flying and an explosion (a big one) to go with it. I don't care for other animations like fire death or acid animations; it can all be the same.
Anyway, I did in fact create an actor for the death animation, set as a model to play the death animation (I chose the Tempest death animation as the base for the entire death animation). Upon trying to add the death actor under Combat: Custom Death + and under Combat: Death Actor Model, I still don't get any animation (just vanishes) when I test it. I'm clearly doing this wrong.
Also, I was hoping for a more... Step by step type post. xD (Your's is good but because of my own stupidity, I need more. xD)
Also, mind my stupidity with the editor lol. I'm still learning it and basically right now the only things I can do are create custom units (not weapons or abilities though, but this does include actors, models (except the death animation), sounds, textures, and all that other data stuff, including using the data editor to attach models to other models (which I have fallen in love with xD)) And just in case you're wondering, I have fully figured out how to copy current weapons and abilites and add them to my units WITHOUT the copies having ANY effect on the original abilities/weapons or the original units they go with. So yeah... I'm a big noob. xD I keep telling myself though that the only way I'm gonna get better is practice and plenty of reading and also spending time on these forums. :)