![]() |
![]() |
3D Studio Max 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. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For editing the text files I use a program called Context. You can
use Notepad or any other text 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. If you are having trouble with the interior not showing up then you can download a working config.txt file here.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2. Viewing in Trainz 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 TRS2004 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 used for your interior. Save and close the file and start Trainz up and 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
|