CCG/Example: Product (40Ft Container Product)

From TrainzOnline
< CCG
Jump to: navigation, search

Contents

Product (40ft Container Product)

Directory Structure

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

CCG product 40ft containers dir1.jpg


Required Files

config.txt - The config file for the asset.

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

40ft_blue.im, 40ft_capital.im, 40ft_container.im, 40ft_mitsui.im, 40ft_pils.im - The assorted indexed mesh files used to represent this product when placed on an item of rollingstock. Using more of these files creates a greater variety of meshes to be displayed when items of rollingstock are carrying this product.

40ft_blue.texture.txt, 40ft_blue.tga, 40ft_capital.texture.txt, 40ft_capital.tga, 40ft_container.texture.txt, 40ft_container.tga, 40ft_db.texture.txt, 40ft_db.tga, 40ft_mitsui.texture.txt, 40ft_mitsui.tga, 40ft_pil.texture.txt, 40ft_pil.tga - The texture files used by the indexed meshes of this product. See the section on Texture.txt files on Page 96 for more information.

Containers40ft.tga, icon_texture.texture.txt - The product icon images (64x64 TGA).


Config.txt File Listing

kuid                     <kuid:56113:1007>
trainz-build             2.5
category-class           "IC"
username                 "test40ft Container"
kind                     "product"
allows-mixing            1
instance-type            "instance"
icon-texture             "icon_texture.texture"
mass                     22000
product-category         <kuid:-3:10042>
category-region          "00"
category-era             "1980s"
description              "Test 40ft Container asset."
mesh-table
{
  default
    {
      mesh               "40ft_container.im"
      auto-create        1
    }
  pils
    {
      mesh               "40ft_pils.im"
      auto-create        1
    }
  matsui
    {
      mesh               "40ft_matsui.im"
      auto-create        1
    }
  capital
    {
      mesh               "40ft_capital.im"
      auto-create        1
    }
  blue
    {
      mesh               "40ft_blue.im"
      auto-create        1
    }
}
  
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