Source Filmmaker
834 оценки
Auto-Rigger v1.9 for Biped Models
3
5
   
Награда
Добавяне към любими
В любими
Премахване от любими
Universe: Original IP
Script
Тагове: SFM
Размер на файла
Публикуван на
Обновен на
110.594 KB
17 май 2015 в 19:33
6 септ. 2023 в 15:55
18 бележки за промени ( преглед )

Абониране, за да се свали
Auto-Rigger v1.9 for Biped Models

Описание
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\autorigger\Auto-Rigger.py
534 коментара
Eltup преди 17 часа 
You are a legend - thank you so much for this!!
bainbalba97 4 окт. в 21:36 
Thank you so much for this!!!!!
Ajex [ALIT] 23 септ. в 12:23 
lov u
Major Ocelot 15 авг. в 13:42 
Just downloaded it and it worked out of the box as it were

this just saved my bacon!
Swordman 27 май в 17:10 
This works on a model I'm using, but it compresses all the limbs/brings the hands and feet closer to the body the body and they refuse to move back out. The actual rig bone positions are where they should be. I already tried IK_rigger and followed all the steps but the generated rig would not apply to the model at all.
ScorchedGarbage 12 май в 10:37 
W mod
SeyhSaidKesen_700 8 май в 5:45 
other ik rigs was bad
SeyhSaidKesen_700 8 май в 5:45 
oh thanks it works
OMG Theres A Bear In My Oatmeal!  [автор] 7 май в 13:02 
try my other rig script to see if it works: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=823150917
SeyhSaidKesen_700 7 май в 7:27 
but my game lags when i try to move the fingers