![]() |
![]() |
Home > Tutorials > Spline File and Folder Tutorial In this tutorial you will learn where to place the files and the naming conventions used for files and folders for a new Trainz Spline item. NOTE The name tutorial is used for the folder structure. Replace tutorial with the name of your model.
|
|||||||||||||||||||||
There are four types of spline directory structures Type 1 Spline Object
|
|||||||||||||||||||||
|
Type 1 Spline Object 1. Custom folder The following screen shot shows the directory structure for the custom folder. Some folders may not be present on your machine. If the splines directory is not present then you will need to create it.
|
|||||||||||||||||||||
Figure 1 custom folder contents
|
|||||||||||||||||||||
2. Folders and their names Open the splines folder. Create a folder for the project and use an appropriate name add _spline to the end of the folder and avoid using spaces in the name. . For a normal spline object there are no subfolders required however there is an optional folder called the tutorial_spline_object
I have used tutorial for the name of this project. Replace tutorial with the name of your mesh.
|
|||||||||||||||||||||
Figure 2 Correctly named optional spline object folder
|
|||||||||||||||||||||
3. File names Once the folder has been named correctly then you can move your mesh and its textures into the main folder. Rename the mesh as shown in Figure 3 but do not rename any of the other files.
|
|||||||||||||||||||||
Figure 3 Renamed .im file
|
|||||||||||||||||||||
Figure 4 Object file named correctly
|
|||||||||||||||||||||
| Top | |||||||||||||||||||||
|
1. Custom folder The following screen shot shows the directory structure for the custom folder. Some folders may not be present on your machine. If the tracks directory is not present then you will need to create it.
|
|||||||||||||||||||||
Figure 1 custom folder contents |
|||||||||||||||||||||
2. Folders and their names Open the tracks folder. Create a folder for the project and use an appropriate name add _track to the end of the folder and avoid using spaces in the name. For a normal track object there are no subfolders required however there is an optional folder called the tutorial_track_tex
I have used tutorial for the name of this project. Replace tutorial with the name of your mesh.
|
|||||||||||||||||||||
Figure 2 Correctly named optional track tex folder
|
|||||||||||||||||||||
3. File names Once the folder has been named correctly then you can move your mesh and its textures into the main folder. Rename the mesh as shown in Figure 3 but do not rename any of the other files.
|
|||||||||||||||||||||
Figure 3 Renamed .im file
Figure 4 Tex files named correctly
|
|||||||||||||||||||||
| Top | |||||||||||||||||||||
|
1. Custom folder The following screen shot shows the directory structure for the custom folder. Some folders may not be present on your machine. If the tracks directory is not present then you will need to create it.
|
|||||||||||||||||||||
Figure 1 custom folder contents |
|||||||||||||||||||||
2. Folders and their names Open the tracks folder. Create a folder for the project and use an appropriate name add _bridge to the end of the folder and avoid using spaces in the name. For a normal bridgeobject there are no subfolders required however there are 3 optional folders. To complicate things further the start and end subfolders may also contain a further subfolder for the shadow files.
I have used tutorial for the name of this project. Replace tutorial with the name of your mesh.
|
|||||||||||||||||||||
Figure 2 Correctly named optional sub folders
|
|||||||||||||||||||||
3. File names Once the folder has been named correctly then you can move your mesh and its textures into the main folder. Rename the mesh as shown in Figure 3 but do not rename any of the other files.
|
|||||||||||||||||||||
Figure 3 Renamed .im file
|
|||||||||||||||||||||
4. Bridge start file names (Optional)
|
|||||||||||||||||||||
Figure 4 Bridge start files named correctly
Figure 5 Bridge start shadow files named correctly
|
|||||||||||||||||||||
5. Bridge end file names (Optional)
|
|||||||||||||||||||||
Figure 6 Bridge end files named correctly
Figure 7 Bridge end shadow files named correctly
|
|||||||||||||||||||||
6. Bridge shadow file names (Optional)
|
|||||||||||||||||||||
Figure 8 Bridge shadow files named correctly
|
|||||||||||||||||||||
| Top | |||||||||||||||||||||
|
1. Custom folder The following screen shot shows the directory structure for the custom folder. Some folders may not be present on your machine. If the tracks directory is not present then you will need to create it.
|
|||||||||||||||||||||
Figure 1 custom folder contents |
|||||||||||||||||||||
2. Folders and their names Open the tracks folder. Create a folder for the project and use an appropriate name add _tunnel to the end of the folder and avoid using spaces in the name. For a normal tunnel object there are two subfolders required.
I have used tutorial for the name of this project. Replace tutorial with the name of your mesh.
|
|||||||||||||||||||||
Figure 2 Correctly named subfolders
|
|||||||||||||||||||||
3. File names Once the folder has been named correctly then you can move your mesh and its textures into the main folder. Rename the mesh as shown in Figure 3 but do not rename any of the other files.
|
|||||||||||||||||||||
Figure 3 Renamed .im file
|
|||||||||||||||||||||
4. Tunnel start file names |
|||||||||||||||||||||
Figure 4 Tunnel start files named correctly
|
|||||||||||||||||||||
5. Tunnel end file names
|
|||||||||||||||||||||
Figure 5 Tunnel end files named correctly
|
|||||||||||||||||||||
|
Was this tutorial helpful? Not enough or too much detail? Points not explained properly? Suggest any improvements?
Please use the Tutorial Enquiry Form
Download this tutorial here as a PDF document. |
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
|