Blog Archives

Nobiax’s: Static Meshes Converted to ASE for UT3 / UDK / UE4

Original Author:Nobiax @ Deviantart

I created this pack to give prominence to open source artist Nobiax. I converted meshes to .ase adding light mapping and collision support. This will help map makers who are not familiar with 3D Modeling packages make full use of his work. These Meshes are offered gratis under Creative Commons License V3

Warning: These are ASE files only! Please visit the authors site to get texture maps. Links are provided below and imaged mapped in the “read me.htm”

I understand it would be easier to create an all in one pack, but I chose to direct interested parties to the authors site – where credit is due. This also reduces the size of this pack which would approximate hundreds of MB if all textures were included.

Change Log:
Pack updated to correct –
Fern v2 mesh flickering issue (thx to Nobiax for providing a fix).
Grass v3 have been scaled and had their origins centered.

Instructions for use:
1. Download texture maps – see preview shot or Read Me.htm for details
2. Import both .ase and texture maps into the editor (conversion to .bmp or .tga may be required). Create corresponding Material with set up of your choice.
3. Under the static mesh editor add the material you created to the mesh under LODinfo > [0] > Elements [0] > Material
4. Under “LightMapCoordinateIndex” Change for 0 to 1 and “LightMapResolution” to 32

The content of the pack include:

Wood Barrels, Fuel Barrel, Fuel Can, Metal Barrel

Pallet v2, Gaz Tank, Weapon Box, Ammo Box

Plastic Explosive, Magnetic Bomb, Card Board Boxes, Grass v1

Grass v2, Grass v3, Fern v2, Palm Plant

Palm Tree, Parviflora, Tropical Plant 1, Tropical Plant 2

Download: Nobiax ASE Pack v1.2

Clock Bomb, Concrete Pipes, Modular Building, 3D Plants,

Bamboo v1, Bushes, Cannabis, Chest, Concrete Barriers,

House Plants, Money, Palm Trees, 3D Pillars, Pillars,

Rocks, Trashes, Mundo Commissions, Hesco Box,

Stylized Grass, Rocks 02, Rocks 03, Stone Coffin,

Stylish Plants, Tiny Weeds 02, Tiny Weeds 03,

Tiny Weeds, Tropical Shrubs

Download: Nobiax ASE Pack v2

Model conversion to .ase using Blender

HOW TO: Using Blender to Convert models to .ase for import into Unreal Engine.

Step 1:  Download and install the io ase export script into Blender.

Goto: DarklightGames site https://github.com/DarklightGames/io_export_ase and Download the script  (unzip the file).

Installation:

Step 2: Open Blender and Navigate to File Menu > User Preferences (Ctrl Alt U) > Addons tab > Install From File.  Find the file you’ve downloaded, click on the it,

e.g. io_export_ase.py and hit Install From File…

InstallScript

Don’t forget to tick the box (step 2 in the above graphic) then hit Save User Settings (step 3 in the above graphic) and close.

The script in now available under File > Export > Ascii Scene Exporter (.ase)

Now your ready to tailoring your file adding and configuring a extra Light Map UV slot and or a Collision Hull.

Configuring:

To select a file you wish to convert.  File > Import > [select the type of file e.g.] Wavefront .Obj > Navigate to the file > Import OBJ.

Right click on the model to select it and create a material by hitting the New material button, see below.

MaterialSelection

Repeat for the Texture tab, just right of the Material tab > i.e. hit New texture button.

Change Type: from Clouds to Image or Movie. (See below).

Under Image hit the New texture button and select OK on the default texture settings.

TextureSelection

Adding a second UV Slot

(not necessary for export)

1. Hit Tab to change to Edit Mode.

2. Change to the Object data Tab (the triangle icon)

3. Under UV Maps hit the + icon to add a second UV slot (for Light Mapping).

For this slot ensure that the UV islands don’t overlap as required for light mapping.

4. Left click on the corner and drag  to open up a second editor pane.

5. Select UV/ Image Editor from the list of Editors.

UVSelection

UV Unwrapping takes a bit of finesse and time to get used to.  Its a lot like cutting out fabric for sowing into a 3d shape but in reverse.

There are several tutorials that cover  this in higher depth than available here, see Noob to Pro and  Cg Cookie  (vid)

Adding a Collision Hull

(not necessary for export)

Tab to Object Mode then Shift A > Mesh > select the mesh that most fits your model.

Tab into Edit Mode and manipulate your new model to fit around your base model.

Under the Object tab change the header to have a UCX prefix, see graphic below.

CollisionHull

In Object Mode select both base model and collision hull for export by holding down Shift and Right clicking both models.  Now select File Menu > Export > Ascii Scene Exporter (.ase) > Give your model a name, change the scale if need be.

Your model is now ready to import into the Unreal Engine.  If you have problems ensure you have a material and texture set up.  If you have a collision model ensure both models were selected for export.

If your not familiar with Blenders modeling tools fear not, UE3 has a facility to create collision hull automatically.  Just open the Static Mesh Editor and select from the Collision menu. The greater the DOP the more complex the model.  Select the one that fits best.

UE3 collision

1 default Blender unit is 1 Unreal Unit. So to make a box of 256 dimensions in Unreal you can start by setting up a box of 16 blender units, this will translate using the default 16x scaling of Mike Campagnini script, to export a box 256 Unreal Units (16 x 16). This is a convenient scale for working in Blender using the default grid.