HowTo/Bogey/mesh-table: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Glt0145 (talk | contribs)
No edit summary
Glt0145 (talk | contribs)
No edit summary
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 10: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"

}