Wednesday 13 February 2013

Exporting into UDK

Lothar showed us how to export our meshes into UDK. While it took a long time to learn and there was a bit of difficulty trying to catch up after my map decided to crash, I did manage to understand the process.

After enabling FBX files in the plug-in manager under the windows tab, you need to select the object and click export selection.



Once this is done you can close or minimise Maya and open UDK. In UDK open the content browser (Though it will already be open) and select content in the list of folders (Important!), then click new at the bottom of the window. A new window will appear, name the object in the package and name boxes and press OK.


Next click import at the bottom of the window (Next to new), and locate where you saved the FBX file. One you finished also import the Diffuse, Normal and Specular maps (Make sure they are saved in the .tga format).


Next right click the area surrounding the files you imported and click New material. Name it and click OK. Once this is complete double click on the material.

While selecting the texture2D in the content browser hold T while left clicking on the new texture window. It should create a box with the texture in. Do the same for the normal and specular map (Hold Ctrl and left click to move the boxes). Then click the green arrow once you are finished (Important!). Two sided makes the texture visible on both sides if required. Close the screen to continue.

Next double click the static mesh while selecting the material (Not the Texture2d!). Locate the LODinfo and open the folders located inside it until you reach materials. Click the green arrow and the texture should work on the mesh.


Then for simple objects click the icon left of the lock, near the top of the window and click collision then auto convex collision. Adjust the scroll handles and click apply to update the collision until you are happy with the result.


Next close the windows apart from the content browser and left click drag the mesh into the map, it should work with the texture and collision mesh!

Remember to right click save the object you are working on in the content browser folder list! (Under newpackages) Then once it has moved up into UT3 Save it again! Otherwise it will not truly be saved. Right click the scene and click play from here to view your object.


Done!

No comments:

Post a Comment