CCG/Example: Product (Lumber Product)

From TrainzOnline
< CCG
Jump to: navigation, search

Contents

Product (Lumber Product)

Directory Structure

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

CCG product lumber dir1.jpg


Required Files

config.txt - The config file for the asset.

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

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

lumberstack.im - The indexed mesh file used to represent this product when placed on an item of rollingstock.

plank.texture.txt, plank.tga - The texture files used by the indexed mesh of this product. See the section on Texture.txt files on Page 96 for more information.


Config.txt File Listing

kuid                 <kuid:56113:1019>
trainz-build         2.5
category-class       "IB"
category-region      "00"
category-era         "1980s"
username             "testLumberProduct"
kind                 "product"
allows-mixing        1
instance-type        "resource"
icon-texture         "icon_texture.texture"
mass                 8000
product-category     <kuid:-3:10042>
description          "Test Lumber Asset."
mesh-table
{
  default
    {
      mesh           "lumberstack.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