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

;front
[MeshBuilder]
Vertex 2,0,0
Vertex 2,7,0
Vertex 2,7,8
Vertex 2,0,8
Face 0,1,2,3

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

;roof
[MeshBuilder]
Vertex 2.5,7,-0.5
Vertex -0.75,9,-0.5
Vertex -0.75,9,8.5
Vertex 2.5,7,8.5
Face 0,1,2,3

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

; right side
[MeshBuilder]
Vertex 2,0,8
Vertex -3,0,8
Vertex -3,7,8
Vertex 2,7,8
Face 3,2,1,0

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

;left side
[MeshBuilder]
Vertex 2,0,0
Vertex -3,0,0
Vertex -3,7,0
Vertex 2,7,0
Face 0,1,2,3
[Texture]
Load sthtottboxside.png
Coordinates 0,1,1
Coordinates 1,0,1
Coordinates 2,0,0
Coordinates 3,1,0
Transparent 0,0,255



;top right side
[MeshBuilder]
Vertex -3.5,7,8.5
Vertex 2.45,7,8.5
Vertex 2.45,8.9,8.5
Vertex -3.5,8.9,8.5
Face2 0,1,2,3
[Texture]
Load sthtottboxsidetop1.png
Coordinates 0,1,1
Coordinates 1,1,0
Coordinates 2,0,0
Coordinates 3,0,1
Transparent 0,0,255

;stairs
[MeshBuilder]
Vertex -2,0,2
Vertex -2,7,2
Vertex -2,7,-4
Vertex -2,0,-4
Face 3,2,1,0

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



[MeshBuilder]
Vertex -1,0,2
Vertex -1,7,2
Vertex -1,7,-4
Vertex -1,0,-4
Face 3,2,1,0

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








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

[MeshBuilder]
vertex 2.5,7,8.5
vertex -3.5,7,8.5
vertex -3.5,7,-0.5
vertex 2.5,7,-0.5
face2 3,2,1,0
color 50,50,50






