CCG/Example: Buildable
From TrainzOnline
< CCG(Difference between revisions)
(New page: ==Buildable== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_buildable_dir.jpg ===Required Files=== '''config.txt'''...) |
m (cross ref links added) |
||
Line 15: | Line 15: | ||
'''carriageshed2.texture.txt, carriageshed.texture.txt''' - Various texture.txt files. | '''carriageshed2.texture.txt, carriageshed.texture.txt''' - Various texture.txt files. | ||
− | : | + | :See [[.texture.txt_Files|Texture.txt files]] for more information. |
'''carriageshed2.tga, carriageshed.tga''' - Various texture files. | '''carriageshed2.tga, carriageshed.tga''' - Various texture files. | ||
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.</font> |
'''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. |
Revision as of 16:54, 23 June 2011
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.</font>
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.