TRUESPACE - Unreal
Unreal PSK/PSA Tutorial(part 2)
running girl
 psa imported and applied to tank girl
Part 2 of tutorial on using the Truespace7.6 plugin and script for importing and exporting Unreal files.  Now we'll use the ut3_female psk file to show how to get a custom mesh into a simple game test level.  Note that the result will be  an animated mesh not a character.
Instructions March 7 2009:


ut3 tank girl
Follow the same steps as before, but use the UT3_Female.psk file instead of Male.psk
select the tank girl and export a psk file using the plugin


uv editor
Now we need to export the Tank Girl(TG) textures in a format that unreal editor can read.  The bmp format exported by workspace can't be read by the unreal editor.  Workspace can't do it, so switch to modelspace.
Open the UV editor and use the export bitmap on each of the 3 textures.  Save them as targa(tga) files. 


psk into ued
Next open unreal tournament 3 editor
Open the Generic Browser and choose File-Import, select the psk file and click ok.
Scroll down to MyPackage and click on it.

import texture
Import the tga files and check "Create Material?"  This will create a texture and a material.

texture and material
double click the material

material editor
click on the Texture Sample node and move it to update the material.  The head texture needs one more step.  Add a texture coordinate node, click on it to open it's properties and change VTiling from 1 to -1.  This will flip the head texture in the vertical direction.  Click the leftmost green check to save the changes.
Repeat for the other 2 materials skipping the texture coordinate step.

Material Editor Navigation:  click to select, ctrl-drag to move, drag to navigate


animset materials
double-click the skeletal mesh item to open the AnimSet Editor. 
Open the Mesh tab and the Material flyout.
Leave the AnimSet open, go back to the generic browser, click on the head material and then back to the AnimSet window.  Click the green arrow to assign the material to the slot.  If it is the wrong slot click on the clear text button.

built in animation
Still in AnimSet choose AnimSet tab and choose the K_AnimHuman_BaseMale set.  You can choose an animation below that and play it in the window.
To add a custom animation to the mesh choose File - New AnimSet and give it a name.  Choose file import with the new animset active and select a psa file exported from truespace.



Page 0   Page 1   Page 2   Page 3