CCG/Example: Bridge

From TrainzOnline
< CCG
Revision as of 20:38, 8 June 2011 by Pev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Bridge

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