Unreal Developer Network Content Creation
Welcome to the Unreal Developer Network The Engine Unreal Powered Content Creation Technical Playstation2 Xbox Gamecube Licensee Log In

Content Creation

Content Creation home

Documents listed below, but not hyperlinked, are restricted to engine licensees only.

As certain texts become relevant, due to released games using that technology, new documents will be made available. Check back often!
 
Getting Started
   - WhatToReadFirst
   Support
   - UnEdit (mailing list)
   - UnEditTraffic (summaries)
   - UnDevIRC (chat)
   - UnDevIRCTraffic (summaries)
   - UnrealEdSux0rs (bug list)
   Engine Prerequisites
   - TextureSpecifications
   - TextureComparison
   - Etc.

General Editor
   Basics
   - IntroToUnrealEd
   - UnrealEdInterface
   - RotationGizmo
   - UnrealEdKeys
   - BrushClipping
   - VertexEditing
   - BoxSelection
   - ShapeEditor
   - ExampleMaps
   - TriggersTutorial
   - WorkflowAndModularity
   Primitives
   - BspBrush
   - MirrorsAndWarpZones
   - HardwareBrush
   - MoversTutorial
   - UKXPackagesTutorial
   - TerrainTutorial
   - VolumesTutorial
   - LightingTutorial
   - ProjectiveTutorial
   - MaterialTutorial
   - CollisionTutorial
   - FluidSurfaceTutorial
   Animation
   - AnimNotifies
   - Animbrowsertutorial
   - Animbrowserreference br>    Particles
   - EmittersTutorial
   - EmittersExamples
   New Particle Editor
   - ParticleSystems
   - ExampleParticleSystems
   Matinee
   - MatineeTutorial
   - MatineeExample
   - MatineedemOopening
   - MatineedemoDropship
   - SampleMatineeTips
   Scripted Sequences
   - ScriptedSequenceTutorial
   - ScriptedSequenceActions
   - AIControllers
   Techniques
   - LevelTransitions
   - LevelOptimization
   - GroupsBrowser
   - NavigationAI
   - VertexBlendingTutorial
   - ConvertingContent739To829

Tools
   - ActorX
   - ActorXMaxTutorial
   - ActorXMayaTutorial
   - StaticMeshesFromMaya
   - UmodWizard
   - ModelingTableOfContents
   - CADtoUnreal

mathengine.gif
Karma Physics
   - IntroToKarma
   - KarmaReference
   - ImportingKarmaActors
   - UsingKarmaActors
   - KarmaAuthoringTool
   - RagdollsInUT2003
   - KarmaExampleUT2003
   - ExampleMapsKarmaColosseum

secretlevel.gif
PlayStation2 and GameCube
   - ConsoleDevelopment

Contribute!
You can create a new page, and then you can edit this list to add it to the categories, as well as edit the Content Creation homepage to tell everyone about it!

Make Requests!
You can also stop by the UdnStaff page to see what we're working on, and edit it to add your own document requests.


Please take note! For mod developers working with Unreal Tournament 2003, this documentation is meant to be a starting point for your own explorations into UT2003, not a definitive guide. There will be differences between the documentation here and the product in your hands, and you may have to figure out quite a bit for yourself. Check out the Unreal Tournament 2003 page in the Unreal Powered area for links to community sites if you're having problems. UDN is a licensee support site, and cannot provide technical support or game-specific assistance to end users.

ActorXMaxTutorial

Licensees can log in.

Interested in the Unreal engine? Check out the licensing page.

Questions about UDN itself? Contact the UDN Staff.

How to export animations using ActorX and Max

Document Summary: A tutorial showing how to export animations using ActorX with 3DS Max.

Document Changelog: Last updated by Tom Lin (DemiurgeStudios) for modeling document collation.

This document assumes that you have already created & rigged your actor and are simply looking for a step-by-step tutorial on how to use the ActorX exporter to export your model & animations out of Max and into Unreal. This also assumes that you have already read the ActorX documentation on the UDN site and understand conceptually the relationship between .PSK files and .PSA files.

