CreateMeshBuilder,				
AddVertex,-9.8,-0.5,-0.05
AddVertex,-9.8,10,-0.05
AddVertex,6,10,-0.05
AddVertex,6,-0.5,0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,Tunnel.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0

;left side
CreateMeshBuilder,				
AddVertex,-9.8,-0.5,0.05
AddVertex,-9.8,-0.5,-15
AddVertex,-9.8,10,0.05
AddFace,0,1,2
GenerateNormals,
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0,1

CreateMeshBuilder,				
AddVertex,-11.8,-0.51,-15
AddVertex,-11.8,10,0.05
AddVertex,-9.8,10,0.05
AddVertex,-9.8,-0.51,-15
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.3,0
SetTextureCoordinates,3,0.3,1
;leftend

;rightside
CreateMeshBuilder,				
AddVertex,6,-0.5,0.05
AddVertex,6,-0.5,-15
AddVertex,6,10,0.05
AddFace,2,1,0
GenerateNormals,
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0,1

CreateMeshBuilder,				
AddVertex,8,-0.51,-15
AddVertex,8,10,0.05
AddVertex,6,10,0.05
AddVertex,6,-0.51,-15
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.3,0
SetTextureCoordinates,3,0.3,1
;rightend


;;;;;;;;;;;;;;;;;;;;;;;;;;OBLOUK
CreateMeshBuilder,				
AddVertex,-7.83,-0.5,5.05
AddVertex,-8.12,0.75,5.05
AddVertex,-8.12,0.75,-0.05
AddVertex,-7.83,-0.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,1,0.8
SetTextureCoordinates,3,1,1

CreateMeshBuilder,				
AddVertex,-8.12,0.75,5.05
AddVertex,-8.19,1.25,5.05
AddVertex,-8.19,1.25,-0.05
AddVertex,-8.12,0.75,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.8
SetTextureCoordinates,1,0,0.7
SetTextureCoordinates,2,1,0.7
SetTextureCoordinates,3,1,0.8

CreateMeshBuilder,				
AddVertex,-8.19,1.25,5.05
AddVertex,-8.2,2.5,5.05
AddVertex,-8.2,2.5,-0.05
AddVertex,-8.19,1.25,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.7
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,0.7

CreateMeshBuilder,				
AddVertex,-8.2,2.5,5.05
AddVertex,-8.05,3.5,5.05
AddVertex,-8.05,3.5,-0.05
AddVertex,-8.2,2.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.5
SetTextureCoordinates,1,0,0.35
SetTextureCoordinates,2,1,0.35
SetTextureCoordinates,3,1,0.5

CreateMeshBuilder,				
AddVertex,-8.05,3.5,5.05
AddVertex,-7.78,4.5,5.05
AddVertex,-7.78,4.5,-0.05
AddVertex,-8.05,3.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.35
SetTextureCoordinates,1,0,0.2
SetTextureCoordinates,2,1,0.2
SetTextureCoordinates,3,1,0.35

CreateMeshBuilder,				
AddVertex,-7.78,4.5,5.05
AddVertex,-7.33,5.5,5.05
AddVertex,-7.33,5.5,-0.05
AddVertex,-7.78,4.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.2
SetTextureCoordinates,1,0,0.05
SetTextureCoordinates,2,1,0.05
SetTextureCoordinates,3,1,0.2

CreateMeshBuilder,				
AddVertex,-7.33,5.5,5.05
AddVertex,-6.65,6.5,5.05
AddVertex,-6.65,6.5,-0.05
AddVertex,-7.33,5.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.05
SetTextureCoordinates,1,0,-0.1
SetTextureCoordinates,2,1,-0.1
SetTextureCoordinates,3,1,0.05

CreateMeshBuilder,				
AddVertex,-6.65,6.5,5.05
AddVertex,-5.94,7.25,5.05
AddVertex,-5.94,7.25,-0.05
AddVertex,-6.65,6.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.1
SetTextureCoordinates,1,0,-0.2
SetTextureCoordinates,2,1,-0.2
SetTextureCoordinates,3,1,-0.1

CreateMeshBuilder,				
AddVertex,-5.94,7.25,5.05
AddVertex,-4.92,8,5.05
AddVertex,-4.92,8,-0.05
AddVertex,-5.94,7.25,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.2
SetTextureCoordinates,1,0,-0.4
SetTextureCoordinates,2,1,-0.4
SetTextureCoordinates,3,1,-0.2

CreateMeshBuilder,				
AddVertex,-4.92,8,5.05
AddVertex,-3.82,8.5,5.05
AddVertex,-3.82,8.5,-0.05
AddVertex,-4.92,8,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.4
SetTextureCoordinates,1,0,-0.55
SetTextureCoordinates,2,1,-0.55
SetTextureCoordinates,3,1,-0.4

CreateMeshBuilder,				
AddVertex,-3.82,8.5,5.05
AddVertex,-2.82,8.73,5.05
AddVertex,-2.82,8.73,-0.05
AddVertex,-3.82,8.5,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.55
SetTextureCoordinates,1,0,-0.7
SetTextureCoordinates,2,1,-0.7
SetTextureCoordinates,3,1,-0.55

CreateMeshBuilder,				
AddVertex,-2.82,8.73,5.05
AddVertex,-1.9,8.78,5.05
AddVertex,-1.9,8.78,-0.05
AddVertex,-2.82,8.73,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.7
SetTextureCoordinates,1,0,-0.82
SetTextureCoordinates,2,1,-0.82
SetTextureCoordinates,3,1,-0.7

CreateMeshBuilder,				
AddVertex,-1.9,8.78,5.05
AddVertex,-0.98,8.73,5.05
AddVertex,-0.98,8.73,-0.05
AddVertex,-1.9,8.78,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.82
SetTextureCoordinates,1,0,-0.7
SetTextureCoordinates,2,1,-0.7
SetTextureCoordinates,3,1,-0.82

CreateMeshBuilder,				
AddVertex,-0.98,8.73,5.05
AddVertex,0.02,8.5,5.05
AddVertex,0.02,8.5,-0.05
AddVertex,-0.98,8.73,-0.05
AddFace,3,2,1,0,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.7
SetTextureCoordinates,1,0,-0.55
SetTextureCoordinates,2,1,-0.55
SetTextureCoordinates,3,1,-0.7

CreateMeshBuilder,		
AddVertex,1.12,8,5.05
AddVertex,0.02,8.5,5.05
AddVertex,0.02,8.5,-0.05
AddVertex,1.12,8,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.4
SetTextureCoordinates,1,0,-0.55
SetTextureCoordinates,2,1,-0.55
SetTextureCoordinates,3,1,-0.4

CreateMeshBuilder,				
AddVertex,2.14,7.25,5.05
AddVertex,1.12,8,5.05
AddVertex,1.12,8,-0.05
AddVertex,2.14,7.25,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.2
SetTextureCoordinates,1,0,-0.4
SetTextureCoordinates,2,1,-0.4
SetTextureCoordinates,3,1,-0.2

CreateMeshBuilder,				
AddVertex,2.85,6.5,5.05
AddVertex,2.14,7.25,5.05
AddVertex,2.14,7.25,-0.05
AddVertex,2.85,6.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,-0.1
SetTextureCoordinates,1,0,-0.2
SetTextureCoordinates,2,1,-0.2
SetTextureCoordinates,3,1,-0.1

CreateMeshBuilder,				
AddVertex,3.53,5.5,5.05
AddVertex,2.85,6.5,5.05
AddVertex,2.85,6.5,-0.05
AddVertex,3.53,5.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.05
SetTextureCoordinates,1,0,-0.1
SetTextureCoordinates,2,1,-0.1
SetTextureCoordinates,3,1,0.05

CreateMeshBuilder,				
AddVertex,3.98,4.5,5.05
AddVertex,3.53,5.5,5.05
AddVertex,3.53,5.5,-0.05
AddVertex,3.98,4.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.2
SetTextureCoordinates,1,0,0.05
SetTextureCoordinates,2,1,0.05
SetTextureCoordinates,3,1,0.2

CreateMeshBuilder,				
AddVertex,4.25,3.5,5.05
AddVertex,3.98,4.5,5.05
AddVertex,3.98,4.5,-0.05
AddVertex,4.25,3.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.35
SetTextureCoordinates,1,0,0.2
SetTextureCoordinates,2,1,0.2
SetTextureCoordinates,3,1,0.35

CreateMeshBuilder,				
AddVertex,4.4,2.5,5.05
AddVertex,4.25,3.5,5.05
AddVertex,4.25,3.5,-0.05
AddVertex,4.4,2.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.5
SetTextureCoordinates,1,0,0.35
SetTextureCoordinates,2,1,0.35
SetTextureCoordinates,3,1,0.5

CreateMeshBuilder,				
AddVertex,4.39,1.25,5.05
AddVertex,4.4,2.5,5.05
AddVertex,4.4,2.5,-0.05
AddVertex,4.39,1.25,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.7
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,0.7

CreateMeshBuilder,				
AddVertex,4.32,0.75,5.05
AddVertex,4.39,1.25,5.05
AddVertex,4.39,1.25,-0.05
AddVertex,4.32,0.75,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,0.8
SetTextureCoordinates,1,0,0.7
SetTextureCoordinates,2,1,0.7
SetTextureCoordinates,3,1,0.8

CreateMeshBuilder,				
AddVertex,4.03,-0.5,5.05
AddVertex,4.32,0.75,5.05
AddVertex,4.32,0.75,-0.05
AddVertex,4.03,-0.5,-0.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,TunnelConcrete.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,1,0.8
SetTextureCoordinates,3,1,1

;hillleft
CreateMeshBuilder,				
AddVertex,-100,-0.5,-25
AddVertex,-100,10,0.05
AddVertex,-16.79,10,0.05
AddVertex,-16.79,-0.5,-25
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,4,1
SetTextureCoordinates,1,4,0
SetTextureCoordinates,2,0.3,0
SetTextureCoordinates,3,0.3,1

CreateMeshBuilder,				
AddVertex,-16.8,-0.5,-25
AddVertex,-16.8,10,0.05
AddVertex,-11.75,10,0.05
AddVertex,-11.75,-0.5,-15
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,0.3,1
SetTextureCoordinates,1,0.3,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1

;hillright
CreateMeshBuilder,				
AddVertex,7.95,-0.5,-15
AddVertex,7.95,10,0.05
AddVertex,13,10,0.05
AddVertex,13,-0.5,-25
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.3,0
SetTextureCoordinates,3,0.3,1

CreateMeshBuilder,				
AddVertex,13,-0.5,-25
AddVertex,13,10,0.05
AddVertex,200,10,0.05
AddVertex,200,-0.5,-25
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,0.3,1
SetTextureCoordinates,1,0.3,0
SetTextureCoordinates,2,4,0
SetTextureCoordinates,3,4,1

;hill high
CreateMeshBuilder,				
AddVertex,-100,9.98,5.05
AddVertex,-100,25,50.05
AddVertex,-10,40,50.05
AddVertex,-10,9.98,5.05
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,2,1
SetTextureCoordinates,1,2,0
SetTextureCoordinates,2,0.5,0
SetTextureCoordinates,3,0.5,1

CreateMeshBuilder,				
AddVertex,-10,9.98,5.05
AddVertex,-10,40,50.05
AddVertex,10,40,50.05
AddVertex,10,9.98,5.05
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,0.5,1
SetTextureCoordinates,1,0.5,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1

CreateMeshBuilder,				
AddVertex,10,9.98,5.05
AddVertex,10,40,50.05
AddVertex,100,25,50.05
AddVertex,100,9.98,5.05
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,../SCENERY/Grass2.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1.5,0
SetTextureCoordinates,3,1.5,1

;ground
CreateMeshBuilder,				
AddVertex,6,-0.45,-15.05
AddVertex,-9.8,-0.45,-15.05
AddVertex,-9.8,-0.45,5.05
AddVertex,6,-0.45,5.05
AddFace,0,1,2,3,
GenerateNormals,	
LoadTexture,Crack.png
SetTextureCoordinates,0,0,2.5
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,3,0
SetTextureCoordinates,3,3,2.5
