CCG/Kind: Track

From TrainzOnline
< CCG
Revision as of 11:38, 17 August 2011 by Windwalkr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: TRACK - RAILS

This is used for creating rails.

Config.txt :

kuid               <KUID2:####:#####:1>
kind               "track"
trainz-build       2.7
rgb                255,200,0
length             4
istrack            1
width              4
chunky_mesh        "mstand_tex"
chunky_info        0, 2, 1.2, 0.2, 0.85, 0.3, 0.7
username           "my track"
description        "blah blah"
trainz-build       2.5
category-class     "TR"
category-region    "UK"
category-era       "1990s"


Breakdown:

region Surveyor region.

type Surveyor type.

rgb This value should be left as default.

length Length of track piece.

istrack Sets whether the track is a rail for trains or not. 1 = This is a rail track.

width Width of track in metres.

chunky_mesh Name of texture to apply to rail.

chunky_info These values (in metres) define the shape of the mesh created for the track. See drawing below:


chunky_info texture file The texture file with the track texture on the left and a rail texture on the right is 128 x 128 uncompressed tga, and may have an alpha layer. The texture is mapped to the mesh shape above using the values in the drawing below, as fractions of the 128 pixel width.

CCG chunky track texture.jpg

Fraction 0.01 0.225 0.525  0.74  0.75  0.83   0.91   0.99
Pixels     1    29    67    95    96    106    117    127


Return to CCG Index

Content Creator's Guide

Personal tools