HowTo/Scenery/mesh-table

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

Revision as of 14:23, 5 February 2022

mesh-table

This tag is compulsory

The mesh-table 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 many sub container tags. I will try and explain these

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


mesh-table {

default 
 {
  mesh    "a_mesh.trainzmesh"
  auto-create  1
 }

}

Personal tools