Skip to content

Export animations

Yupi edited this page Jul 6, 2021 · 10 revisions

A few tips on how to export skeletal animations

1. Navigate to an AnimSet or AnimSequence object

You can find most animations under the Anim folders across different GPK files. If the icon is a white file with a green arrow, this object is a shortcut(ObjectRedirector) to the animation object, and you need to press the Source button to open a package with the source animation object.

s1

A valid animation has a blue puppet icon in the object navigator and the AnimSet class.

s2

2. Export options

Press the Export button to see export options. Animations require a skeletal 3D model to export. RE will try to find one automatically.

Options:

  • Skeleton: a skeletal mesh to animate. IMPORTANT! If the skeleton field is empty you need to pick a skeleton to apply animations to. Guide: How to find a skeletal mesh for an animation
  • Scale: scale factor of the skeleton(e.g., 2.0 = 2x times bigger model)
  • Rate: duration multiplier(e.g., 2.0 = 2x times slower animation)
  • Export geometry: export geometry that comes with the skeleton
  • Split takes: export each animation(take) in a separate FBX file
  • Compress: reduce FBX file size by removing trivial animation keys. WARNING! This option may produce rotation/translation errors(shaking). Disable it if you have such issues.
  • Resample: resample the animation to 60 FPS
  • Inverse qW: enable this if an animation has an incorrect orientation(e.g., TransportGate)

Press Export... and select where to save your animations.

s3

   

How to find a skeletal mesh for an animation

Animations need a skeleton to export. If you don't have a skeleton in the export options follow this guide.

1. Find a 3D model

Close the export options window and open a GPK with a suitable 3D model(e.g., PC_Event_27A.gpk). Select a 3D model object(e.g., PC_Event_27A_Popori_F_Dye_A_Skel). If the selected object has a file icon with a green arrow press the Source button.

s4

2. Copy GPK name

Right-click the root folder in the opened window and press Copy GPK name

s5

3. Set skeleton value

Go back to a window with your animation and press Export. In the export options click Select -> Package -> Open a composite package....

s6

Paste GPK name from the previous step and press Open.

Select your 3D model(e.g., PC_Event_27A_Popori_F_Dye_A_Skel_dup) in the object navigator and press OK.

s7

Press OK and continue to export the animation.