CCG/Example: Mesh-Reducing-Track

From TrainzOnline
< CCG
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

Mesh-Reducing-Track

Directory Structure

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

CCG mesh reducing track dir1.jpg


Required Files

config.txt - The config file for the asset.

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

brick.texture.txt, brick.tga,meshwall.jpg, wall.texture.txt, wall.tga - The texture files used by the indexed meshes for this asset. See the section on Texture.txt files on Page 96 for more information.

default.im - The "short" mesh, which is the more detailed mesh and is used when the camera is close to the spline. This mesh is also used as the preview mesh in surveyor. Must be named "default.im".

rockwall.im - The filename of the "long mesh", which must be placed in a subdirectory of the same name as the mesh.

Only the file name is entered, not the directory name nor the file extension. For example, the full pathname and extension is "rockwall/rockwall.im". Enter only "rockwall" in the text input box.


Config.txt File Listing

bendy                 0
carrate               0
casts_shadows         0
endlength	       0
grounded              0.4
isroad                1
istrack               0
length                4
repeats               4
rgb                   0,0,0
shadows               0
upright               0
visible-on-minimap    1
width                 7.9
kuid                  <kuid:56113:1008>
trainz-build          2.5
category-class        "TR"
username              "testMeshReducingTrack"
kind                  "track"
unit_mesh             "rockwall"
category-region       "00"
category-era          "1980s;2000s;2010s"
description	       "Test Mesh Reducing Track asset. This asset appears in the `splines' menu in surveyor.
                       The asset has two distinct meshes, one for far and one for close. 
                       This illustrates the way in which Mesh-Reducing-Track works in-game."
  
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