Source Filmmaker

Source Filmmaker

126 ratings
Animation Set Group Editor v1.2
   
Award
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: SFM
File Size
Posted
Updated
69.838 KB
10 Jul, 2015 @ 7:21am
18 May, 2020 @ 5:14am
4 Change Notes ( view )

Subscribe to download
Animation Set Group Editor v1.2

Description
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.

rebuild the model's control groups to see the changes.

this script only supports a 3 layer hierarchy

i.e something similar to this:

group a
-bone
-bone

---group b
-----bone
-----bone

------group c
-------bone
-------bone



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

  3. 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.
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
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.



feel free to modify the script for your own use
if you find any bugs please link the model,and your sfm_defaultanimationgroups.txt in the comments below

Includes:
sfm\animset\animation group editor\animation group editor.py
Popular Discussions View All (3)
2
22 Oct, 2015 @ 7:46am
Solving A Problem
Belarhos
1
13 Jun, 2018 @ 11:17pm
Undo
Apollygon
0
1 May, 2022 @ 6:23pm
Crashes upon starting up script
inCawHoots
72 Comments
Famix 23 Jan @ 6:01pm 
I've noticed a tendency for it to put new animationgroups in a folder in the heiarchy I don't select, and sometimes it crashes when I press new. However, I still find this to be essential for anyone who takes SFM seriously, as it helps organize
Famix 23 Jan @ 6:00pm 
Whoppermac, you'll need to delete any animationgroups.txt that's not in the platform folder. That was my problem
whoppermac 14 May, 2022 @ 12:00pm 
Try using the rig but nothing happens
inCawHoots 16 Apr, 2022 @ 3:15pm 
Hasn't worked. It just freezes the program.
OMG Theres A Bear In My Oatmeal!  [author] 16 Feb, 2022 @ 4:55am 
try to verify the sfm files and let me know if it still does it or not.
inCawHoots 15 Feb, 2022 @ 11:04pm 
It was working well the first 3 times and now it just crashes SFM
inCawHoots 15 Feb, 2022 @ 10:51pm 
It is causing my program to crash upon opening it.
yodogerik 21 Dec, 2021 @ 7:32pm 
Something that stumped me for a while that I solved that you should know:
If you make a new group, you CAN NOT put it in the preexisting "Unknown" group, or else it won't update and won't work. It seems that you can't create subgroups of "Unknown."
NorthPolalt 6 Dec, 2020 @ 1:33am 
It's not perfect, but it's goddamn beautiful
OMG Theres A Bear In My Oatmeal!  [author] 26 Sep, 2020 @ 8:38pm 
does any error show up in the console when that happens