SFMLab is currently in READ-ONLY mode

SFMLab will soon be migrated to a new codebase. In preparation for this, we have temporarily disabled some site functionality, namely the features listed below. This is necessary to ensure the move will not lead to accidental data-loss. You should still be able to download existing files available on the site.(although the EU server will suffer from reduced availability)

SFMLab will stay in read-only mode until the end of February, when the migrations are set to conclude.

Support SFMLab on Patreon

Animation Group Editor v1.2


This script is used to help with organizing the animation sets of custom models.
right now this script is in beta so report any problems
the save and open commands will save and open your custom animation sets


How to use

drag n drop the bone name to animation set you want then when your done click update groups and the changes will be added to ""game\platform\cfg\sfm_defaultanimationgroups.txt""
you can also set the color of new animation sets.

this script only supports a 3 layer hierarchy

i.e something similar to this:

group a



---group b



------group c



Important Notes

  1. you cant have the same bone be in more than one set
    (meaning bone x in group Y for one model cant be different for another model, if they share the same bone name)

  2. the order in which the controls appear might be different then what you have in the script.
    this will be fix in a future update.
    A workaround for the time being.

    1. save the full custom set of the model

    2. use the option remove bones from group file(this removes all the models bones from the sfm_defaultanimationgroups.txt file. )

    3. restart the script ,open the saved file, then update groups

  1. group names are not case sensitive
    which means you cant have more than one group with the same name even if they have different parents.
    its not the scripts fault, thats just how sfm is.

  2. how to restore the original group set
    if you what to go back to the original set you had before go to "SourceFilmmaker\game\platform\cfg\" and delete "sfm_defaultanimationgroups.txt" and rename sfm_defaultanimationgroups_original.txt to sfm_defaultanimationgroups.txt

Known bugs

  1. dropping a bone item,and sometimes groups, between the top groups will make it undeletable.
    to fix after trying to delete it just drag any item in the bone panel and it will work.

workshop page: Here

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


How I install it?

IDWOS posted 3 years, 3 months ago

@IDWOS You can install .py files in the SourceFilmmaker/game/platform/scripts/sfm/animset folder. @msu355 In the video tutorial, around 0:31 time mark, you highlighted Body, Arms, Fingers, Legs and Toes, and then they disappear. Did you delete them? If so, why? I'm thinking about giving this script a shot but just needed some clarification on that step in the video. Everything else in the video is pretty much straight forward. Thank you for taking time to make these helpful scripts.

RedHandJob posted 3 years, 2 months ago


@RedHandJob,yes i deleted them, to show that you don't need every group when you update the set. just the ones you want to change.

msu355 posted 3 years, 2 months ago

Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon