HowTo/Bogey/mesh-table

From TrainzOnline
< HowTo | Bogey(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
==mesh-table===
+
==mesh-table==
 +
 
 
This tag is compulsory
 
This tag is compulsory
  
Line 10: Line 11:
  
 
{
 
{
  [[/default//]  
+
  [[/default/]  
 
   {
 
   {
 
   [[/mesh/]]    "bogey.trainzmesh"
 
   [[/mesh/]]    "bogey.trainzmesh"
 
   [[/auto-create/]]  1
 
   [[/auto-create/]]  1
 
   }
 
   }
   shadow
+
   [[/shadow/]]
 
   {
 
   {
 
   [[/mesh/]]  "bogey_shadow.trainmesh"
 
   [[/mesh/]]  "bogey_shadow.trainmesh"
 
}
 
}

Revision as of 20:17, 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