Enfusion Blender Tools: Import/Export Animation – Arma Reforger

From Bohemia Interactive Community
Revision as of 15:04, 23 May 2022 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Animations for Enfusion are exported into an intermediate human-readable format TXA. This format needs to be further compiled by the Enfusion engine into ANM - a binary format used during the runtime.

APR files are used for animations export. These files contain export profiles. Profiles can be found in anims\export_profiles. The export profile defines which bones to export and how to export them. Export profiles have to correspond with the used skeleton in the take.

It exports animation data for Enfusion. To have an animation created in Blender in Enfusion, follow these steps:

  1. Export the FBX model from Blender with an armature matching the animation you want to export
  2. Import the FBX model into Enfusion
  3. Export the animation from Blender (TXA format)
  4. Import the animation TXA file into the Enfusion


FBX

Export FBX from Blender

Set the pose mode to rest for a given skeleton to export the rig.

Import FBX to Enfusion

Import the model "As Model" and afterwards set import to import skinning too.


Animation

Export Animation from Blender

Now define where to output the TXA file. Note that the file name set in the bottom input will not be used, only the location.

All the profiles have to be in anims\export_profiles or in a subdirectory.

Select an export profile.

This profile has to correspond with the skeleton. Lastly, choose whether to export all takes together or just one specific.

If batch mode is selected then all animations will be exported with the same export profile.

Import Animation to Enfusion

Drag and drop the TXA file into the Resource Browser.