• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[3D Art] Creating a simple Dissipate animation

So, I didn't find any tutorial about Dissipate animation in the Tutorial section.
If you want to add Dissipate animation to a hero unit, I'll show you how.
This works with hero units that have a corpse upon death.

A. Tools required:
- Matrix Eater (Retera Model Studio works just as well)
- A text editor to edit *.MDL such as Notepad++
*You can accomplish this using Mdlvis but personally, I don't recommend Mdlvis. It has a history of random crashes and also breaks vertex normals.

B. Steps:
1. Use Matrix Eater or Retera Model Studio to import the model's own "Death" animation.

a. Change the imported animation's name to "Dissipate" and check the "Reverse" box
LsXnvTM.png
b. On Bones tab, remember to click "Motions from All", otherwise your new animation won't have any frame data
B01Cjsa.png

2. Use a text editor to edit the animation data. You can use Magos's Model Editor for this step but it might not be very efficient if your model has a ton of bones and animation data.
a. Convert the model with new animation to MDL.

b. Use the find function to locate all the frame data of the "Dissipate" animation.
upload_2020-10-10_23-3-10-png.365855
c. Keep only the frame data of the animation's first keyframe, delete all other frame data of that animation in that node. So, for this model, we would keep only the data of frame 31122 and delete all data up to frame 32722.

d. After finishing deleting, look for the root node. This is usually the topmost node in the Node Manager of Magos's Model Editor. Then go to its Translation section.
upload_2020-10-10_23-7-30-png.365856
e. Add a keyframe for the last frame of the "Dissipate" animation. Copy/paste the Translation frame data of the first frame, but edit the Z coords so that the last frame's Z coords is way larger than the first frame's. What this does is make the corpse rise upward by the end of the animation.
upload_2020-10-10_23-9-24-png.365857
f. Make sure that the Interpolation Type of the root node's Translation has been set to Linear. You are basically done.

g. Make sure that the existing Materials and Geosets' visibility take the new animation into account too. Clean up, save the MDL and convert back to MDX.

h. With additional work you can make the unit's corpse spin while dissipating as well.
2020-10-10-23-13-43-gif.365859
 
Last edited:
It's way easier to create a new blank animation in MdlVis and then copy the last frame of the death animation into the first frame of the new Dissipate animation instead of doing step 1a-2c.
Then you don't need to convert to MDL, you can just do the rising part in MdlVis too, or magos/reteras.

I wrote this a little while ago: Dissipate | HIVE
 
Top