;Maboloop Object BR Fruitvan 
;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.25,0,0
Vertex -0.25,1.25,0
Vertex -0.25,1.25,5
Vertex -0.25,0,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.75,0,0
Vertex -1.75,1.25,0
Vertex -1.75,1.25,5
Vertex -1.75,0,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

;Chassisend1
[Meshbuilder]
Vertex 0,0,5
Vertex 0,1.27,5
Vertex -2,1.27,5
Vertex -2,0,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.95
Vertex 0,2.25,4.95
Vertex -2,2.25,4.95
Vertex -2,0.95,4.95
face 3,2,1,0
translate 1,0,0

[texture]
Load chassisback.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0

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

[texture]
Load chassisback.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0

;Chassisend2
[Meshbuilder]
Vertex 0,0,0
Vertex 0,1.27,0
Vertex -2,1.27,0
Vertex -2,0,0
Face2 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

;axle 1
[Meshbuilder]
Vertex -0.3,0.5,3.9
Vertex -0.3,0.7,3.9
Vertex -1.7,0.7,3.9
Vertex -1.7,0.5,3.9
Face2 0,1,2,3
translate 1,0,0

[Texture]
Load axle.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0

;axle 2
[Meshbuilder]
Vertex -0.3,0.5,1
Vertex -0.3,0.7,1
Vertex -1.7,0.7,1
Vertex -1.7,0.5,1
Face2 0,1,2,3
translate 1,0,0

[Texture]
Load axle.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0


;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 fruitvanside.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 fruitvanside.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
