Source Filmmaker

Source Filmmaker

691 ratings
Auto-Rigger v1.9 for Biped Models
3
3
   
Award
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: SFM
File Size
Posted
Updated
0.103 MB
May 17, 2015 @ 7:33pm
Aug 23, 2017 @ 2:32pm
17 Change Notes ( view )

Subscribe to download
Auto-Rigger v1.9 for Biped Models

Description
This script is used to help with creating the ik rig.py files for biped models.

This script supports 1-4 spine bones.

IF your model is not a biped or is more complex then use one of my other IK-scripts :
IK-Rig script1
IK-Rig script2




**this script has an auto-find feature will automatically select the bones based on common bone names( its not perfect, you still need to check to make sure each bone is the right one)**




***This ik rig only works when the model has a pelvis, head, spine,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 and check the boxs if it has toe and collar bones

3.
Go though each drop menu option and match the right bone names with the bones in your model, make sure you pick the right one.[DONT JUST USE THE DEFAULT BONES THE SCRIPT PICKS, CHECK EACH ONE ]

4. Once done, click create script and the rig file 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"
**********************************************
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.
***********************************************

*****known error****
"__main__:172: RuntimeWarning: Unable to create rig
You generally get this error if you tried to load an IK script onto the model, and that load failed. or the rig name already exist in scene

possible solutions:

1) rename the animation set uniquely before applying the ik rig.





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

Includes:
sfm\animset\auto-rigger.py
< >
466 Comments
OMG Theres A Bear In My Oatmeal!  [author] Jan 19 @ 3:29pm 
there is this script https://steamcommunity.com/sharedfiles/filedetails/?id=216464518 that might work. as for the other thing this script https://steamcommunity.com/workshop/filedetails/?id=823150917 is a bit better for ik rigging
Monkey Butt Gamer Jan 19 @ 10:01am 
Is there a mod that you can add a walking/ running animation to "non" sfm model like team fortress, models that where made else where. Like if this mod can add a feature that would normally be done in blender, to rig the bones then surely one can be done for walking and running.

And i'm finding it hard to use this mod, with a model that has there hair separate from there body as well, the auto feature picks the wrong bones on this one model that was made from.. official digital ero, i've tried to change them to the right bone but, there's some other options that i haven't tried yet tho.
Ludwig, Shadow Protogen Dec 23, 2022 @ 11:17pm 
Does it work if there are more pairs of arms in general?
Like I apply custom rig on first pair, then change and apply the script for second pair.
DAsh ツ Nov 21, 2022 @ 9:46pm 
was wondering if anyone knows why sfm lags to hell when i move some parts of a model with auto rigger applied
♥Xilekai♥ Nov 20, 2022 @ 1:56pm 
I have the issue that Makeins had, but I don't want to verify integrity, this script has never worked once for me.
Bluie inkling Oct 20, 2022 @ 8:59am 
Good afternoon I saw Auto-Rigger v1.9 for Biped Models, but I wanted to know if there's a way to use it on Splatoon 3's Shiver using this Auto-Rigger. As far as I know it worked on Foxy from FNAF and I don't know if it works on other Source Filmmaker models. Could make a video explaining how the Auto-Rigger working in any other models.
The Game Best Sep 10, 2022 @ 6:27pm 
This is what ive needed in life, thank you for making life easier lol
Makeins Aug 30, 2022 @ 9:13am 
I don't recognize it anymore. I have performed a file integrity check... and now everything is working again. :stonks:
Thanks for the answer. xd
OMG Theres A Bear In My Oatmeal!  [author] Aug 30, 2022 @ 8:10am 
@Makeins ,does an error show up in the console when that happens?
Makeins Aug 30, 2022 @ 7:32am 
Until recently, everything worked quite well. And now when you click 'Create Script' nothing happens, and also there is no message about anything at all.
It's funny that at the same time an empty .py file with the name of the specified model appears in the folder with the rigs.