FaceFX Documentation and support
The anim command is the interface for creating and modifying animations. It can be in one of several modes:
Flag | LongFlag | Arg | Description |
---|---|---|---|
-a | -add | No | Puts the command in add mode. |
-r | -remove | No | Puts the command in remove mode. |
-rn | -rename | No | Puts the command in rename mode. |
-mv | -move | No | Puts the command in move mode. |
-cp | -copy | No | Puts the command in copy mode. |
-ca | ‑changeanalysisactor | No | Puts the command in change analysis actor mode. |
-au | -changeaudio | No | Puts the command in change audio mode. |
Flag | LongFlag | Arg | Description |
---|---|---|---|
-n | -name | Yes | The name of the animation to add or modify. |
-gr | -group | Yes | The group of the animation to add or modify. |
-fr | -from | Yes | Used in move or copy mode. Specifies the group of the animation to move/copy the animation from. |
-to | -to | Yes | Used in move or copy mode. Specifies the group of the animation to move/copy the animation to. |
-b | -batched | No | Specifies if this command is part of a batch operation. If so, updates to selection do not occur. |
-nn | -newname | Yes | Used with rename mode. Specifies the new animation name. Must not be the name of an existing animation in the specified group. Must be a legal name. |
-na | ‑newanalysisactor | Yes | Used with changeanalysisactor mode. Specifies the name of the new analysis actor. |
-nu | -newaudio | Yes | Used with changeaudio mode. Specifies the path to the audio asset. This can be the path to a WAV file, or other audio asset path like an Unreal package name. |
-tu | -tryupdateall | No | Used with changeaudio mode. When present, this flag helps locate audio files that have been moved or that do not exist in the location specified in the facefx file. All animations in the specified group will look for their missing audio files in the folder specified by the -newaudio flag. |
%anim -add -group "Default" -name "test";
%anim -rename -group "Default" -name "test" -newname "test2";
%anim -changeaudio -group "Default" -name "test2" -newaudio "C:\test2.wav" -tryupdateall;
%anim -remove -group "Default" -name "test2";