I love the smell of UnrealEd crashing in the morning. – tarquin

Legacy:BaSCP Item 01 Mesh Import

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

UT3 Mesh Import[edit]

First of all you need to export the mesh from 3DS Max, I'm not going to go into details on how to use the file system, but the settings I use for the actuall export are shown in Tile #01... (You need to export as .ASE file (the ascii file format))

Getting back to the textures I used...[edit]

You will notice that I have also in the following example made normal maps, the soil normal map was made by running through some erosion filters in texture maker, then converting it to grey scale, maximizing contrast, and finally being converted to a noraml map by using Nvidia DDS Tools plugin for Photoshop, this normal map is what will give the texture its rough surfaced 3D look. See Tile #02, and #03.

And on with the importing...[edit]

Ok, I start up the editor, and when it has loaded, I make a new Additive level, I save it, and give it a name such as DM-Test, I open the generic browser, and click import under the file menu, and select both textures (all 4 in my case because I have normal maps), I also take the time and care not to click OK to all, I have no idea why I do this, it just seems logical to me, but I ensure that the CompressionSettings drop down is set to TC_Default for regular textures, and TC_NormalMap for normal maps and I do the same for LODGroup. I also import the mesh.

The name you give to the Package is important, when making a map, wether it be a DeathMatch or other type, you should always have your content stored in a package which is the same name.

In these tutorials however, I am breaking from this standard, for one main reason, mainly I have not started my level yet, and I want to keep my content in one main file, I am naming my package ASphinx-Content, keep in mind, that when I do start making my level though, I intend to Duplicate the content that I use to a file that matches the levels name. Unless you intend making a content pack, **do not** distribute your content file e.g.(ASphinx-Content) with your map, if your map don't work without this content file, then you have done something wrong when assigning a material, texture, or something else to your level, also be aware this method also increases overhead, if you want to speed and refine the process, import/create your content directly into a file of the same name as your map (eg. If DM-Siesmic is the name of the map, then DM-Siesmic should also be the name of your content package).

As for the group, it is like a sub-directory, or a folder to contain various things you import, much like your computers filesystem, it is mainly used for catagorizing the things you import to speed up searching for things, you could just have textures and meshes as your groups, or you could use DiffuseTextures, NormalMaps, and Meshes as your groups, it really doesn't matter, and is left to personal preference.

I make a new material called SteamVent_Mat, and open the material editor, see Tile #04 to see what I have done in the Material Editor.

I then go to the mesh and open up its properties, the first thing I then do is go back to the generic browser, and select the material we just made, and apply it to the mesh, this is done by unfolding the properties as shown in Tile #05.

With the material applied, a few things still need to be done, the next thing on the list is to make a quick collision map, you can find the Collision -> Auto Convex Collision, and use the settings shown on Tile #06, there are better ways to do this, which I will probably cover later when we actually import this into more than just a test file.

Last thing to do is get a good angle and take a shot for the Generic Browser, this can found under Tool -> Save Thumbnail Angle.



BaSCP Steam Vents

Next Section[edit]

BaSCP Item 01 Cascade Particles

Image Tiles[edit]

Tile #01: My export settings, note I have increased the Decimal Precision, while not absolutely nescesary, I like it like that, becuase I tend to always opt for the uber kill quality settings
Tile #02: Soil Normal texture
Tile #03: Mud Normal texture
Tile #04: A few big things happen here, take a look at the vertexcolor component, it is what determines which pattern will be applied from the vertex painting we done, nothing more really needs to be done except to LERP the two materials together using this pattern, LERP stands for Linear Interpolate, it is a straight ramp from 0.0 to 1.0, as opposed to cubic or sinisoid interpolate, which measure the distance between the two numbers in such a way that the distance between the fractions are not equal, this basically means that there should be no distortion (note cubic and sinsoid interpolate don't exist in the material editor, for the point that they are next to useless in the world of textures). You will notice I have 3 Lerps, they all use the same VertexColor map, but have different inputs and connect to different functions in the material, the textures are Lerp'd to Diffuse, the normal maps are Lerp'd to Normal, and then I have two constants that are Lerp'd to the Specular, Specular determines the amount of light that bounces back at you, a value of 0.05 is used for the soil, as it drinks the light in and gives little back, the effect gives it a very dull sheen, the mud gets a value of 0.15, giving it a much stronger effects, making it look more like it is wet, without some sort of specular lighting, the normal maps are not readily apparent
Tile #05: By selecting a material and clicking the green arrow pointing left next to Material, I apply or material to the mesh
Tile #06: Totally maxed out, and even then honestly not accurate enough for me :(