HowTo/Bogey: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Glt0145 (talk | contribs)
No edit summary
Pware (talk | contribs)
m fixed formatting of indented code sections by using non-breaking spaces
Line 30: Line 30:
{
{


[[/default/]]
   [[/default/]]
  {
 
  [[/mesh/]] Car_bogey.lm
   {
  [[/auto-create/]] 1
 
  }
      [[/mesh/]] Car_bogey.lm
[[/shadow/]]
 
  {
      [[/auto-create/]] 1
  [[/mesh/]] Car_bogey_shadow/Car_bogeyshadow.im
 
  }
   }
 
   [[/shadow/]]
 
   {  
 
      [[/mesh/]] Car_bogey_shadow/Car_bogeyshadow.im
 
   }
 
}
}


Line 45: Line 54:


{
{
  [[/0/]]
  {
    [[/image/]]                              "thumbnail.jpg"
    [[/width/]]                              240
    [[/height/]]                              180
  }
  1
  {
    image                              "0.jpg"
    width                              128
    height                              64
  }
  2
  {
    image                              "1.jpg"
    width                              512
    height                              512
  }
}


[[/category-region/]]-0                       "AU"
   [[/0/]]
 
   {
 
      [[/image/]]                               "thumbnail.jpg"
 
      [[/width/]]                              240
 
      [[/height/]]                              180
 
   }
 
   1
 
   {
 
      image                              "0.jpg"
 
      width                              128
 
      height                              64
 
   }
 
   2
 
   {
 
      image                              "1.jpg"
 
      width                              512
 
      height                              512
 
   }


[[/category-era/]]-0                          2000s
}


[[/category-class/]]                          "BI"
[[/category-class/]]                          "BI"


[[/description/]]                            "Tells the user all about your asset can be as much of a description as you like"
[[/description/]]                            "Tells the user all about your asset can be as much of a description as you like"
The following tags are '''optional'''
[[/category-region/]]                      "AU"
[[/category-era/]]                          2000s


[[/author/]]                                "who made the asset"
[[/author/]]                                "who made the asset"

Revision as of 20:45, 19 February 2022

A ‘bogey’ is a term used for a locomotive or rolling stock wheel mechanism. In some countries these are known as ‘Trucks’. Every traincar must have at least one bogey/truck. Below is a typical bogey config file.

kuid <KUID2:###:#####:#>

kind "bogey"

trainz-build 1.0

animdist 2.1

username "mybogey"

direct-drive 1

kuid-table

{

}

obsolete-table

{

}

mesh-table

{

   default

   {

      mesh Car_bogey.lm

      auto-create 1

   }

   shadow

   {

      mesh Car_bogey_shadow/Car_bogeyshadow.im

   }

}


thumbnails

{

   0

   {

      image "thumbnail.jpg"

      width 240

      height 180

   }

   1

   {

      image "0.jpg"

      width 128

      height 64

   }

   2

   {

      image "1.jpg"

      width 512

      height 512

   }

}

category-class "BI"

description "Tells the user all about your asset can be as much of a description as you like"


The following tags are optional


category-region "AU"

category-era 2000s

author "who made the asset"

organisation "your organisation"

contact-email "your email"

contact-website "maybe you have a website"

license "can be how you want your asset distributed"