CCG/Example: Tunnel

From TrainzOnline
< CCG
Revision as of 17:22, 15 June 2011 by Windwalkr (Talk | contribs)

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

Note: This page describes obsolete asset formats (trainz-build prior to 2.9) and should be removed. The current equivalent of this format is KIND Track.


Contents

Tunnel

Directory Structure

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

CCG tunnel dir1.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.

tunnel_QR_end.im, tunnel_QR_start.im - The indexed meshes used at each end of the tunnel.

darkstone.tga, wire.tga, qr_portal.tga - The texture files used by the indexed meshes for this asset.

darkstone.texture.txt, wire.texture.txt, qr_portal.texture.txt - the texture.txt files for the various textures used in the asset, usually generated when the model is exported. See the section on Texture.txt files on Page 96 for more information.


Config.txt File Listing

bendy                  0
carrate                0
casts_shadows          0
endlength              20
grounded               0
isroad                 0
istrack                1
length                 20
repeats                0
rgb                    180,180,180
shadows                0
upright                0
visible-on-minimap     1
width                  7.9
kuid                   <kuid:171456:100024>
trainz-build           2.9
category-class         "TT"
category-region        "AG"
category-era           "1830s"
username               "testTunnel"
kind                   "bridge"
bridgetrack            <kuid:-1:15>
height                 9.305
trackoffsets           0.01
initiator              "tunnel_qR_start"
terminator             "tunnel_qR_end"
description            "Test Tunnel 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