

;body starts here

;wagonside1
[Meshbuilder]
Vertex 0,1.25,0
Vertex 0,3.5,0
Vertex 0,3.5,5
Vertex 0,1.25,5
Face 0,1,2,3
translate 1,0,0


[Texture]
Load brboxvanside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;wagonside2
[Meshbuilder]
Vertex -2,1.25,0
Vertex -2,3.5,0
Vertex -2,3.5,5
Vertex -2,1.25,5
Face 3,2,1,0
translate 1,0,0

[Texture]
Load brboxvanside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;wagonend1
[Meshbuilder]
Vertex 0,1.25,5
Vertex 0,3.8,5
Vertex -2,3.8,5
Vertex -2,1.25,5
Face 0,1,2,3
translate 1,0,0

[Texture]
Load brboxvanend.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;wagonend2
[Meshbuilder]
Vertex 0,1.25,0
Vertex 0,3.8,0
Vertex -2,3.8,0
Vertex -2,1.25,0
Face 3,2,1,0
translate 1,0,0

[Texture]
Load brboxvanend.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;wagon roof
[meshbuilder]
vertex -2,3.5,0
vertex -1.7,3.66,0
vertex -1.7,3.66,5
vertex -2,3.5,5
vertex -1.4,3.76,0
vertex -1.4,3.76,5
vertex -1,3.76,0
vertex -1,3.76,5
vertex -0.6,3.76,0
vertex -0.6,3.76,5
vertex -0.3,3.66,0
vertex -0.3,3.66,5
vertex 0,3.5,0
vertex 0,3.5,5
face 3,2,1,0
face 2,5,4,1
face 5,7,6,4
face 7,9,8,6
face 9,11,10,8
face 11,13,12,10
translate 1,0,0

[texture]
load wagonroof.png
coordinates 0,0,0
coordinates 1,0,1
coordinates 2,1,1
coordinates 3,1,0
coordinates 4,0,2
coordinates 5,1,2
coordinates 6,0,3
coordinates 7,1,3
coordinates 8,0,4
coordinates 9,1,4
coordinates 10,0,5
coordinates 11,1,5
coordinates 12,0,6
coordinates 13,1,6
