CCG/Example: Buildable
From TrainzOnline
< CCG(Difference between revisions)
m (cross ref links added) |
|||
| Line 22: | Line 22: | ||
'''carriageshed.lm.txt''' -Level of Detail (or `LOD') file. | '''carriageshed.lm.txt''' -Level of Detail (or `LOD') file. | ||
| − | :See the section on [[LM.txt_file|LOD meshes]] for more information. | + | :See the section on [[LM.txt_file|LOD meshes]] for more information. |
'''carriageshedlow.im''' - The low quality LOD mesh. Referenced in the carriageshed.lm.txt file. | '''carriageshedlow.im''' - The low quality LOD mesh. Referenced in the carriageshed.lm.txt file. | ||
Latest revision as of 16:54, 23 June 2011
Contents |
[edit] Buildable
[edit] Directory Structure
A typical asset of this kind has the following File\Directory Structure:
[edit] 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"
}
}
[edit] Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip.
