CCG/Example: MOSignal
From TrainzOnline
< CCG
Contents |
MOSignal
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.
opacity.tga, opacity-opacity.texture.txt, concrete.texture.txt, concrete.tga, signal_q.tga - The texture files used for the signal asset. See the section on Texture.txt files on Page 96 for more information.
corona_green.tga, corona_red.tga, corona_white.tga, corona_yellow.tga - The corona textures used to light the signals.
qr_01.im - The signal indexed mesh file.
Config.txt File Listing
kuid <kuid:56113:1266> trainz-build 2.5 category-class "WA" category-region "AU" category-era "1980s;1990s;2000s;2010s" username "testMOSignal" kind "mosignal" function "TrackSignal" description "Sample MOSignal asset." trackside -2.5 signals { 0 { light 11 } 2 { light 10,8,6,4,2,0 } 3 { light 10,8,7,5,3,1 } 4 { light 10 } 5 { light 9,8,6,4,2,0 } 6 { light 9,8,7,5,3,1 } 8 { light 9 } 9 { light 11,12,13 } } lights { 0 { corona "corona_white.tga" } 1 { corona "corona_white.tga" } 2 { corona "corona_white.tga" } 3 { corona "corona_white.tga" } 4 { corona "corona_white.tga" } 5 { corona "corona_white.tga" } 6 { corona "corona_white.tga" } 7 { corona "corona_white.tga" } 8 { corona "corona_white.tga" } 9 { corona "corona_green.tga" } 10 { corona "corona_yellow.tga" } 11 { corona "corona_red.tga" } 12 { corona "corona_white.tga" } 13 { corona "corona_white.tga" } } mesh-table { default { mesh "qR_01.im" auto-create 1 } } 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