Skip to main content

Modfiy Premade Blender Skeletal Mesh & Export to UDK.

Today, I'll modify a ready made skeletal mesh , rigged with Riggify for export to udk.

Basic Model & Rig were made by Lee Salvemini (Sintel & Elephants Dream) in a very detailed rigging tutorial hosted here. I'll be using Blender 2.60 with Darknet's Psk/Psa exporter version 2.3.

I strongly recommend you all to step by step work with Lee's tutorial, to grasp the rigging concepts of Blender. It helped me a lot. For impatient, please download the file.

Mesh & Armature used in tutorial are not my property and are not usable in commercial application or usage. I am using them just for educational purpose. If you like to use them in your project, please contact the original owners.

Ok, Lets get started.
Start Blender & Load "comlete_rig_finish.blend".

Go to Object Data Tab -> Display Options and uncheck Shape and check X-ray options.
Shapes Off - Name & X-ray On

Our skeleton is not fully visible. lets rectify it before moving on further.
In Object Data -> Skeleton Options check the last layer in "Layers:" category. this will result in showing up all the bones in armature, which were intentionally left hidden for animation purpose by the original author.
Full Skeleton Visible

First scale the mesh & armature to the size, in which we want it in UDK.
Go to front view by pressing "1" on numeric pad.
Press "Shift + C" to align the 3d Cursor to the center (0,0,0) on (X, Y, Z ) plain.
Mesh & Armature Centered

Select mesh & "Shift" select armature then Press "S + 48" on numeric keypad and "Enter".
To check the height/Size of your mesh & armature. you can activate "measure panel" add-on from Addons menu (In user preferences).
Measure Panel selected in User Preferences-> Addons

After enabling the add-on, a panel will be visible in Properties Panel (Press "N" key to Toggle).
Measure Panel

Deselect everything by pressing "A" then "SHIFT+A" and add a cube. Grab Translate widget "Z" arrow and move it towards the top of the mesh. Measure info panel will display the "X,Y,Z" and "Dist" from the origin (3DCursor). your mesh should be around 86 (Edit : scale around 96 BU , cause UDK SM are 96 units tall) Blender Units.
Distance of 86 BU

Delete the cube and uncheck "Draw Distance" in Measure Panel.
Select the Armature then "Tab" to go in edit mode. Press "A" to deselect the mesh.
Press "Shift + A" to add up a new bone at 3dCursor. currently, the bone is very small, scale it to your liking (dont forget to fully select it). Name it "Root" . Switch to Side view (3 on Numpad).
Press "R+x+-90" to rotate the Root bone at its axis. move and adjst the bone , so that it is exactly in level with the feet, while in side view.
Root Bone adjusted and moved

Now, to export this skeletal-mesh to udk, we need to parent all UN-pareneted bones to our freshly added Root bone (which is handy in moving all of the mesh & armature at a time). following bones should be parented.
Blue Bones need to be Parented

Select the above mentioned bones one by one and in edit mode and from "Bone" tab in property panel, select "Relations -> Parent" and type "Root".
Parented Bones

Get out of Edit Mode. Select the Armature in Object Mode. Press "Ctrl+A" and select "Location" from menu , again Press "Ctrl+A" and select "Rotation & Scale".
Deselect Armature and Select the Mesh in Object Mode. Press "Ctrl+A" and select "Location" from menu. Repeat and select "Rotation & Scale".
We are Ready to export our Skeletal-Mesh for UDK.
From File Menu, Select Export -> Skeleton Mesh / Export Data (psk/psa) and save the export file, where ever you deem appropriate.
Export Menu
Saving Options
Succesful Export

If you have followed the exact steps, you'll have 01 file "complete_rig_finsih.psk" on your drive.
You are ready to import it in UDK.
Fire up UDK , Open Content Browser and Press Import Button. Select your exported "complete_rig_finish.psk"file and double click and import.
Import Dialog Box
Skeletal Mesh Imported

Your Skeletal-Mesh is imported in UDK. It's back is towards us, lets correct it.
Double click at Skeletal-Mesh , which will be opened in AnimSet Viewer. Go down in Properties Panel, Select "Rot Origin" -> "Yaw" and change "0" to "180". Now your skeletal mesh is facing you.
Rotated Skeletal-Mesh

That's it with modifying , exporting & importing pre-made blender mesh & armature to udk.
I haven't added any animation. However, I'll put up a link to an animation walk cycle, after completing it. you'll be able to use it with file made in this tutorial. 
A simple walk cycle made with this SM is here.


  1. dhakadice@hotmail.comMarch 6, 2013 at 6:49 AM

    How'd you get that PSK/PSA script to work? What Blender version are you using?

    I've been trying like a million different ones and I either can't enable them or they don't show up at all in the add-ons window. (I'm using Blender 2.65)

    1. Hi , And sorry for very very late reply.
      I was using Blender 2.60 with PSK/PSA script Version 2.3 for SM export.
      I currently don't use UDK , so can't help you out with it. but i am sure, if you follow the procedure exactly, your SM will export just fine.


Post a Comment

Popular posts from this blog

Color Palettes in Blender

Hi There,

Recently, i saw a post on a forum , where a user was very puzzled with color usage during Texture Painting of his mesh. It seemed that people are not aware of another hidden (infact it is right there in front of our eyes) feature of blender , The Color Palette.

So, today, we'll try to get some knowledge about Color Palette and how to use them.

In this tutorial, i am using blender 2.69 (official version).

It is not necessary, but you can unwrap your box , assign a texture, before moving forward.

You are required to create a folder , where you want to save the color palette, which we will make in this tutorial.

Ok, lets get started.

Select Texture Paint Mode in 3d View. My Current setup is like this.

Select the Corner Anchor of the Color Palette Properties, and move it below the Brush Properties.

Expand Color Palette Properties.
In the last line, there is a Folder Button, which allows you to Choose the Folder to save your Palettes in.
As of writing , if you try to select t…

Blender Low Poly Window Texturing & Unwrap

OK, in our previous tutorial, we made a low poly mesh of window. in this tutorial, we will texture & export it for usage in UDK.

So, fire up your blender and load the saved file.

1.    First select the Window Top Inset Panel ( I call it glass).
2.    In Material panel, select a new material by pressing New button & name it Glass.
3.    Give it any color by choosing it from diffuse panel.
4.    Press Ctrl+I to inverse your selection (Make sure, your mouse cursor is in 3dWindow.
5.    Now, Create one more material and name it wall. and choose a color to your liking.
6.    Press Assign button to assign the selected material to the walls of the window.
7.    now, your mesh has 2 different materials, which will come handy in UDK later on.

8.    Lets unwrap our mesh, so that we can put some textures on it.
9.    Arrange your window changing your time line window to UV Image Editor.

10.    Press A to select all the vertices/faces and press U to show Unwrap menu.
11.    Immediately, y…