We hate ads too. Simply sign up/log in to remove all ads for free.

Auto-Rigger v1.9 for Biped Models




Description

This script is used to help with creating simple ik rig.py files for biped models.
this script only supports 1-4 spine bones.

About foot roll:

this video demonstrate what the foot roll option does:

(https://www.youtube.com/watch?v=VsaUFuTx7_E)

The foot roll option is only usable if the model has toe bones. as for the axis select your models foot bone in the window and switch to rotation. You should see three colored lines red =' x', blue = 'z' and green ='y'.
Pick the one that lines up with the foot and toe. Make sure the rotation mode is set to local so you don’t make a mistake. This feature is experimental and may not work on all models. if the axis doesn’t line up right with the foot and toe then most likely it won’t work.


you should place the file in either C:\Program Files (x86)\Steam\SteamApps\common\SourceFilmmaker\game\platform\scripts\sfm\animset or C:\Program Files (x86)\Steam\SteamApps\common\SourceFilmmaker\game\workshop\scripts\sfm\animset

This ik rig only works when the model has a pelvis, head, neck, upper leg, lower leg, foot, upper arm, lower arm and hand bones.

-------how to use --------------

  1. Right click on the model animation set and go to rig->click on Auto Rigger
  2. After the window pops up first select the number of spine bones your model has
  3. Then go though each drop menu option and match the right bone names
  4. Once done, click create script and the rig.py should be created and should be listed in the animation set rig option.

The script file will be saved to this path "game\platform\scripts\sfm\animset\rig_model name.py"

Steam workshop page

feel free to modify the script for your own use
if you find any bugs or have suggestions message me.

We hate ads too. Simply sign up/log in to remove all ads for free.

Comments

Thanks, that worked. Any idea what the problem was?

msu355

the "elif" wasn't align with the rest. even though it looked that way in notepad++. you should Go to Preferences in notepad++ -> Tab Settings -> Select Python from the list and check 'Replace by space' that way next time it will align.

Trufflegator

Many thanks, this worked AMAZINGLY!

Just wanted to say thank you!

So far this is working beautifully on most of the bones, but it does seem to have some trouble grabbing the finger bones on some models. I am getting some artifacting when I try to move the hand, and when checked, there are no bones for half of the fingers on one of the hands.

msu355

@SkritchSketch, can you tell me which models so i can fix it.

What a legend! Thank you very much mate, that thing is awesome!

One question though:
Would it be possible to exclude single parts?
For example, rigging spine, arms, fingers but leave the legs as they are?
Would be perfect for logging other models to certain parts.

Cheers

msu355

@IDontKnow, if you just want to rig certain parts then my other rig scripts should take care of that.
https://sfmlab.com/item/1060/
https://sfmlab.com/item/1725/

@msu355
Oh thanks a bunch!
That`s awesome!

Leave a reply


You need to be logged in to leave a comment.



msu355  • msu355

We hate ads too. Simply sign up/log in to remove all ads for free.