HowTo/Bogey

From TrainzOnline
< HowTo(Difference between revisions)
Jump to: navigation, search
m
(Fixed formatting to be monospace, and updated category-class and mesh file extension)
 
Line 2: Line 2:
 
‘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.
 
‘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:###:#####:#>
+
[[/kuid/]]                                   <KUID2:###:#####:#>
 
+
[[/kind/]]                                   "bogey"
[[/kind/]] "bogey"
+
[[/trainz-build/]]                           1.0
 
+
[[/animdist/]]                               2.1
[[/trainz-build/]] 1.0
+
[[/username/]]                               "mybogey"
 
+
[[/direct-drive/]]                           1
[[/animdist/]] 2.1
+
 
 
+
[[/kuid-table/]]
[[/username/]] "mybogey"
+
{
 
+
}
[[/direct-drive/]] 1
+
 
+
[[/obsolete-table/]]
[[/kuid-table/]]
+
{
 
+
}
{
+
 
+
[[/mesh-table/]]
}
+
{
 
+
  [[/default/]]
[[/obsolete-table/]]
+
  {
 
+
    [[/mesh/]]                               Car_bogey.trainzmesh
{
+
    [[/auto-create/]]                         1
 
+
  }
}
+
  [[/shadow/]]
 
+
  {  
[[/mesh-table/]]
+
    [[/mesh/]]                               Car_bogey_shadow/Car_bogeyshadow.trainzmesh
 
+
  }
{
+
}
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/default/]]
+
[[/thumbnails/]]
 
+
{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
+
  [[/0/]]
 
+
  {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/mesh/]] Car_bogey.lm
+
    [[/image/]]                              "thumbnail.jpg"
 
+
    [[/width/]]                              240
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/auto-create/]] 1
+
    [[/height/]]                              180
 
+
  }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+
  1
 
+
  {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/shadow/]]
+
    image                              "0.jpg"
 
+
    width                              128
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{  
+
    height                              64
 
+
  }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/mesh/]] Car_bogey_shadow/Car_bogeyshadow.im
+
  2
 
+
  {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+
    image                              "1.jpg"
 
+
    width                              512
}
+
    height                              512
 
+
  }
 
+
}
[[/thumbnails/]]
+
 
+
[[/category-class/]]                          "ZB"
{
+
[[/description/]]                            "Tells the user all about your asset can be as much of a description as you like"
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/0/]]
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/image/]]                              "thumbnail.jpg"
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/width/]]                              240
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/height/]]                              180
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image                              "0.jpg"
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width                              128
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height                              64
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image                              "1.jpg"
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width                              512
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height                              512
+
 
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+
 
+
}
+
 
+
[[/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'''
 
The following tags are '''optional'''
  
 
+
[[/category-region/]]                         "AU"
[[/category-region/]]                       "AU"
+
[[/category-era/]]                           2000s
 
+
[[/author/]]                                 "who made the asset"
[[/category-era/]]                         2000s
+
[[/organisation/]]                           "your organisation"
 
+
[[/contact-email/]]                          "your email"
[[/author/]]                                 "who made the asset"
+
[[/contact-website/]]                        "maybe you have a website"
 
+
[[/license/]]                                "can be how you want your asset distributed"
[[/organisation/]]                         "your organisation"
+
 
+
[[/contact-email/]]                          "your email"
+
 
+
[[/contact-website/]]                        "maybe you have a website"
+
 
+
[[/license/]]                                "can be how you want your asset distributed"
+

Latest revision as of 16:16, 5 February 2025

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.trainzmesh
    auto-create                         1
  }
  shadow
  { 
    mesh                                Car_bogey_shadow/Car_bogeyshadow.trainzmesh
  }
}

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                          "ZB"
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"
Personal tools