World of Trainz Home Page Shop at World of Trainz Downloads Upcoming Projects Tutorials Forum About Links  
 
 

Gmax Locomotive Interior Tutorial

Chapter 5 Exporting the Mesh

 

In this tutorial you will learn how to export the locomotive's interior and the levers and the directory structure for the interior.

 

 

To complete these tutorials with the dimensions listed herein you will need the following setup
1. Open the "Units Setup.." dialog from the "Customize" menu and select the "System Units Setup" button. In the "System Units Scale", use the system unit scale of 1.0 units = 1m
2. In the "Units Setup set "Display Units Scale" to Metric Meters.

1. Where to export.

The correct location to export the mesh to is in it's own directory within the Trains directory. Open windows explorer and navigate to <Path>Auran\TRS2004\World\Custom directory where Path is the location where you installed TRS2004 into. You may need to create the Trains directory.

Once you have navigated to the folder create a new folder called Tutorial_Interior. Once you have the folder created return to 3ds and open the Locomotive tutorial's interior and make sure you have nothing selected and from the "File" menu select "Export". Navigate to the Tutorial_Interior folder you just created and type in the filename Tutorial_Interior.im. Before you hit the "Save" button change the file type in the drop down window to "Trainz Format(*im, *kin, *pm). Once you have this selected click on the "Save" button. 3ds will begin to convert and export the mesh into the Trainz .im format. Open up the lever mesh file and export it to the same directory. Use the file name Throttle_Lever.im. Export the same mesh again as Reverser_lever.im and once again as Automatic_Brake.im. Now open up the needles file and export it as Needle.im and then run the resource collector as shown below.

 

 

 

Figure 1 Export

 

2. Resource collector.

Now that you have the meshes exported you will notice that there are no textures included in the folder, just the main mesh and a few text files. The text files are what Trainz uses to find the textures. If you rename a texture.txt file, Trainz will be unable to find the mesh and your object will show up white.

To export the textures go to the "Utilities" tab and select the "More" button. In the window that appears select the "Resource Collector" it should automatically appear in one of the slots in the "Utilities" menu. Close the more "Utilities" window and in the "Output Path" navigate to the folder where you exported the mesh to. Once you have the path entered make sure the "Collect Bitmaps/Photometric Files" checkbox is selected and click on the "Begin" button. Repeat the procedure for the lever and needle file.

 

 

Figure 2 Resource Collector on the utilities menu

 

HOME

| DOWNLOADS | UPCOMING PROJECTS | FEEDBACK | TUTORIALS | 3DS, GMAX TIPS | ABOUT | FORUM | SOFTWARE | LINKS

Copyright © 2004 P. Campbell. All rights reserved.

Revised: September 23, 2004
Site questions? webmaster