CCG/Example: Fixed Track (Simple)
From TrainzOnline
Contents |
Fixed Track (Simple)
Directory Structure
A typical asset of this kind has the following File\Directory Structure:
Required Files
config.txt - The config file for the asset.
thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.
checkrail.texture.txt, checkrail.tga, rail_oz.texture.txt, rail_oz.tga, rail_oz_bump.texture.txt, rail_oz_bump.tga, railsection_ger_sleepersa.tga, railsection_ger_sleepersa_railsection_ger_sleepersa.texture.txt - The texture files used in the indexed mesh of this asset.
See the section on Texture.txt files on Page 96 for more information.
turnoutdiamond.im - The indexed mesh for this Fixed Track asset.
Config.txtxFile Listing
kuid <kuid:171456:100017> trainz-build 2.9 category-class "TF" category-region "00" category-era "1980s;1990s;2000s;2010s" username "testFixedTrack(Diamond)" kind "fixedtrack" description "Test Fixed Track asset." height-range -50,50 preview-mesh-kuid <kuid:171456:60520> use-gradient-track 1 mesh-table { default { mesh "turnoutdiamond.im" auto-create 1 effects { arrow0 { kind "attachment" att "a.track0a" default-mesh <kuid:-3:10092> surveyor-only 1 } arrow1 { kind "attachment" att "a.track0b" default-mesh <kuid:-3:10092> surveyor-only 1 } arrow2 { kind "attachment" att "a.track1a" default-mesh <kuid:-3:10092> surveyor-only 1 } arrow3 { kind "attachment" att "a.track1b" default-mesh <kuid:-3:10092> surveyor-only 1 } } } } attached-track { track0 { track <kuid:67598:38001> useadjoiningtracktype 0 vertices { 0 "a.track0a" 1 "a.track0b" } } track1 { track <kuid:67598:38001> useadjoiningtracktype 0 vertices { 0 "a.track1a" 1 "a.track1b" } } } kuid-table { 0 <kuid:-3:10092> 1 <kuid:67598:38001> 2 <kuid:171456:60520> } 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