You can edit the 3ds Max Biped template and save your customized templates. Once you save the customized Biped template, it
appears in the Asset browser > Characters folder.
To customize the 3ds Max Biped template:
- Navigate to C:\ > My Documents > MB > <version> > config > Character Template folder.
- Create a copy of the 3ds Max Biped Template.py file.
TipMake copies of MotionBuilder software files you wish to edit. Doing so ensures the original files remain intact.
- Open the Copy of 3ds Max Biped Template.py file.
- In the Windows dialog box, choose the select the program from a list option and click OK.
- In the Open With dialog box, choose a Text editor program and disable “Always use the selected program to open this kind of
file” and then click OK.
- Make your changes to the file.
- Make sure that the python script does not create a character as it creates conflicts.
- If you have a scene with more than one character, characterize the last character added to the scene: ( FBSystem().Scene.Characters[len(FBSystem().Scene.Characters)
- 1]. This is necessary because the character was created at the moment you applied the template. This way it is exposed to
Undo functionality.
- Save the file through File > Save As . In the Save As dialog select “All Files” from the Save as type drop down menu and give
your file name a .py extension.
- In the Character Template folder delete the Copy of 3ds Max Biped Template.py file.
The new template appears in the Asset browser > Character asset folder after you restart MotionBuilder.
Modifying the 3ds Max Biped Template for custom skeletons
You can modify the current 3ds Max Biped Template.py script to accommodate a custom skeleton.
To modify the 3ds Max Biped Template.py script for custom skeletons:
- Navigate to C:\ > My Documents > MB > <version> > config > Character Template folder.
- Create a copy of the 3ds Max Biped Template.py file.
TipMake copies of MotionBuilder software files you wish to edit. Doing so ensures the original files remain intact.
- Open the Copy of 3ds Max Biped Template.py file.
- At the start of the script, there are three variables that you must modify:
- bipedrootname # for custom skeleton: set bipedrootname # to the name as the root node.
- bipedPrefixNamingScheme = False # : this must be set to False for custom skeletons that do not use the normal biped naming
conventions.
- bipedMap # : populate this python dictionary with the custom mapping for your skeleton.
NoteA limitation exists if you merge the same bipeds multiple times into a scene. The MotionBuilder naming scheme conflicts with
the
3ds Max Biped Template.py script. To modify the script, all bones must be correctly named without any suffix numbering. The workaround is to activate
Apply Namespace from the Merge Options dialog when you merge the same bipeds into a scene. Using the Apply Namespace option
prepends a namespace to the bipeds, guaranteeing their uniqueness while their "short name" is correct. See the
Namespace area in the
Merge Options dialog.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License