The "EASY" way to get Milkshape LWO models into Doom 3.
After wasting a week trying to get ASE format model files into Doom3 and being thoroughly boggled by the process of using Milkshape to get a static model into the game using ASE format and manually having to edit the ASE file as per tutorials etc. I tried using Milkshape's LWO exporter using a twist on the default material name and the darn thing was so easy and worked perfectly ! Goodbye ASE's hello LWO
Here is how you do it (consult the pic shown below).
Assuming you have made your static model and have the diffuse targa texture for it already loaded ie: MyPic_d.tga. You also have completed the UV mapping of your model (if required) within Milkshape using the "Texture Coordinate Editor". You are now ready to perform the procedure to turn your Milkshape ms3d model into a Lightwave LWO model.
1) save your model using the standard native ms3d file format.
2) select all of your model.
3) click on the Materials Tab. You have probably already assigned your targa texture to the model, but may or maynot have changed the default name 'assigned' to this "material", so it may be just the default "Material01" or you may have "renamed" this default name when you made your model and UV mapped it. No matter, we are going to change that name.
4) In the box to the lower right beside the 'Rename' button, write the name of your material shader name declaration ie:
make sure it is identical to your shader name declaration for the texture file. Ie: if your material shader looks like this:
qer_editorimage models/textures/box1_ed.tga // image for editor view
diffusemap models/textures/box1_d.tga // diffuse for color texture purpose
specularmap models/textures/box1_s.tga // specular highlights
bumpmap models/textures/box1_local.tga // normalmap for bumpmapped appearance
then write the models/textures/box1
declaration into your material name field contained within Milkshape.
You can use backward slashes or forward slashes, it makes no dif as long as the same words appear in the Milkshape material name. (makes it easy for dummies like me who can't be bothered to remember whether it should be back slash or forward slash, as it makes no dif with this LWO file) both ways will work just fine!.
add any \base or /base to the beginning of the material name.
(the LWO model will search for the material shader starting at the \base directory point as a default, so if you add that \base bit to the material name it will casue the LWO model to be searching for \base\base\models\subdir\subdir\MyPic which is wrong.
add the .tga extension to the material name.
(we want the LWO model to search for the material shader name declaration , NOT a single particular pic file alone.)
5) Now press the "Rename" button to rename this material name.
(don't worry, this will not effect the texture targa file that you have selected and applied to your model. We are merely changing the material name used to hold your texture file and trick the LWO model file into searching for this shader file instead of a single texture targa file.)
6) Now press the "Assign" button to assign this new material name to the model.
7) You are now ready to export your model over to the Lightwave LWO
file format. From the Milkshape menu go: File-->Export--->Lightwave 6.5x and mouse-click to export the file into you Doom3\base\models\subdir spot. There are several LWO export plugins shown on that menu, so be careful not to use the older ones. There should be no Pop-ups or anything and the export model will just be saved, no confirmation will be seen.
That's it, you now have your LWO model ready for use in the game. Add it to your map in the usual manner using the "New Model" selection of right-clicking while within the Doom3 Map Editor.
Click on the thumbnail below to see a Milkshape pic with highlights of the simply procedure.
Here are some other Milkshape Tutorials you might like:
TUTORIAL: Milkshape 3D: Multitextures and Lights in LWO.
TUTORIAL: Milkshape 3D: Make a Tunnel and Export as LWO to Doom 3.
TUTORIAL: Milkshape 3D: Embedding GUI's into your model
I've edited the title a little to make it search freindly and made this a sticky.