CCG/Example: MOCrossing
Contents |
MOCrossing
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.
crossing_bell_1.wav - The environment sound of the crossing.
anim.kin - The animation file for the crossing.
level_crossing_oz.im - The default mesh of the crossing.
level_crossing_oz.texture.txt, level_crossing_oz.tga - Texture files for the default mesh of the crossing. See the section on Texture.txt files on Page 96 for more information.
level_crossing_oz_lights.texture.txt, level_crossing_oz_lights.tga - The texture files for the signal lights.
level_crossing_oz_signs.bmp, level_crossing_oz_signs.tga, level_crossing_oz_signs-level_crossing_oz_signs.texture.txt - The texture files for the crossing signs.
Config.txt File Listing
kuid <kuid:56113:1261>
trainz-build 2.5
category-class "WX"
category-region "AU"
category-era "1970s;1980s;1990s;2000s;2010s"
username "testMOCrossing"
kind "mocrossing"
description "An example MOCrossing Asset."
soundscript
{
dayloop
{
repeat-delay 0,0
instance 10,100
sound
{
0 "crossing_bell_1.wav"
}
}
}
mesh-table
{
default
{
mesh "level_crossing_oz/level_crossing_oz.im"
anim "level_crossing_oz/anim.kin"
auto-create 1
}
}
attached-track
{
road1
{
track <kuid:-1:100409>
useadjoiningtracktype 0
vertices
{
0 "a.road0a"
1 "a.road0b"
}
}
track1
{
track <kuid:-1:100396>
useadjoiningtracktype 0
vertices
{
0 "a.track0a"
1 "a.track0b"
}
}
track2
{
track <kuid:-1:100396>
useadjoiningtracktype 0
vertices
{
0 "a.track1a"
1 "a.track1b"
}
}
}
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
