CCG/General Goods Product
From TrainzOnline
< CCG
Contents |
GENERAL GOODS PRODUCT
General Goods Product Config.txt
kind product kuid <KUID:-3:10013> username "General Goods" product-category <KUID:-3:10042> instance-type instance icon-texture "icon_texture.texture" mass 1400 mesh-table { default { mesh general_goods.im } crate2 { mesh crate2.im } crate3 { mesh crate3.im } crate4 { mesh crate4.im } crate5 { mesh crate5.im } crate6 { mesh crate6.im } crate7 { } } allows-mixing 1
General Goods directory structure
General Goods Mesh Dimensions
Length 1.6 metres Width 1.6 metres Height 2.8 metres
icon_texture.texture.txt
Primary=GeneralGoods.tga Alpha=GeneralGoods.tga Tile=none
Note: The circular icon is made using an opacity map as the Alpha channel in the .tga file. This is a white circle and black background to cut out the circular shape. Both Primary and Alpha lines in the texture.txt file refer to the same .tga file.
iconfile.tga .......... alpha channel in iconfile