DTS/Milkshape/Creating a Simple Shape

From TDN

Overview

This article assumes a basic working knowledge of Milkshape (MS3D), modelling within MS3D is not covered as it is beyond the scope of this tutorial. This tutorial assumes that you have the DTS plus exporter installed, if you don't then grab it here.

I've provided the WheelGT.obj file referred to in this article as well as the required art, the WheelGT.ms3d Milkshape file and an exported WheelGT.dts file here. Sorry, files not longer available!?

Importing Object/Assigning Materials

Import the WheelGT.obj Object file by going to File-->Import-->Wavefront OBJ The group of objects within the WheelGT.obj file will appear in the viewport as a black box, right click in the viewport and select 'Textured'.

Image:DTS_Milkshape_Wheel_1.jpg

Still there will be no change so click on the 'Groups' tab then select the 'col-1- <No Material>' object, in the Group section below click hide then change the name to 'col-1' and press 'Rename'. Then hide and rename the bounds mesh, while your at it rename the rest of the objects removing the '-' from the end of each one.

Select the tyre20 and tyre100 meshes by pressing 'Select' after each one then head over to the 'Materials' tab.

Select 'New', change the new materials name from 'Material01' to 'tyre' and click 'Rename'. Then press <none> and choose tyre.jpg from the BuggyGT folder and then click 'Assign' then finally click 'Emissive' and move the slider from black to white and you should be seeing the tyre textured.

Repeat this process for the meshes rim20 and rim100 but selecting the rim.jpg file this time.

Image:DTS_Milkshape_Wheel_2.jpg

Exporting DTS Object

Select File-->Export-->Torque DTS Plus - Ensure that the Scale option is set to 1.0 then Press ExportDTS and you're done, add the WheelGT.dts and all the appropriate art to YOURPROJECT/data/shapes/BuggyGT folder.

Open up your server/scripts/car.cs file and change the path to point at the WheelGT.dts file. While you're there you might like to give the BuggyGT some more horses under the bonnet (engineTorque) and play with the friction levels to make it steer a little better.