;author=eezypeazy
;description=wooden crossing
;copyright=eezypeazy, all rights reserved.
;includes some RouteBuilder object library bitmaps

;wooden bits

[meshbuilder]
cube 0.65,0.08,4
translate 0,-0.1,4

[texture]
load ..\textures\woodforcrossing.bmp
coordinates 0,0,0 
coordinates 3,3,0  
coordinates 7,3,5 
coordinates 4,0,5 

[meshbuilder]
cube 1.2,0.08,4
translate 2,-0.1,4

[texture]
load ..\textures\woodforcrossing.bmp
coordinates 0,0,0 
coordinates 3,5,0  
coordinates 7,5,5 
coordinates 4,0,5 

[meshbuilder]
cube 0.65,0.08,4
translate 4,-0.1,4

[texture]
load ..\textures\woodforcrossing.bmp
coordinates 0,0,0 
coordinates 3,3,0  
coordinates 7,3,5 
coordinates 4,0,5 

[meshbuilder]
cube 0.6,0.08,4
translate 5.4,-0.1,4

[texture]
load ..\textures\woodforcrossing.bmp
coordinates 0,0,0 
coordinates 3,3,0  
coordinates 7,3,5 
coordinates 4,0,5 

[meshbuilder]
cube 0.6,0.08,4
translate -1.4,-0.1,4

[texture]
load ..\textures\woodforcrossing.bmp
coordinates 0,0,0 
coordinates 3,3,0  
coordinates 7,3,5 
coordinates 4,0,5

;gates
[meshbuilder]
vertex -2.4,0,0
vertex -2.4,2,0
vertex -2.4,2,8
vertex -2.4,0,8
vertex 6.4,0,0
vertex 6.4,2,0
vertex 6.4,2,8
vertex 6.4,0,8
face 0,1,2,3
face 7,6,5,4

[texture]
load woodengate.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
transparent 0,0,255

;posts

[meshbuilder]
cube 0.2,1,0.2
translate -2.2,1,0

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

[meshbuilder]
cube 0.2,1,0.2
translate -2.2,1,8

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

[meshbuilder]
cube 0.2,1,0.2
translate 6.2,1,0

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

[meshbuilder]
cube 0.2,1,0.2
translate 6.2,1,8

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

;fences
[meshbuilder]
vertex -2.5,0,8
vertex -2.5,1,8
vertex -2.5,1,25.1
vertex -2.5,0,25.1
vertex 6.5,0,8
vertex 6.5,1,8
vertex 6.5,1,25.1
vertex 6.5,0,25.1
face 0,1,2,3
face 7,6,5,4

[texture]
load ..\fences\woodfence1.bmp
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,8,0
coordinates 3,8,1
coordinates 4,0,1
coordinates 5,0,0
coordinates 6,8,0
coordinates 7,8,1
transparent 0,0,255

[meshbuilder]
vertex -2.1,-0.15,8
vertex -2.1,-0.15,25.1
vertex -2.1,-0.05,8
vertex -2.43,-0.05,8
vertex -2.43,-0.05,25.1
vertex -2.1,-0.05,25.1
face 0,2,4,1
face 2,3,4,5

[texture]
load ..\grounds\grass6_cable.bmp
coordinates 0,0,1
coordinates 1,4.6,1
coordinates 2,0,1
coordinates 3,0,0
coordinates 4,4.6,0
coordinates 5,4.6,1
transparent 0,0,255

;grounds
[meshbuilder]
vertex -1.9,0,0
vertex -4.4,-0.2,0
vertex -4.4,-0.2,8
vertex -1.9,0,8
vertex 5.9,0,0
vertex 8.4,-0.2,0
vertex 8.4,-0.2,8
vertex 5.9,0,8
face 0,1,2,3
face 7,6,5,4

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