CreateMeshBuilder
AddVertex, 4, -0.5, 0.5
AddVertex, 4, 1, 0.5
AddVertex, 4, 1, -0.5
AddVertex, 4, -0.5, -0.5
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5, -0.5, 0.5
AddVertex, 5, 1, 0.5
AddVertex, 5, 1, -0.5
AddVertex, 5, -0.5, -0.5
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 4, -0.5, -0.5
AddVertex, 4, 1, -0.5
AddVertex, 5, 1, -0.5
AddVertex, 5, -0.5, -0.5
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 4, -0.5, 0.5
AddVertex, 4, 1, 0.5
AddVertex, 5, 1, 0.5
AddVertex, 5, -0.5, 0.5
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

;back
CreateMeshBuilder
AddVertex, 4, -0.5, 25.5
AddVertex, 4, 1, 25.5
AddVertex, 4, 1, 24.5
AddVertex, 4, -0.5, 24.5
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5, -0.5, 25.5
AddVertex, 5, 1, 25.5
AddVertex, 5, 1, 24.5
AddVertex, 5, -0.5, 24.5
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 4, -0.5, 24.5
AddVertex, 4, 1, 24.5
AddVertex, 5, 1, 24.5
AddVertex, 5, -0.5, 24.5
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 4, -0.5, 25.5
AddVertex, 4, 1, 25.5
AddVertex, 5, 1, 25.5
AddVertex, 5, -0.5, 25.5
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture,viadukt-cihly.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

;lower
CreateMeshBuilder
AddVertex, 4.44, 0.38, 0.05
AddVertex, 4.44, 0.38, 25.05
AddVertex, 4.56, 0.38, 25.05
AddVertex, 4.56, 0.38, 0.05
AddFace, 0, 1, 2, 3
GenerateNormals
SetColor, 40,40,40

CreateMeshBuilder
AddVertex, 4.44, 0.26, 25.05
AddVertex, 4.44, 0.38, 25.05
AddVertex, 4.44, 0.38, 0.05
AddVertex, 4.44, 0.26, 0.05
AddFace, 0, 1, 2, 3
GenerateNormals
SetColor, 40,40,40

CreateMeshBuilder
AddVertex, 4.44, 0.26, 25.05
AddVertex, 4.44, 0.38, 25.05
AddVertex, 4.44, 0.38, 0.05
AddVertex, 4.44, 0.26, 0.05
AddFace, 3, 2, 1, 0
GenerateNormals
SetColor, 40,40,40

;;;
CreateMeshBuilder
AddVertex, 3.95, 1, 0.55
AddVertex, 3.95, 1.25, 0.55
AddVertex, 5.05, 1.25, 0.55
AddVertex, 5.05, 1, 0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 3.95, 1, -0.55
AddVertex, 3.95, 1.25, -0.55
AddVertex, 5.05, 1.25, -0.55
AddVertex, 5.05, 1, -0.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1, 0.55
AddVertex, 5.05, 1.25, 0.55
AddVertex, 5.05, 1.25, -0.55
AddVertex, 5.05, 1, -0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 3.95, 1, 0.55
AddVertex, 3.95, 1.25, 0.55
AddVertex, 3.95, 1.25, -0.55
AddVertex, 3.95, 1, -0.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1.25, -0.55
AddVertex, 5.05, 1.25, 0.55
AddVertex, 3.95, 1.25, 0.55
AddVertex, 3.95, 1.25, -0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1, -0.55
AddVertex, 5.05, 1, 0.55
AddVertex, 3.95, 1, 0.55
AddVertex, 3.95, 1, -0.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, -0.25, -0.55
AddVertex, 5.05, -0.25, 25.55
AddVertex, 3.95, -0.25, 25.55
AddVertex, 3.95, -0.25, -0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.5,0
SetTextureCoordinates,3,0.5,1

CreateMeshBuilder
AddVertex, 5.05, -0.63, -0.55
AddVertex, 5.05, -0.63, 25.55
AddVertex, 3.95, -0.63, 25.55
AddVertex, 3.95, -0.63, -0.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.5,0
SetTextureCoordinates,3,0.5,1

CreateMeshBuilder
AddVertex, 5.05, -0.63, -0.55
AddVertex, 5.05, -0.63, 25.55
AddVertex, 5.05, -0.25, 25.55
AddVertex, 5.05, -0.25, -0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0.5,1
SetTextureCoordinates,1,0.5,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 3.95, -0.63, -0.55
AddVertex, 3.95, -0.63, 25.55
AddVertex, 3.95, -0.25, 25.55
AddVertex, 3.95, -0.25, -0.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.5,0
SetTextureCoordinates,3,0.5,1

CreateMeshBuilder
AddVertex, 5.05, -0.63, -0.55
AddVertex, 5.05, -0.25, -0.55
AddVertex, 3.95, -0.25, -0.55
AddVertex, 3.95, -0.63, -0.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,0.75,0.8
SetTextureCoordinates,3,0.75,1

CreateMeshBuilder
AddVertex, 5.05, -0.63, 25.55
AddVertex, 5.05, -0.25, 25.55
AddVertex, 3.95, -0.25, 25.55
AddVertex, 3.95, -0.63, 25.55
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,0.75,0.8
SetTextureCoordinates,3,0.75,1

;;;;;;;;;
CreateMeshBuilder
AddVertex, 3.95, 1, 25.55
AddVertex, 3.95, 1.25, 25.55
AddVertex, 5.05, 1.25, 25.55
AddVertex, 5.05, 1, 25.55
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 3.95, 1, 24.45
AddVertex, 3.95, 1.25, 24.45
AddVertex, 5.05, 1.25, 24.45
AddVertex, 5.05, 1, 24.45
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1, 25.55
AddVertex, 5.05, 1.25, 25.55
AddVertex, 5.05, 1.25, 24.45
AddVertex, 5.05, 1, 24.45
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 3.95, 1, 25.55
AddVertex, 3.95, 1.25, 25.55
AddVertex, 3.95, 1.25, 24.45
AddVertex, 3.95, 1, 24.45
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1.25, 24.45
AddVertex, 5.05, 1.25, 25.55
AddVertex, 3.95, 1.25, 25.55
AddVertex, 3.95, 1.25, 24.45
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 5.05, 1, 24.45
AddVertex, 5.05, 1, 25.55
AddVertex, 3.95, 1, 25.55
AddVertex, 3.95, 1, 24.45
AddFace, 0,1,2,3
GenerateNormals
LoadTexture,omitnuta_stena.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.5
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,1,1

;upper
CreateMeshBuilder
AddVertex, 4.44, 0.9, 0.05
AddVertex, 4.44, 0.9, 25.05
AddVertex, 4.56, 0.9, 25.05
AddVertex, 4.56, 0.9, 0.05
AddFace, 0, 1, 2, 3
GenerateNormals
SetColor, 40,40,40

CreateMeshBuilder
AddVertex, 4.44, 0.78, 25.05
AddVertex, 4.44, 0.9, 25.05
AddVertex, 4.44, 0.9, 0.05
AddVertex, 4.44, 0.78, 0.05
AddFace, 0, 1, 2, 3
GenerateNormals
SetColor, 40,40,40

CreateMeshBuilder
AddVertex, 4.56, 0.78, 25.05
AddVertex, 4.56, 0.9, 25.05
AddVertex, 4.56, 0.9, 0.05
AddVertex, 4.56, 0.78, 0.05
AddFace, 3, 2, 1, 0
GenerateNormals
SetColor, 40,40,40

CreateMeshBuilder
cube, 0.06, 0.65, 0.1
Translate, 4.5,0.25,5
GenerateNormals,
SetColor, 40,40,40

CreateMeshBuilder
cube, 0.06, 0.65, 0.1
Translate, 4.5,0.25,10
GenerateNormals,
SetColor, 40,40,40

CreateMeshBuilder
cube, 0.06, 0.65, 0.1
Translate, 4.5,0.25,15
GenerateNormals,
SetColor, 40,40,40

CreateMeshBuilder
cube, 0.06, 0.65, 0.1
Translate, 4.5,0.25,20
GenerateNormals,
SetColor, 40,40,40

CreateMeshBuilder
AddVertex, -3.8, -0.5, -0.5
AddVertex, -3.8, -0.5, 25.5
AddVertex, 5, -0.5, 25.5
AddVertex, 5, -0.5, -0.5
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,..\Track\Crack.png
SetTextureCoordinates,0,0,4
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,4,0
SetTextureCoordinates,3,4,4

CreateMeshBuilder
AddVertex, 5, -13, 25
AddVertex, 5, -0.5, 25
AddVertex, 5, -0.5, -0.2
AddVertex, 5, -13, -0.2
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture,Viadukt.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,4,2,252

CreateMeshBuilder
AddVertex, -2, -13, 22.6
AddVertex, -2, -0.5, 22.6
AddVertex, 5, -0.5, 22.6
AddVertex, 5, -13, 22.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,kameny.png
SetTextureCoordinates,0,0,2
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,2,0
SetTextureCoordinates,3,2,2

CreateMeshBuilder
AddVertex, -2, -13, 2.18
AddVertex, -2, -0.5, 2.18
AddVertex, 5, -0.5, 2.18
AddVertex, 5, -13, 2.18
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,kameny.png
SetTextureCoordinates,0,0,2
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,2,0
SetTextureCoordinates,3,2,2