HowTo/Bridge/mesh-table
From TrainzOnline
(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 readability pur...") |
|||
Line 4: | Line 4: | ||
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. Clicking on each tag will take you to further information on that tag | 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. Clicking on each tag will take you to further information on that tag | ||
− | For a bridge asset a mesh table may look like this. | + | A bride mesh-table is more complex than a normal scenery item. The asset has three meshes a starting mesh, a middle mesh that is repeated as the asset is stretched in the surveyour and an end mesh that completes the bridge. The For a bridge asset a mesh table may look like this. |
mesh-table { | mesh-table { | ||
Line 13: | Line 13: | ||
} | } | ||
− | + | first | |
{ | { | ||
mesh "hoted_bridge_1_start\hoted_bridge_1_start.im" | mesh "hoted_bridge_1_start\hoted_bridge_1_start.im" | ||
} | } | ||
− | + | last | |
{ | { | ||
mesh "hoted_bridge_1_end\hoted_bridge_1_end.im" | mesh "hoted_bridge_1_end\hoted_bridge_1_end.im" | ||
Line 28: | Line 28: | ||
} | } | ||
− | + | first-shadow | |
{ | { | ||
mesh "hoted_bridge_1_start\hoted_bridge_1_start_shadow.im" | mesh "hoted_bridge_1_start\hoted_bridge_1_start_shadow.im" | ||
} | } | ||
− | + | last-shadow | |
{ | { | ||
mesh "hoted_bridge_1_end\hoted_bridge_1_end_shadow.im" | mesh "hoted_bridge_1_end\hoted_bridge_1_end_shadow.im" | ||
} | } | ||
} | } |
Revision as of 10:38, 9 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. Clicking on each tag will take you to further information on that tag
A bride mesh-table is more complex than a normal scenery item. The asset has three meshes a starting mesh, a middle mesh that is repeated as the asset is stretched in the surveyour and an end mesh that completes the bridge. The For a bridge asset a mesh table may look like this.
mesh-table {
default { mesh "hoted_bridge_1.im" }
first
{ mesh "hoted_bridge_1_start\hoted_bridge_1_start.im" }
last
{ mesh "hoted_bridge_1_end\hoted_bridge_1_end.im" } shadow { mesh "hoted_bridge_1_shadow\hoted_bridge_1_shadow.im" } first-shadow { mesh "hoted_bridge_1_start\hoted_bridge_1_start_shadow.im" } last-shadow { mesh "hoted_bridge_1_end\hoted_bridge_1_end_shadow.im" }
}