File location: ...\Trainz\world\custom\splines\
Splines are a useful way of making things like fences and roads in Trainz™.
Typical directory structure for custom splines should be:
| World | ||||||
| custom | ||||||
| splines | ||||||
| Custom_spline | ||||||
| Config.TXT | ||||||
| Custom_spline.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.tecture.TXT | ||||||
| Custom_spline (Optional secondary spline) | ||||||
| Custom_spline.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.tecture.TXT | ||||||
File location: ...\Trainz\world\custom\track\
Track folder is used for rails, bridges and tunnels.
Typical Directory Structure for custom Track Rails should be:
| World | ||||||
| custom | ||||||
| track | ||||||
| Custom_track | ||||||
| Config.TXT | ||||||
| Custom_track.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.tecture.TXT | ||||||
| Custom_track_tex (For in game track derived from chunky mesh) | ||||||
| custom_track_tex.TGA | ||||||
| custom_track_tex.tecture.TXT | ||||||
This is used for creating rails.
Config.TXT File Example for Rails |
|
kuid <KUID:###:#####> |
| TAGS | DESCRIPTIONS |
| type | surveyor type |
| region | surveyor region |
| rgb | color used for display in mini map |
| length | length of track piece |
| istrack | sets whether the track is a rail for trains or not. 1 is for rail track, 0 is not rail. |
| width | width of track in meters |
| chunky_mesh | name of texture to apply to rail |
| chunky_info | these values (in meters) define the shape of the mesh created for the track. See drawing below: |
![]() |
|
File location: ...\Trainz\world\custom\track\
This kind can also be configured to create splines that can be used for placing two or more tracks using the trackoffsets tag.
Config.TXT File Example for Double Track |
|
kuid <KUID:###:#####> |
| TAGS | DESCRIPTIONS |
| type | surveyor type -- bridge, tunnel or rail. |
| region | surveyor region |
| length | length in meters of each bridge piece |
| bridgetrack | KUID for the type of rail used on bridge |
| trackoffsets | distance in meters the rail s are attached to the center of the bridge spline. Any number of tracks can be attached to the spline, only splines with the same track offsets can be connected together |
| height | 0 is used for double tracks |
| rgb | color used for display in mini map |
| istrack | 1 = is a rail bridge |
File location: ...\Trainz\world\custom\track\
Typical Directory Structure for custom Track Road should be:
| World | |||||
| custom | |||||
| track | |||||
| Custom_road | |||||
| Config.TXT | |||||
| Custom_road.IM | |||||
| x.TGA | |||||
| y.BMP | |||||
| *.tecture.TXT | |||||
This is used for creating roads.
Config.TXT File Example for Roads |
|
kuid <KUID:###:#####> |
| TAGS | DESCRIPTIONS |
| length | length of track segment in meters |
| grounded | height in meters for the road to be offset from terrain |
| istrack | 0 = is not train tracks |
| width | width of track mesh in meters |
| bendy | switches how track is bent on corners, set as 1 allows the mesh to be deformed as the spline is bend around corners |
| isroad | specifies track is a road with cars, set to 1 for cars to appear on road |
| carrate | Defines traffic density on road (minimum seconds between each car generated). 0 = No traffic. Number must be greater than 3 |
| uncached_ alphas | this is used in certain situations to improve alpha sorting. This should only be set to 1 for tracks that use an alpha texture and are always placed fat near the ground (and are not used on bridges or turntables) |
| File location: | ...\Trainz\world\custom\splines\ |
| or: | ...\Trainz\world\custom\track\ |
Typical Directory Structure for custom Track Bridge should be:
| World\ | ||||||
| custom\ | ||||||
| splines\ (or track\) | ||||||
| Custom_bridge\ | ||||||
| Config.TXT | ||||||
| Custom_bridge.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
| Custom_bridge_start\ (Optional initiator file) | ||||||
| Custom_bridge_start.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
| Custom_bridge_start (Optional shadow file) | ||||||
| Custom_bridge_end\ (Optional terminator file) | ||||||
| Custom_bridge_end.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
| Custom_bridge_end (Optional shadow file) | ||||||
| Custom_bridge_shadow\(Optional shadow file) | ||||||
| Custom_bridge_shadow.IM | ||||||
| black.TGA | ||||||
| black.texture.TXT | ||||||
This kind is used for creating road and rail bridge.
Config.TXT File Example for a Bridge |
|
kuid <KUID:###:#####> |
| TAGS | DESCRIPTIONS |
| type | surveyor type - bridge, tunnel or rail |
| region | surveyor region |
| length | length in meters of each bridge piece |
| bridgetrack | KUID for the type of rail or road used on bridge |
| trackoffsets | distance in meters the rail s are attached to the center of the bridge spline. Any number of tracks can be attached to the spline, only splines with the same track offsets can be connected together |
| height | height from the track level to the base of the bridge supports, should be negative for bridges. |
| rgb | color used for display in mini map |
| casts_shadows | defines whether or not the shadows are cast . 1 = shadows on, 0 = shadows off. If shadows are on there needs to be a bridge_ shadow.IM model in a subfolder for the bridge and the initiator and terminator segments (if they are used) |
| istrack | 1 = is a rail bridge, 0 = road bridge |
| initiator | name of model to use at start of bridge, placed in subfolder with same name |
| terminator | name of model to use at end of bridge, placed in subfolder with same name |
| endlength | length in meters of the initiator and terminator models |
| File location: | ...\Trainz\world\custom\splines\ |
| or: | ...\Trainz\world\custom\track\ |
Typical Directory Structure for custom Track Tunnel should be:
| World\ | ||||||
| custom\ | ||||||
| splines\ (or track\) | ||||||
| Custom_tunnel\ | ||||||
| Config.TXT | ||||||
| Custom_tunnel.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
| Custom_tunnel\ | ||||||
| Custom_tunnel_start.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
| Custom_tunnel_end\ | ||||||
| Custom_bridge_end.IM | ||||||
| x.TGA | ||||||
| y.BMP | ||||||
| *.texture.TXT | ||||||
This kind is used for creating road and rail tunnels.
Config.TXT File Example for a Tunnel |
|
kuid <KUID:###:#####> |
| TAGS | DESCRIPTIONS |
| type | surveyor type -- bridge, tunnel or rail |
| region | surveyor region |
| length | length in meters of each bridge piece |
| bridgetrack | KUID for the type of rail or road used on bridge |
| trackoffsets | distance in meters the rail s are attached to the center of the bridge spline. Any number of tracks can be attached to the spline, only splines with the same track offsets can be connected together |
| height | the height value for tunnels should be positive and greater than the height of the ceiling of the tunnel, but less than the height of the tunnel entrance structure |
| rgb | color used for display in mini map |
| istrack | 1 = is a rail bridge, 0 = road bridge |
| initiator | name of model to use at start of bridge, placed in subfolder with same name |
| terminator | name of model to use at end of bridge, placed in subfolder with same name |
| endlength | length in meters of the initiator and terminator models |