;author=eezypeazy
;description= a bridge
;copyright=eezypeazy, all rights reserved
;uses some RouteBuilder tree bitmaps

;walls
[meshbuilder]
vertex -3,-0.4,-4
vertex -3,7.1,-1
vertex -2.5,7.1,-1
vertex -2.5,-0.4,-4
vertex -2.5,7.1,3
vertex -2.5,-0.4,3
vertex 6.5,-0.4,3
vertex 6.5,7.1,3
vertex 6.5,7.1,-1
vertex 6.5,-0.4,-4
vertex 7,7.1,-1
vertex 7,-0.4,-4
face 0,1,2,3
face 3,2,4,5
face 6,7,8,9
face 9,8,10,11
color 111,111,111

[texture]
load ..\walls\concrete.bmp
coordinates 0,0,3
coordinates 1,0,0
coordinates 2,9,0
coordinates 3,9,3
coordinates 4,9.5,0
coordinates 5,9.5,3
coordinates 6,12.5.0
coordinates 7,12.5,3
coordinates 8,13,0
coordinates 9,13,3
coordinates 10,20,0
coordinates 11,20,3

;banks
[meshbuilder]
vertex -42,-10.4,-4
vertex -42,2.1,0
vertex -3,7.1,0
vertex -3,-10.4,-4 
vertex 7,-10.4,-4
vertex 7,7.1,0
vertex 46.5,2.1,0
vertex 46.5,-10.4,-4 
face 0,1,2,3
face 4,5,6,7
color 134,134,134

[texture]
load ..\textures\grass.bmp
coordinates 0,0,4
coordinates 1,0,0
coordinates 2,3,0
coordinates 3,3,4
coordinates 4,0,4
coordinates 5,0,0
coordinates 6,3,0
coordinates 7,3,4

;underside
[meshbuilder]
vertex -2.6,5.4,-0.55
vertex -2.6,7.1,-0.3
vertex 6.6,7.1,-0.3
vertex 6.6,5.4,-0.55
face 0,1,2,3
color 88,88,88

;pillars
[meshbuilder]
vertex -4.6,0,-0.3
vertex -4.6,7.1,-0.3
vertex -2.6,7.1,-0.3
vertex -2.6,0,-0.3
vertex -4.6,7.1,-0.3
vertex -4.6,8.8,-0.3
vertex -2.6,8.8,-0.3
vertex -2.6,7.25,-0.3
vertex -2.6,8.8,0.3
vertex -2.6,7.25,0.3
vertex 6.6,0,-0.3
vertex 6.6,7.1,-0.3
vertex 8.6,7.1,-0.3
vertex 8.6,0,-0.3
vertex 6.6,7.1,-0.3
vertex 6.6,8.8,-0.3
vertex 8.6,8.8,-0.3
vertex 8.6,7.1,-0.3
vertex 6.6,8.8,0.3
vertex 6.6,7.25,0.3

face 0,1,2,3
face 4,5,16,17
face 7,6,8,9
face 10,11,12,13
;face 14,15,16,17
face 19,18,15,14

[texture]
load ..\textures\redbrick.BMP
coordinates 0,0,3.8
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,3.8
coordinates 4,0,1.1
coordinates 5,0,0
coordinates 6,1,0
coordinates 7,1,1.1
coordinates 8,1.3,0
coordinates 9,1.3,1.1
coordinates 10,0,3.8
coordinates 11,0,0
coordinates 12,1,0
coordinates 13,1,3.8
coordinates 14,0,1.1
coordinates 15,0,0
coordinates 16,5,0
coordinates 17,5,1.1
coordinates 18,1.3,0
coordinates 19,1.3,1.1

[meshbuilder]
cube 6.7,0.1,0.3
translate 2,7.2,-0.1
color 111,111,111

[meshbuilder]
cube 1.1,0.2,0.3
translate -3.58,8.8,-0.1
color 111,111,111

[meshbuilder]
cube 1.1,0.2,0.3
translate 7.5,8.8,-0.1
color 111,111,111

;poster
[meshbuilder]
vertex -21.2,4,-2
vertex -21.2,5.5,-2
vertex -5,5.5,-2
vertex -5,4,-2
face 0,1,2,3
color 44,44,44

[meshbuilder]
vertex -21,5.5,-2.2
vertex -21,9.7,-2.2
vertex -5,9.5,-2.2
vertex -5.3,5,-2.2
face 0,1,2,3

[texture]
load ..\textures\ms.bmp
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1
transparent 0,0,255

;trees and bushes
[meshbuilder]
vertex -22,1,-3.2
vertex -22,6,-3.2
vertex -11,6,-3.2
vertex -11.3,1,-3.2
vertex -16,-1,-3.7
vertex -16,4,-3.7
vertex -5,4,-3.2
vertex -5.3,-1,-3.2
vertex -14,4,-1.8
vertex -14,14,-1.8
vertex -3,14,-1
vertex -3,4,-1
face 0,1,2,3
face 4,5,6,7
face 8,9,10,11

[texture]
load ..\plants\bush1.bmp
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1
coordinates 4,0,1
coordinates 5,0,0
coordinates 6,1,0
coordinates 7,1,1
coordinates 8,0,1
coordinates 9,0,0
coordinates 10,1,0
coordinates 11,1,1
transparent 0,0,255

