Currently you can easily make custom ones from a .yaml file. These can be created and edited in any text editor of your choice.
Optionally you can export an existing one from the tool by right clicking on one, and exporting with the .yaml extension.
For this tutorial, i will simply show you how the file works, as you can simply use a template from here and edit however you like.
- Red shows the animation name.
- Below is the Path. (not needed to be set)
- The FrameCount is the total amount of frames the animation has.
- Under that is a list of materials in the animation. In green is the material name.
- Then there is TexturePatternInfos. This is where the data is stored. The name parameter, is the sampler name. _a0 for diffuse map, _n0 for normal map, _e0 for emissive map, and _s0 for specular map. Note the material must support these types! The texture list will have a sampler for the texture which can be used.
- The constant data is to always display a specified texture (put texture name where null is at), This will ignore the curve data if set.
- Then there is a keyframe list, with the frame and texture to show at that frame.
Template #1 Basics
Name: NewTextureAnimation_ftp
Path:
Loop: false
FrameCount: 2
MaterialAnimConfigs:
- Name: MaterialNameHere
TexturePatternInfos:
- Name: _a0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1
1: Texture2
ParamInfos: []
Template #2 MoreMaterials!
Name: NewTextureAnimation_ftp
Path:
Loop: false
FrameCount: 2
MaterialAnimConfigs:
- Name: MaterialNameHere1
TexturePatternInfos:
- Name: _a0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1
1: Texture2
ParamInfos: []
- Name: MaterialNameHere2
TexturePatternInfos:
- Name: _a0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1
1: Texture2
ParamInfos: []
Template #3 More texture maps!
Name: NewTextureAnimation_ftp
Path:
Loop: false
FrameCount: 2
MaterialAnimConfigs:
- Name: MaterialNameHere
TexturePatternInfos:
- Name: _a0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1_Alb
1: Texture2_Alb
- Name: _n0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1_Nrm
1: Texture2_Nrm
- Name: _e0
IsConstant: false
ConstantValue: null
CurveData:
KeyFrames:
0: Texture1_Emm
1: Texture2_Emm
ParamInfos: []
```yaml
Template #4 Constant!
`
Name: NewTextureAnimation_ftp
Path:
Loop: false
FrameCount: 2
MaterialAnimConfigs:
- Name: MaterialNameHere1
TexturePatternInfos:
- Name: _a0
IsConstant: true
ConstantValue: Texture1 //Always shows on all frames
CurveData: null
ParamInfos: []
Once done, simply right click your animation and replace it with the yaml.
Or you can import as a new one
Note for these to work in game, you must use a material that has texture animations used! Being able to use new animations may vary depending on the game, and the way they are loaded!