CCG/Example: Bridge

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==Bridge== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_bridge_dir.jpg ===Required Files=== '''config.txt''' - The...)
 
Line 1: Line 1:
 
==Bridge==
 
==Bridge==
  
 
+
<font color="red">Is this info out of date??</font>
 +
 
===Directory Structure===
 
===Directory Structure===
 
A typical asset of this kind has the following File\Directory Structure:
 
A typical asset of this kind has the following File\Directory Structure:
Line 16: Line 17:
 
'''default.im''' - The middle section of the tunnel asset. This mesh is also used as the preview image. Must be named "default.im" and placed in the base directory.
 
'''default.im''' - The middle section of the tunnel asset. This mesh is also used as the preview image. Must be named "default.im" and placed in the base directory.
  
rustypanel.texture.txt, rustypanel.tga, steelbraces.bmp, steelbraces.texture.txt, steelbraces.tga, steelbraves-steelbraces.texture.txt, black.texture.txt, black.tga - Texture files used by the indexed meshes of this bridge asset. See the section on Texture.txt files on Page 96 for more information.
+
'''rustypanel.texture.txt, rustypanel.tga, steelbraces.bmp, steelbraces.texture.txt, steelbraces.tga, steelbraves-steelbraces.texture.txt, black.texture.txt, black.tga'' - Texture files used by the indexed meshes of this bridge asset.
 +
:<font color="red">See the section on Texture.txt files on Page 96 for more information.</font>
  
us_bridge_steel_shadow.im - The indexed mesh file of the bridge shadow.
+
'''us_bridge_steel_shadow.im''' - The indexed mesh file of the bridge shadow.
  
  

Revision as of 20:43, 8 June 2011

Contents

Bridge

Is this info out of date??

Directory Structure

A typical asset of this kind has the following File\Directory Structure:

CCG bridge dir.jpg


Required Files

config.txt - The config file for the asset.

thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.

default.im - The middle section of the tunnel asset. This mesh is also used as the preview image. Must be named "default.im" and placed in the base directory.

'rustypanel.texture.txt, rustypanel.tga, steelbraces.bmp, steelbraces.texture.txt, steelbraces.tga, steelbraves-steelbraces.texture.txt, black.texture.txt, black.tga - Texture files used by the indexed meshes of this bridge asset.

See the section on Texture.txt files on Page 96 for more information.

us_bridge_steel_shadow.im - The indexed mesh file of the bridge shadow.


Config.txt File Listing

bendy               0
carrate             0
casts_shadows       1
endlength           0
grounded            0
isroad              0
istrack             1
length              20
repeats             1
rgb                 200,100,0
shadows             0
upright             0
visible-on-minimap  1
width               7.9
kuid                <kuid:171456:100031>
trainz-build        2.9
category-class      "TB"
category-region     "US"
category-era        "1830s"
username            "testBridge"
kind                "bridge"
bridgetrack         <kuid:-3:10049>
height              -15
trackoffsets        2.5,0
description         "Test Bridge asset."
 
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.


Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools