;Maboloop Object XP box van
;Object and textures (copyright) Alan Hudnott May 2007
;you may use this object in bve routes provided it is 
;unmodified. Please seek permission before modifying
;Please credit Alan Hudnott.

;Chassisside1
[Meshbuilder]
Vertex -0.15,-0.15,0
Vertex -0.15,1.15,0
Vertex -0.15,1.15,4.5
Vertex -0.15,-0.15,4.5
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisside2
[Meshbuilder]
Vertex -1.85,-0.15,0
Vertex -1.85,1.15,0
Vertex -1.85,1.15,4.5
Vertex -1.85,-0.15,4.5
Face2 3,2,1,0
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisend1
[Meshbuilder]
Vertex 0,-0.15,4.5
Vertex 0,1.15,4.5
Vertex -2,1.15,4.5
Vertex -2,-0.15,4.5
Face 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;chassisback1
[Meshbuilder]
Vertex 0,0.95,4.5
Vertex 0,2.25,4.5
Vertex -2,2.25,4.5
Vertex -2,0.95,4.5
face 3,2,1,0
translate 1,0,0
color 0,0,0

;chassisback2
[Meshbuilder]
Vertex 0,0.95,0
Vertex 0,2.25,0
Vertex -2,2.25,0
Vertex -2,0.95,0
face 0,1,2,3
translate 1,0,0
color 0,0,0


;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.15,0
Vertex -2,1.15,0
Vertex -2,0,0
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,-0.15,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,-0.15,255






;body starts here

;wagonside1
[Meshbuilder]
Vertex 1.22,1.15,0
Vertex 1.22,3.5,0
Vertex 1.22,3.5,4.5
Vertex 1.22,1.15,4.5
Face 0,1,2,3

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

;wagonside2
[Meshbuilder]
Vertex -1.22,1.15,0
Vertex -1.22,3.5,0
Vertex -1.22,3.5,4.5
Vertex -1.22,1.15,4.5
Face 3,2,1,0

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

;wagonend1
[Meshbuilder]
Vertex 1.22,1.15,4.5
Vertex 1.22,3.83,4.5
Vertex -1.22,3.83,4.5
Vertex -1.22,1.15,4.5
Face 0,1,2,3

[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 1.22,1.15,0
Vertex 1.22,3.8,0
Vertex -1.22,3.8,0
Vertex -1.22,1.15,0
Face 3,2,1,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.22,3.45,0
vertex -1.7,3.66,0
vertex -1.7,3.66,4.5
vertex -2.22,3.45,4.5
vertex -1.4,3.76,0
vertex -1.4,3.76,4.5
vertex -1,3.76,0
vertex -1,3.76,4.5
vertex -0.6,3.76,0
vertex -0.6,3.76,4.5
vertex -0.3,3.66,0
vertex -0.3,3.66,4.5
vertex 0.22,3.45,0
vertex 0.22,3.45,4.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


;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,0.75

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.06,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.06,0.75

;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,-0.3
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,-0.3,
color 43,44,45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;axles

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,0.95

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,3.5


;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,4.75,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,4.75
color 43,44,45

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;Chassisside1
[Meshbuilder]
Vertex -0.15,-0.15,0
Vertex -0.15,1.15,0
Vertex -0.15,1.15,4.5
Vertex -0.15,-0.15,4.5
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255
TranslateAll 0,0,5,

;Chassisside2
[Meshbuilder]
Vertex -1.85,-0.15,0
Vertex -1.85,1.15,0
Vertex -1.85,1.15,4.5
Vertex -1.85,-0.15,4.5
Face2 3,2,1,0
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisend1
[Meshbuilder]
Vertex 0,-0.15,4.5
Vertex 0,1.15,4.5
Vertex -2,1.15,4.5
Vertex -2,-0.15,4.5
Face 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;chassisback1
[Meshbuilder]
Vertex 0,0.95,4.5
Vertex 0,2.25,4.5
Vertex -2,2.25,4.5
Vertex -2,0.95,4.5
face 3,2,1,0
translate 1,0,0
color 0,0,0

;chassisback2
[Meshbuilder]
Vertex 0,0.95,0
Vertex 0,2.25,0
Vertex -2,2.25,0
Vertex -2,0.95,0
face 0,1,2,3
translate 1,0,0
color 0,0,0


;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.15,0
Vertex -2,1.15,0
Vertex -2,0,0
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,-0.15,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,-0.15,255






;body starts here

;wagonside1
[Meshbuilder]
Vertex 1.22,1.15,0
Vertex 1.22,3.5,0
Vertex 1.22,3.5,4.5
Vertex 1.22,1.15,4.5
Face 0,1,2,3

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

;wagonside2
[Meshbuilder]
Vertex -1.22,1.15,0
Vertex -1.22,3.5,0
Vertex -1.22,3.5,4.5
Vertex -1.22,1.15,4.5
Face 3,2,1,0

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

;wagonend1
[Meshbuilder]
Vertex 1.22,1.15,4.5
Vertex 1.22,3.83,4.5
Vertex -1.22,3.83,4.5
Vertex -1.22,1.15,4.5
Face 0,1,2,3

[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 1.22,1.15,0
Vertex 1.22,3.8,0
Vertex -1.22,3.8,0
Vertex -1.22,1.15,0
Face 3,2,1,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.22,3.45,0
vertex -1.7,3.66,0
vertex -1.7,3.66,4.5
vertex -2.22,3.45,4.5
vertex -1.4,3.76,0
vertex -1.4,3.76,4.5
vertex -1,3.76,0
vertex -1,3.76,4.5
vertex -0.6,3.76,0
vertex -0.6,3.76,4.5
vertex -0.3,3.66,0
vertex -0.3,3.66,4.5
vertex 0.22,3.45,0
vertex 0.22,3.45,4.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


;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,0.75

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.06,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.06,0.75

;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,-0.3
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,-0.3,
color 43,44,45


;axles

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,0.95

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,3.5


;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,4.75,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,4.75
color 43,44,45

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Chassisside1
[Meshbuilder]
Vertex -0.15,-0.15,0
Vertex -0.15,1.15,0
Vertex -0.15,1.15,4.5
Vertex -0.15,-0.15,4.5
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255
TranslateAll 0,0,5

;Chassisside2
[Meshbuilder]
Vertex -1.85,-0.15,0
Vertex -1.85,1.15,0
Vertex -1.85,1.15,4.5
Vertex -1.85,-0.15,4.5
Face2 3,2,1,0
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisend1
[Meshbuilder]
Vertex 0,-0.15,4.5
Vertex 0,1.15,4.5
Vertex -2,1.15,4.5
Vertex -2,-0.15,4.5
Face 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;chassisback1
[Meshbuilder]
Vertex 0,0.95,4.45
Vertex 0,2.25,4.45
Vertex -2,2.25,4.45
Vertex -2,0.95,4.45
face 3,2,1,0
translate 1,0,0
color 0,0,0

;chassisback2
[Meshbuilder]
Vertex 0,0.95,0
Vertex 0,2.25,0
Vertex -2,2.25,0
Vertex -2,0.95,0
face 0,1,2,3
translate 1,0,0
color 0,0,0


;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.15,0
Vertex -2,1.15,0
Vertex -2,0,0
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,-0.15,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,-0.15,255






;body starts here

;wagonside1
[Meshbuilder]
Vertex 1.22,1.15,0
Vertex 1.22,3.5,0
Vertex 1.22,3.5,4.5
Vertex 1.22,1.15,4.5
Face 0,1,2,3

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

;wagonside2
[Meshbuilder]
Vertex -1.22,1.15,0
Vertex -1.22,3.5,0
Vertex -1.22,3.5,4.5
Vertex -1.22,1.15,4.5
Face 3,2,1,0

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

;wagonend1
[Meshbuilder]
Vertex 1.22,1.15,4.5
Vertex 1.22,3.83,4.5
Vertex -1.22,3.83,4.5
Vertex -1.22,1.15,4.5
Face 0,1,2,3

[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 1.22,1.15,0
Vertex 1.22,3.8,0
Vertex -1.22,3.8,0
Vertex -1.22,1.15,0
Face 3,2,1,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.22,3.45,0
vertex -1.7,3.66,0
vertex -1.7,3.66,4.5
vertex -2.22,3.45,4.5
vertex -1.4,3.76,0
vertex -1.4,3.76,4.5
vertex -1,3.76,0
vertex -1,3.76,4.5
vertex -0.6,3.76,0
vertex -0.6,3.76,4.5
vertex -0.3,3.66,0
vertex -0.3,3.66,4.5
vertex 0.22,3.45,0
vertex 0.22,3.45,4.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


;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,0.75

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.06,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.06,0.75

;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,-0.3
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,-0.3,
color 43,44,45


;axles

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,0.95

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,3.5


;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,4.75,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,4.75
color 43,44,45

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Chassisside1
[Meshbuilder]
Vertex -0.15,-0.15,0
Vertex -0.15,1.15,0
Vertex -0.15,1.15,4.5
Vertex -0.15,-0.15,4.5
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255
TranslateAll 0,0,5

;Chassisside2
[Meshbuilder]
Vertex -1.85,-0.15,0
Vertex -1.85,1.15,0
Vertex -1.85,1.15,4.5
Vertex -1.85,-0.15,4.5
Face2 3,2,1,0
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisend1
[Meshbuilder]
Vertex 0,-0.15,4.5
Vertex 0,1.15,4.5
Vertex -2,1.15,4.5
Vertex -2,-0.15,4.5
Face 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;chassisback1
[Meshbuilder]
Vertex 0,0.95,4.45
Vertex 0,2.25,4.45
Vertex -2,2.25,4.45
Vertex -2,0.95,4.45
face 3,2,1,0
translate 1,0,0
color 0,0,0

;chassisback2
[Meshbuilder]
Vertex 0,0.95,0
Vertex 0,2.25,0
Vertex -2,2.25,0
Vertex -2,0.95,0
face 0,1,2,3
translate 1,0,0
color 0,0,0


;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.15,0
Vertex -2,1.15,0
Vertex -2,0,0
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,-0.15,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,-0.15,255






;body starts here

;wagonside1
[Meshbuilder]
Vertex 1.22,1.15,0
Vertex 1.22,3.5,0
Vertex 1.22,3.5,4.5
Vertex 1.22,1.15,4.5
Face 0,1,2,3

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

;wagonside2
[Meshbuilder]
Vertex -1.22,1.15,0
Vertex -1.22,3.5,0
Vertex -1.22,3.5,4.5
Vertex -1.22,1.15,4.5
Face 3,2,1,0

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

;wagonend1
[Meshbuilder]
Vertex 1.22,1.15,4.5
Vertex 1.22,3.83,4.5
Vertex -1.22,3.83,4.5
Vertex -1.22,1.15,4.5
Face 0,1,2,3

[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 1.22,1.15,0
Vertex 1.22,3.8,0
Vertex -1.22,3.8,0
Vertex -1.22,1.15,0
Face 3,2,1,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.22,3.45,0
vertex -1.7,3.66,0
vertex -1.7,3.66,4.5
vertex -2.22,3.45,4.5
vertex -1.4,3.76,0
vertex -1.4,3.76,4.5
vertex -1,3.76,0
vertex -1,3.76,4.5
vertex -0.6,3.76,0
vertex -0.6,3.76,4.5
vertex -0.3,3.66,0
vertex -0.3,3.66,4.5
vertex 0.22,3.45,0
vertex 0.22,3.45,4.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


;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,0.75

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.06,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.06,0.75

;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,-0.3
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,-0.3,
color 43,44,45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;axles

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,0.95

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,3.5


;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,4.75,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,4.75
color 43,44,45

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;Chassisside1
[Meshbuilder]
Vertex -0.15,-0.15,0
Vertex -0.15,1.15,0
Vertex -0.15,1.15,4.5
Vertex -0.15,-0.15,4.5
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255
TranslateAll 0,0,5

;Chassisside2
[Meshbuilder]
Vertex -1.85,-0.15,0
Vertex -1.85,1.15,0
Vertex -1.85,1.15,4.5
Vertex -1.85,-0.15,4.5
Face2 3,2,1,0
translate 1,0,0
[Texture]
Load wagonchassisside.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;Chassisend1
[Meshbuilder]
Vertex 0,-0.15,4.5
Vertex 0,1.15,4.5
Vertex -2,1.15,4.5
Vertex -2,-0.15,4.5
Face 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255

;chassisback1
[Meshbuilder]
Vertex 0,0.95,4.5
Vertex 0,2.25,4.5
Vertex -2,2.25,4.5
Vertex -2,0.95,4.5
face 3,2,1,0
translate 1,0,0
color 0,0,0

;chassisback2
[Meshbuilder]
Vertex 0,0.95,0
Vertex 0,2.25,0
Vertex -2,2.25,0
Vertex -2,0.95,0
face 0,1,2,3
translate 1,0,0
color 0,0,0


;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.15,0
Vertex -2,1.15,0
Vertex -2,0,0
Face2 0,1,2,3
translate 1,0,0
[Texture]
Load wagonchassisfront.png
Coordinates 0,-0.15,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,-0.15,255






;body starts here

;wagonside1
[Meshbuilder]
Vertex 1.22,1.15,0
Vertex 1.22,3.5,0
Vertex 1.22,3.5,4.5
Vertex 1.22,1.15,4.5
Face 0,1,2,3

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

;wagonside2
[Meshbuilder]
Vertex -1.22,1.15,0
Vertex -1.22,3.5,0
Vertex -1.22,3.5,4.5
Vertex -1.22,1.15,4.5
Face 3,2,1,0

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

;wagonend1
[Meshbuilder]
Vertex 1.22,1.15,4.5
Vertex 1.22,3.83,4.5
Vertex -1.22,3.83,4.5
Vertex -1.22,1.15,4.5
Face 0,1,2,3

[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 1.22,1.15,0
Vertex 1.22,3.8,0
Vertex -1.22,3.8,0
Vertex -1.22,1.15,0
Face 3,2,1,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.22,3.45,0
vertex -1.7,3.66,0
vertex -1.7,3.66,4.5
vertex -2.22,3.45,4.5
vertex -1.4,3.76,0
vertex -1.4,3.76,4.5
vertex -1,3.76,0
vertex -1,3.76,4.5
vertex -0.6,3.76,0
vertex -0.6,3.76,4.5
vertex -0.3,3.66,0
vertex -0.3,3.66,4.5
vertex 0.22,3.45,0
vertex 0.22,3.45,4.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


;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;right wheel

[MeshBuilder]  
cylinder 120,0.41,0.42,0.095
rotate  0,0,90,90
translate 0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate 0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,0.75

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.05,-1.8

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.05,-1.8

;left wheel
[MeshBuilder] 
cylinder 120,0.41,0.42,0.095
rotate 0,0,90,90
translate -0.715,0.34,2.73
Color 24,24,24
translate 0,0.06,0.75

[MeshBuilder] 
cylinder 120,0.47,0.47,0.025
rotate  0,0,90,90
translate -0.655,0.34,2.73
Color 72,72,72
translate 0,0.06,0.75

;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,-0.3
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,-0.15,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,-0.3,
color 43,44,45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;axles

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,0.95

[MeshBuilder]
cylinder 7,0.1, 0.1,1.6
color 37,26,21
rotate 0,0,1,90
translate 0,0.4,3.5


;buffers

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.7,1.05,4.6,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.7,1.05,4.75,
color 43,44,45

[meshbuilder]
cylinder 18,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.7,1.05,4.75
color 43,44,45
