CCG/Example: TrainCar (Rollingstock)

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==Traincar (Rollingstock)== ===Directory Structure=== This is a boxcar example. A typical asset of this kind has the following File\Directory Structure: [[Image:CCG_traincar_rollingstoc...)
 
(broken download link removed)
 
Line 86: Line 86:
 
     }
 
     }
 
  }
 
  }
 
 
 
 
===Download this asset===
 
This asset is available for download from the TRS2006 website at:
 
 
http://files.auran.com/TRS2006/Downloads/Example_Download.zip
 
  
  

Latest revision as of 13:27, 27 May 2012

Contents

[edit] Traincar (Rollingstock)

[edit] Directory Structure

This is a boxcar example. A typical asset of this kind has the following File\Directory Structure:

CCG traincar rollingstock dir1.jpg


[edit] 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 graphic files for the various textures 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.

50ft_boxcar_body.im, 50ft_boxcar_shadow.im - The indexed meshes used for the asset.


[edit] Config.txt File Listing

engine              0
mass                20865
origin              "USA"
kind                "traincar"
enginespec          <kuid:-1:42004201>
description         "Test Roilling Stock assset"
icon0               <kuid:-3:10164>
kuid                <kuid:171456:100013>
username            "Test 50ft Boxcar"
trainz-build        2.5
category-class      "XB"
category-region     "US"
category-era        "1960s;1970s"
  
queues
{
  load
    {
      size          9
      initial-count 0
      product-kuid  <kuid:-3:10013>
      allowed-products
       {
        0           <kuid:-3:10013>
       }
    }
}
  
mesh-table
{
  default
    {
      mesh          “50ft_Boxcar_body/50ft_Boxcar_body.im"
      auto-create   1
    }
  shadow
    {
      mesh          "50ft_Boxcar_shadow/50ft_Boxcar_shadow.im"
      auto-create   0
    }
}
  
bogeys
{
  0
    {
      bogey         <kuid:-1:100074>
      reversed      0
    }
}
  
thumbnails
{
  0
    {
      image         "thumb.jpg"
      width         240
      height        180
    }
}


[edit] Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools