READ THE TUTORIAL / DOCUMENTATION HERE: https://docs.google.com/document/d/1-oMLkWHBhfN6a3a5aEZU6X02lY4aZE52nZRtrvIe4cM/edit?usp=sharing
Video Tutorial:
https://www.youtube.com/watch?v=DaMLNfOR6KU
A blender script that automatically generates a skeleton for an s3o imported model for SpringRTS animation
Usage:
-
Register the script with blender 2.80+
-
Select the collection where the root piece (pelvis/base) of the model is. Make sure it's within a collection.
-
Hit Tab, type "Apply Rotation", and select Object > Apply > Rotation & Scale
-
Press the "Create Skeleton" button
-
You can now go into Pose mode and flail the appendages around.
-
If you keep enabled "Add IK targets to chains", the addon will setup up inverse kinematics automagically for you, so you can rotate chains from a controller at its tip. If that fails for some reason, I recommend watching this video, in 5 minutes it will explain things better than I ever could:
https://www.youtube.com/watch?v=gH5uATTTYB4
-
Export to BOS, LUS (Lua Unit Script) or LUS Tween format by clicking the bottom buttons. The script will be created right next to where the current blender file is saved.
- For videos showcasing the entire production workflow from a blender model, to animating it, exporting and integrating it in SpringRTS (with the SpringTweener library), check the three videos which start here: https://www.youtube.com/watch?v=W1U3WAbjXss
-
Enjoy!