CCG/Example: Product (Lumber Product)
From TrainzOnline
< CCG(Difference between revisions)
(New page: ==Product (Lumber Product)== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_product_lumber_dir1.jpg ===Required File...) |
Latest revision as of 20:58, 11 June 2011
Contents |
[edit] Product (Lumber Product)
[edit] Directory Structure
A typical asset of this kind has the following File\Directory Structure:
[edit] 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.
[edit] 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
}
}
[edit] Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip
