HowTo/Bogey/mesh-table

From TrainzOnline
< HowTo | Bogey(Difference between revisions)
Jump to: navigation, search
(Created page with "==mesh-table=== This tag is compulsory The mesh-table is a container tag, meaning it is followed by curly brackets. The opening bracket should be on the next line for readabi...")
 
Line 13: Line 13:
 
   {
 
   {
 
   [[/mesh/]]    "bogey.trainzmesh"
 
   [[/mesh/]]    "bogey.trainzmesh"
   [[auto-create/]]  1
+
   [[/auto-create/]]  1
 
   }
 
   }
 
   shadow
 
   shadow

Revision as of 20:16, 6 February 2022

mesh-table=

This tag is compulsory

The mesh-table is a container tag, meaning it is followed by curly brackets. The opening bracket should be on the next line for readability purposes. The closing bracket is best on the next line after the final entry. Again for readability purposes. It can have sub container tags. I will try and explain these. Clicking on each tag will take you to further information on that tag

For a scenery asset a mesh table may look like this.


mesh-table

{

[[/default//] 
 {
  mesh    "bogey.trainzmesh"
  auto-create  1
 }
 shadow
  {
  mesh   "bogey_shadow.trainmesh"

}

Personal tools