CCG/Example: TrainCar (Rollingstock)
From TrainzOnline
Contents |
Traincar (Rollingstock)
Directory Structure
This is a boxcar example. A typical asset of this kind has the following File\Directory Structure:
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.
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 } }