Install the Plug-In

  1. Download the ActorX plug-in for Max and copy it to your plug-ins directory.
  2. Launch Max, and ActorX should load automatically. You can find it under the utilities tab. (If this is the first time you are using it, you'll find it when you click the more button)

utilities.jpg

Export the skeleton and mesh

  1. Load a scene containing the actor you wish to export.
  2. Bring up the ActorX dialog by going to the utilities tab (see above) and opening ActorX.
  3. Fill in the various fields as follows:
    • Output folder: enter the name of the directory where you wish to save the .PSK file. We recommend putting an "Unreal Files" directory under your actor's folder. The browse button is very useful here.
    • Mesh file name: enter the name for the .PSK file. We recommend the name of your actor.
  4. Click the Save mesh/refpose button. You can do this with any frame of the animation. It is recommended that your model's reference pose be in a relaxed, spread eagle pose for ease of use.

PSK name me

After you save the mesh/refpose, a few windows will pop up if all went well.

2 dialog boxes

Export your animations

There are two steps for exporting animations. First, load the scene containing your animation(s) and "digest" an animation to read it into memory. Repeat for as many animations as you would like to export this session. Second, add these new animations to a PSA file and save it back out.

Digest an animation

  1. Load the file containing the animation you wish to export.
  2. Bring up the ActorX dialog by opening the utilities tab, and opening the ActorX option. (You may have to click the "more" button, as described above)
  3. Fill in the various fields as follows:
    • Output folder: same as for skeleton/mesh above.
    • Animation file name: we recommend the same as the mesh file name (they will have a different extension to help you tell them apart). Enter the name of your existing .PSA file if you wish to add this animation to that existing .PSA
    • Animation sequence name: put the name you want your animation to have within the .PSA file.
    • Animation range: specify the frames in the current scene that define this animation. (Format is "4-45"; number, hyphen, number)

PSA name me

  1. Make sure that the range slider and the time slider show 0 as the first frame. (Note: this is a superstitious behavior on our part to avoid a periodic crashing bug in ActorX. Skip this step at your own peril)
  2. Click Digest Animation. When it is done, you will not get a window telling you that it was/was not successful.
  3. Repeat steps 1-5 for as many animations as you would like to export this session. We recommend not trying to do too many at once in case ActorX crashes and you have to start over.

Add your animations to a .PSA file

Once you have digested one or more animations you are ready to add them to a .PSA file.

anim-manager.gif

  1. Bring up the ActorX dialog if it is not already displayed.
  2. Click the animation manager button to display the animation manager.
  3. If you are adding your animations to an existing .PSA file, click Load to load the .PSA file. (assumes that you already provided the name of the animation file in step 3b of the previous section. If not, then use the _Load As... button)
  4. On the left in the animations list you should see the animations that you have just digested. On the right you will see any animations that already exist in the .PSA file. This will be empty if you are creating a new .PSA file.
  5. Select your new animations and click --> to add your animations to the output package.
  6. Click Save to save the .PSA file back out. (assumes you already provided the name of the animation file previously)

psa saved

Batch Processing

As the list of animations for each character grows the process for creating the .PSA files starts to take a very long time. In order to simplify this process you can have ActorX process all of the animations in a given folder in one step.

Preparing your animations

Before batch-processing you will need to format your animations.

  • They will need to be in .max file format
  • All of the animations that are to be processed together need to reside in a single directory
  • Each file must have its start and end time set properly. Click the Time Configuration button time configuration in 3D-Studio to set this up properly.
  • The files should have the same name as the desired animation name once in the engine.

Exporting the animations

Once your animations are properly setup follow these steps to export them all to a .PSA file.

  1. Fill in the Output Folder field in ActorX with the desired location of the .PSA file
  2. Fill in the Animation File Name field with the desired name of the .PSA file.
  3. In the Actor X - Setup section of the tool, check cull unused dummies.
  4. Also in the Actor X - Setup section click Process all Animations. ActorX will prompt you for the folder where all of the animations reside. Select the folder and click Okay.
  5. Now that the animations have been imported click Animation Manager which will open the Animation Manager window (see above). The left list is all the animations you have digested thus far. The right column is the list of animations that exist in the .PSA file you selected in the Animation File Name field.
  6. Select the animations you which to export from the left column and click the Copy ==> button, to copy them into the area where the .PSA animations reside.
  7. Click Save. The .PSA file will be created.

Additional ActorX options

You may have noticed that there are a wealth of options underneath the animation manager button, in the "ActorX - Setup" section. We'll step through them in order.

Persistent Settings and Paths

These two options are fairly self explanatory; when checked, they will keep your settings in the fields above them, so that you won't have to re-enter them every time you want to export a mesh or an animation.

Skin Export

These options will determine what conditions need to be filled in deciding the exported geometry/animation.

All Skin-Type

If this is checked, every mesh in the file that has a skin/physique modifier on it will be exported.

All Textured

All geometry that has a texture on it will be exported.

All Selected

All geometry that is currently selected will be exported. The invert checkbox will export all geometry that is not selected.

Force Reference Pose T=0

This option will force the use of the pose at T=0 as the reference pose. Only useful in case you're exporting your PSK from a file that also has animation at other frames, and somehow the first frame of the slider isn't frame 0 in the animation. By default, the engine will use the first frame of the active slider range for exporting the PSK file, which is why we recommend that frame 0 is part of the active range.

In general, you should always export your PSK from a known, specially posed, static reference pose, so there is no potential for exporting a random pose as your reference pose.

Tangent UV Splits

Always leave this option off. Otherwise, ignore this option.

Bake Smoothing Groups

Smoothing on skeletal models is handled somewhat strangely in UnrealEd. If you try to put smoothing groups on a character model, the exporter will break your model along the edge of the groups, and make that section its own separate piece. This process involves dividing vertices along smoothed edges. It will then attempt to smooth the individual piece by itself, although it will still appear to be part of a larger "connected" mesh.

In other words, in exchange for smoothing, you will increase your vertex count. The more smoothing groups you have, the more vertices you will have. Therefore, smoothing groups are discouraged on skeletal models; it is recommended that you leave this option unchecked.

Bones

Cull Unused Dummies

If you are using dummies at the ends of your bone chains, this option will remove them for memory savings.

Cull Root Dummy

This option is disabled.

Motion

Fix Root Net Motion

If your model is animated such that the root bone moves, this option gives you the opportunity to disable that motion. Meaning, if you create a run cycle in Max that translates forward, this option will make it look as if the model is running in place in UnrealEd.

Hard Lock

Ignore this option.

Logfiles/No Log Files

This is pretty self-explanatory. These are just a convenient source for people to check if they suspect something isn't exporting correctly. You can find a variety of information here; bones list with heirarcy information, vertex/face/frame numbers and material # slots etc. Besides verifying that the skeletal and skin data exported as expected, you would want to look at these for example if you want to know what the internal name of the bones are, for using bone controllers or attachments.

Script Template

Script used to be necessary to import models and animations into Unreal. Thankfully, this is no longer true. Unless you know what you are doing with these fields, ignore them.


ActorXMaxTutorial - r1.6 - 08 Jul 2003 - 17:53 GMT - Copyright © 2001-2003 Epic Games
Unreal Developer Network Content by those crazy Perilith guysSite design and art by 2 design