CCG/General Goods Product

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==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 ic...)
 

Latest revision as of 13:14, 2 June 2011

Contents

[edit] GENERAL GOODS PRODUCT

[edit] 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


[edit] General Goods directory structure

CCG GenGoods Dir.jpg


[edit] General Goods Mesh Dimensions

Length             1.6 metres
Width              1.6 metres
Height             2.8 metres


[edit] icon_texture.texture.txt

Primary=GeneralGoods.tga
Alpha=GeneralGoods.tga
Tile=none
                   
                                 


CCG GenGoodsIcon.jpg GeneralGoods.tga 64x64 32 bit


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.


CCG GenGoodsIconA.jpg

iconfile.tga .......... alpha channel in iconfile


[edit] Return to CCG Index

Content Creator's Guide

Personal tools