CCG/Kind: Bridge Tunnel

From TrainzOnline
< CCG
Jump to: navigation, search

Note: This page describes obsolete asset formats (trainz-build prior to 2.9) and should be removed. The current equivalent of this format is KIND Track.


Contents

KIND: BRIDGE – TUNNEL

This kind is used for creating road and rail tunnels.


Config.txt :

kuid                   <KUID2:####:#####:1>
kind                   "bridge"
length                 20
bendy                  1
bridgetrack            <KUID:###:#####>
trackoffsets           -2.5, 2.5
height                 8
istrack                1
initiator              "oz_tunnel_start"
terminator             "oz_tunnel_end"
endlength              20
kuid-table
{
  0                    <KUID:###:#####>
}
username               "my tunnel"
description            "blah blah"
trainz-build           2.7
category-class         "TB"
category-region        "AU"
category-era           "2000s"


Breakdown:

type Surveyor type ­ e.g. bridge, tunnel or rail.

region Surveyor region.

length Length in metres of each bridge (tunnel) segment.

bridgetrack Kuid for the type of rail or road used on the 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 trackoffsets can be connected together.

For a single track tunnel, use: trackoffsets 0.01


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.

istrack Value 0 = This is a road bridge (tunnel), Value 1 = This is a rail bridge (tunnel)


Initiator Name of the model used 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 metres of the initiator and terminator models. Refer to Page 94 for information on constructing initiator and terminator models.

For additional notes on splines refer to Page 388.



Return to CCG Index

Content Creator's Guide

Personal tools