CCG/Example: Double-Track

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

Double-Track

Directory Structure

A typical asset of this kind has the following File\Directory Structure:

CCG double track dir1.jpg


Required Files

config.txt - The config file for the asset.

thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.

default.im - Though the double track references a "single track" asset to be used as the track in-game, an actual double track model must be present to be used as the preview mesh in the surveyor panel.

This indexed mesh is not referenced in the config.txt of the asset. In order to be used, the indexed mesh MUST be named "default.im".

rail_oz.texture.txt, rail_oz.tga, railsection_oz_sleepers.tga, railsection_oz_sleepers_alpha.bmp, railsection_oz_sleepers-railsection_oz_sleepers_alpha.texture.txt - The texture files used for the "default.im" indexed mesh. See the section on Texture.txt files on Page 96 for more information.


Config.txt File Listing

bendy              1
carrate            0
casts_shadows      0
endlength          0
grounded           0.4
isroad             0
istrack            1
length             20
repeats            1
rgb                0,0,0
shadows            0
upright            0
visible-on-minimap 1
width              7.9
kuid               <kuid:171456:100032>
trainz-build       2.5
category-class     "TR"
username           "testDoubleTrack"
kind               "bridge"
bridgetrack        <kuid:-1:100396>
height             0
trackoffsets       -2.5,2.5
category-region    "00"
category-era       "1840s"
description        "Test double track asset."
thumbnails
{
  0
    {
      image        "thumb.jpg"
      width        240
      height       180
    }
}


Download this asset

This asset is available for download from the TRS2006 website at:

http://files.auran.com/TRS2006/Downloads/Example_Download.zip


Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools