CCG/Example: Track

From TrainzOnline
< CCG
Revision as of 17:22, 15 June 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

Track

Directory Structure

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

CCG 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 - The indexed mesh used for the track asset. Should be named "default.im".

rail.texture.txt, rail.tga, track.texture.txt, track.tga, track-track.texture.txt - The texture files used by this track asset. 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              40
grounded               0.4
isroad                 0
istrack                1
length                 2
repeats                1
rgb                    255,200,0
shadows                0
upright                0
visible-on-minimap     1
width                  4
kuid                   <kuid:56113:1006>
trainz-build           2.5
category-class         "TR"
category-region        "00"
category-era           "2000s"
username               "testTrack"
kind                   "track"
description            "Sample Track."
  
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