;Midland Suburban Line Object 
;Object and textures (copyright) Alan Hudnott May 2011
;you may use this object in bve routes 
;Please credit Alan Hudnott.



;Rear

[MeshBuilder]
Vertex 0.5,2.75,2.42
Vertex -3.5,2.75,2.42
Vertex 0.5,0,2.42
Vertex -3.5,0,2.42
Face2 0,1,3,2
[Texture]
Load porta front.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1

;side1

[MeshBuilder]
Vertex -3.5,2.75,2.42
Vertex -3.5,2.75,0.5
Vertex -3.5,0,2.42
Vertex -3.5,0,0.5
Face2 0,1,3,2
[Texture]
Load porta side.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1

;side2

[MeshBuilder]
Vertex 0.5,2.75,2.42
Vertex 0.5,2.75,0.5
Vertex 0.5,0,2.42
Vertex 0.5,0,0.5
Face2 0,1,3,2 
[Texture]
Load porta side.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1

;roof
[MeshBuilder]
vertex -3.5,2.5,0.5
vertex -3.5,2.75,0.5
vertex 0.5,2.75,0.5
vertex 0.5,2.5,0.5
vertex -3.5,2.75,2.42
vertex 0.5,2.75,2.42
face2 0,1,2,3
face2 1,4,5,2
[Texture]
Load container roof.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1
Coordinates 4,1,0
Coordinates 5,0,1




