CCG/Example: Buildable
From TrainzOnline
Contents |
Buildable
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.
carriageshed2.texture.txt, carriageshed.texture.txt - Various texture.txt files.
- See Texture.txt files for more information.
carriageshed2.tga, carriageshed.tga - Various texture files.
carriageshed.im - The buildable mesh file.
carriageshed.lm.txt -Level of Detail (or `LOD') file.
- See the section on LOD meshes for more information.
carriageshedlow.im - The low quality LOD mesh. Referenced in the carriageshed.lm.txt file.
Config.txt File Listing
kuid <kuid:56113:1007>
trainz-build 2.5
category-class "BB"
category-region "AU"
category-era "2010s"
username "testBuildable"
kind "buildable"
light 1
description "This is a test Buildable asset."
mesh-table
{
default
{
mesh "carriageshed.lm"
auto-create 1
}
}
attached-track
{
track_0
{
track <kuid:61119:38114>
vertices
{
0 "a.track0a"
1 "a.track0b"
}
}
track_1
{
track <kuid:61119:38114>
vertices
{
0 "a.track0a"
1 "a.track0b"
}
}
}
kuid-table
{
0 <kuid:61119:38114>
}
thumbnails
{
0
{
width 240
height 180
image "thumb.jpg"
}
}
Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip.
