CCG/Example: TurnTable (Not animated)

From TrainzOnline
< CCG
Revision as of 17:32, 13 June 2011 by Pev (Talk | contribs)

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

Contents

Turntable (Not animated)

Directory Structure

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

CCG turntable not animated dir1.jpg


Required Files

config.txt - The config file for the asset.

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

various.tga - The texture graphic files for the various textures used in the asset.

various.bmp - The opacity texture files used in the asset.

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

idle.wav - The sound file used in the asset.

base.im, turntable.im - The indexed meshes used for the asset.


Config.txt File Listing

kuid                          <kuid:171456:100030>
kind                          "turntable"
username                      "testTurntable"
trainz-build                  2.9
category-class                "BR"
category-region               "00"
category-era                  "1850s;1860s;1870s;1880s"
snapmode                      1
dighole                       4,4
light                         1
angle                         0,10,20,30,40,50,60,180,190,200,210,220
looping                       0
description                   "Test turntable asset."
mesh-table
{
  default
    {
      mesh                    "base/base.im"
      auto-create             1
    }
  turntable
    {
      mesh                    "turntable/turntable.im"
      auto-create             1
    }
}
  
attached-track
{
  track_turntable
    {
      track                   <kuid:11:32001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.itrack0a"
          1                   "a.itrack0b"
        }
    }
  track0_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack0a"
          1                   "a.otrack0b"
        }
    }
  track1_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack1a"
          1                   "a.otrack1b"
        }
    }
  track2_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack2a"
          1                   "a.otrack2b"
        }
    }
  track3_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack3a"
          1                   "a.otrack3b"
        }
    }
  track4_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack4a"
          1                   "a.otrack4b"
        }
    }
 
 etc up to
 
  track10_base
    {
      track                   <kuid:9:50001>
      useadjoiningtracktype   0
      vertices
        {
          0                   "a.otrack10a"
          1                   "a.otrack10b"
        }
    }
}
  
kuid-table
{
  0                           <kuid:9:50001>
  1                           <kuid:11:32001>
}
  
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