![]() |
![]() |
Home > Tutorials > Gmax Locomotive Interior Tutorial > TRS2006 Chapter 6
Gmax Locomotive Interior TutorialChapter 6 Setting up the Config.txt file In this tutorial you will learn how to create a working Config.txt file for the interior. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
*Auran have stated that in future releases configs will not be directly edited. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Using CCP Switch back to CCP from Gmax and in the tree view ensure the "default" entry of the "mesh-table" is selected. In the "Tag Space" click on the file selection button and use the "Load Mesh" file explorer to navigate to the folder containing the mesh. Select the mesh and click on OK. The path to the mesh should now be showing up in the mesh tag. While we have the default container selected right click in the tree view and add the following tags. auto-create ensure the check box is selected which activates that entry. In the file tree view right click and add the following tags. company Also add the following container. cameralist
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Now that we have the basic tags added and configured and the default mesh located we can begin adding the tags for the lever and gauges. In CCP tree view ensure the mesh-table entry is selected and add the following mesh names; speedo_needle Now within the first two "needle" mesh conatiners add the following tags kind In the other three "lever" mesh conatiners add the following tags kind Once you have all the tags added then we need to customize each tag to suit our interior. For each tag of the first speedo_needle container add the following values.
For each tag of the bplocomain_needle container add the following values.
For each tag of the throttle_lever container add the following values.
For each tag of the reverser _lever container add the following values.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For each tag of the trainbrake_lever container add the following values.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Using a text file editor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
1. Config entries In the following table the required entries for the interior and a brief description are shown. There are many more possibilities for TRS2004 than what is shown here. Create a new text document from within your selected text editor and enter the following information.
Once you have the text entered save the file to the root directory of the locomotive. In this case the folder is called Tutorial_Interior and name the file config.txt NOTE Do not copy and paste from this tutorial.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Once you have the config created and saved then it is time to see if our locomotive will show up in Trainz. Before we start trainz up we need to edit the settings in the trainzoptions.txt file. Open the TRS2006 directory and open the trainzoptions.txt file. Enter the following line on its own line -freeintcam You could also use TrainzObjects to enter the setting. Save and close the file and then navigate to the tutorial_loco and open the config file. Find the line interior <KUID:-1:101475> and change it to interior <KUID:86105:55999> Replace the 86105:55999 with the number you have been issued for your interior. Save and close the file and start Trainz up using CMP ensuring you "Commit" the changes to the asset first and then go to surveyor. The loco should be listed as Loco Tutorial. Add the loco to a suitable track location and switch to driver. Switch to the interior view and using the Page Up, Page Down and the arrow keys find a suitable viewing location and either write the values down that appear at the bottom left of the screen or hit the screenshot key. This is the value for the camera list. If you want more than one camera location then continue panning around and writing down the camera locations. When you exit TRS then use CCP to enter the numbers into the cameralist container.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3. Settings Now that we have had a look in trainz and seen that everything works the way it should levers and gauges etc we need to have a closer look at the gauge and lever blocks and see what each line does and how to customize them for your own situation.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4. Final Note Although we have a working loco interior it is by no means complete and there are many items that can be added and configured using scripting. There are many other types of attachments and they are all listed in the Content Creation Guidelines. Texturing is very basic for the interior and a lot more work is required to bring it up to a releasable product. This type of interior does not use animated levers. Animated levers require either a collision box or a script to control them. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Trainz and Trainz Railroad Simulator are trademarks of AuranBest viewed at 1024 x 768 or higher Pages best viewed with Cooper and Cooper Black font installed. Copyright © 2007
P. Campbell. All rights reserved. Revised:
June 13, 2007
|