CCG/Example: Buildable

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(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'''...)
 
 
(One intermediate revision by one user not shown)
Line 15: Line 15:
  
 
'''carriageshed2.texture.txt, carriageshed.texture.txt''' - Various texture.txt files.  
 
'''carriageshed2.texture.txt, carriageshed.texture.txt''' - Various texture.txt files.  
:<font color="red">See the section on Texture.txtfiles on Page 96 for more information.</font>
+
: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.
:<font color="red">See the section on LOD meshes on Page 370 for more information.</font>
+
: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:

CCG buildable dir.jpg


[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.


[edit] Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools