Support SFMLab on Patreon

Auto-Rigger v1.9 for Biped Models


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

About foot roll:

this video demonstrate what the foot roll option does:


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 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"

Steam workshop page

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



msu355 posted 3 years ago

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

RedHandJob posted 3 years ago


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.

msu355 posted 3 years ago


Many thanks, this worked **AMAZINGLY!**

Trufflegator posted 2 years, 6 months ago

Just wanted to say thank you!

l2nwo posted 2 years, 4 months ago

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.

SkritchSketch posted 2 years, 3 months ago


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

msu355 posted 2 years, 3 months ago

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

IDontKnow posted 2 years, 2 months ago


@IDontKnow, if you just want to rig certain parts then my other rig scripts should take care of that.

msu355 posted 2 years, 2 months ago

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

IDontKnow posted 2 years, 2 months ago

Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon