;CD 814 object file
;model (C) Derryck 2009, foto (C) Milan Kočí 2009, na textury upravil Derryck
;v 1.0

;LEVA strana
CreateMeshBuilder
AddVertex, 1.5365,0.42,0
AddVertex, 1.5365,3.2,0
AddVertex, 1.5365,3.2,13.47
AddVertex, 1.5365,0.42,13.47
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 bok1.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,0.4,13.46
AddVertex, -1.5365,3.53,13.46
AddVertex, 1.5365,3.53,13.46
AddVertex, 1.5365,0.4,13.46
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 pruchod.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

;prava strana
CreateMeshBuilder
AddVertex, -1.5365,0.42,0
AddVertex, -1.5365,3.2,0
AddVertex, -1.5365,3.2,13.47
AddVertex, -1.5365,0.42,13.47
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 bok2.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

;kola leva strana
;prvni
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, -0.74, 0.6, 2.6
SetColor, 68,67,60

CreateMeshBuilder,
Cylinder, 8, 0.08, 0.08, 1.48
Rotate, 0.01,0,90,90
Translate, 0, 0.6, 2.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 32, 0.6, 0.635, 0.02
Rotate, 0.01,0,90,90
Translate, -0.7, 0.6, 2.6
SetColor, 100,100,100

CreateMeshBuilder,
Cylinder, 32, 0.634, 0.634, 0.01
Rotate, 0.01,0,90,90
Translate, -0.686, 0.6, 2.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, -1.1,0,1.75
AddVertex, -1.1,0.95,1.75
AddVertex, -1.1,0.95,4
AddVertex, -1.1,0,4
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 814b\814 p1.bmp
SetTextureCoordinates, 0, 1, 1
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 0, 0
SetTextureCoordinates, 3, 0, 1
SetDecalTransparentColor, 252,2,4

;druhe
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, -0.74, 0.6, 10.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 8, 0.08, 0.08, 1.48
Rotate, 0.01,0,90,90
Translate, 0, 0.6, 10.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 32, 0.6, 0.635, 0.02
Rotate, 0.01,0,90,90
Translate, -0.7, 0.6, 10.6
SetColor, 100,100,100

CreateMeshBuilder,
Cylinder, 32, 0.634, 0.634, 0.01
Rotate, 0.01,0,90,90
Translate, -0.686, 0.6, 10.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, -1.1,0,8.8
AddVertex, -1.1,1,8.8
AddVertex, -1.1,1,11.85
AddVertex, -1.1,0,11.85
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 814b\814 p2.bmp
SetTextureCoordinates, 0, 1, 1
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 0, 0
SetTextureCoordinates, 3, 0, 1
SetDecalTransparentColor, 252,2,4

;kola prava strana
;prvni kolo
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, 0.74, 0.625, 2.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 32, 0.635, 0.6, 0.02
Rotate, 0.01,0,90,90
Translate, 0.7, 0.625, 2.6
SetColor, 100,100,100

CreateMeshBuilder,
Cylinder, 32, 0.634, 0.634, 0.01
Rotate, 0.01,0,90,90
Translate, 0.686, 0.625, 2.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, 1.1,0,1.75
AddVertex, 1.1,0.95,1.75
AddVertex, 1.1,0.95,4
AddVertex, 1.1,0,4
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 814b\814 p1.bmp
SetTextureCoordinates, 0, 1, 1
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 0, 0
SetTextureCoordinates, 3, 0, 1
SetDecalTransparentColor, 252,2,4

;druhe kolo
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, 0.74, 0.625, 10.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 32, 0.635, 0.6, 0.02
Rotate, 0.01,0,90,90
Translate, 0.7, 0.625,10.6
SetColor, 100,100,100

CreateMeshBuilder,
Cylinder, 32, 0.634, 0.634, 0.01
Rotate, 0.01,0,90,90
Translate, 0.686, 0.625, 10.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, 1.1,0,8.8
AddVertex, 1.1,1,8.8
AddVertex, 1.1,1,11.85
AddVertex, 1.1,0,11.85
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 814b\814 p2.bmp
SetTextureCoordinates, 0, 1, 1
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 0, 0
SetTextureCoordinates, 3, 0, 1
SetDecalTransparentColor, 252,2,4

;celo predni
CreateMeshBuilder
AddVertex, -1.5365,0.07,0
AddVertex, -1.5365,1.43,0
AddVertex, 1.5365,1.43,0
AddVertex, 1.5365,0.07,0
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.6
SetTextureCoordinates, 2, 1, 0.6
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,1.43,0
AddVertex, -1.5365,1.85,0.02
AddVertex, 1.5365,1.85,0.02
AddVertex, 1.5365,1.43,0
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.6
SetTextureCoordinates, 1, 0, 0.45
SetTextureCoordinates, 2, 1, 0.45
SetTextureCoordinates, 3, 1, 0.6
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,1.85,0.02
AddVertex, -1.5365,2.25,0.08
AddVertex, 1.5365,2.25,0.08
AddVertex, 1.5365,1.85,0.02
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.45
SetTextureCoordinates, 1, 0, 0.32
SetTextureCoordinates, 2, 1, 0.32
SetTextureCoordinates, 3, 1, 0.45
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,2.25,0.08
AddVertex, -1.5365,2.5,0.12
AddVertex, 1.5365,2.5,0.12
AddVertex, 1.5365,2.25,0.08
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.32
SetTextureCoordinates, 1, 0, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.32
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,2.5,0.12
AddVertex, -1.5365,2.75,0.16
AddVertex, 1.5365,2.75,0.16
AddVertex, 1.5365,2.5,0.12
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.25
SetTextureCoordinates, 1, 0, 0.15
SetTextureCoordinates, 2, 1, 0.15
SetTextureCoordinates, 3, 1, 0.25
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,2.75,0.16
AddVertex, -1.5365,3,0.23
AddVertex, 1.5365,3,0.23
AddVertex, 1.5365,2.75,0.16
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.15
SetTextureCoordinates, 1, 0, 0.1
SetTextureCoordinates, 2, 1, 0.1
SetTextureCoordinates, 3, 1, 0.15
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.5365,3,0.23
AddVertex, -1.5365,3.42,0.35
AddVertex, 1.5365,3.42,0.35
AddVertex, 1.5365,3,0.23
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 celo.bmp
SetTextureCoordinates, 0, 0, 0.1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.1
SetDecalTransparentColor, 252,2,4

CreateMeshBuilder
AddVertex, -1.45,0.3,0.3
AddVertex, -1.5365,0.425,0.3
AddVertex, -1.5365,0.425,0
AddVertex, -1.45,0.3,0
AddFace2, 0,1,2,3
SetColor,239,184,7

CreateMeshBuilder
AddVertex, -1.25,0.08,0.3
AddVertex, -1.45,0.3,0.3
AddVertex, -1.45,0.3,0
AddVertex, -1.25,0.08,0
AddFace2, 0,1,2,3
SetColor,239,184,7

CreateMeshBuilder
AddVertex, -1.25,0.08,0.3
AddVertex, 1.25,0.08,0.3
AddVertex, 1.25,0.08,0
AddVertex, -1.25,0.08,0
AddFace2, 0,1,2,3
SetColor,239,184,7

CreateMeshBuilder
AddVertex, 1.25,0.08,0.3
AddVertex, 1.45,0.3,0.3
AddVertex, 1.45,0.3,0
AddVertex, 1.25,0.08,0
AddFace2, 3,2,1,0
SetColor,239,184,7

CreateMeshBuilder
AddVertex, 1.45,0.3,0.3
AddVertex, 1.5365,0.425,0.3
AddVertex, 1.5365,0.425,0
AddVertex, 1.45,0.3,0
AddFace2, 3,2,1,0
GenerateNormals,
SetColor,239,184,7

;narazniky
;levy predek
CreateMeshBuilder,
Cube, 0.15, 0.13, 0.04
Translate, -1.12, 1.01, 0,
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.13, 0.13, 0.45,
Rotate, 1, 0, 0, 90,
Translate, -1.12, 1.01, -0.19
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.1, 0.1, 0.24,
Rotate, 1, 0, 0, 90,
Translate, -1.12, 1.01, -0.525
SetColor,40, 40, 40,

CreateMeshBuilder
AddVertex, -1.4,0.8,-0.65
AddVertex, -1.4,1.23,-0.65
AddVertex, -0.85,1.23,-0.65
AddVertex, -0.85,0.8,-0.65
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, shared\naraznik.bmp
SetTextureCoordinates, 0, 0.5, 1
SetTextureCoordinates, 1, 0.5, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetdecalTransparentcolor, 252,2,4

;pravy predek
CreateMeshBuilder,
Cube, 0.15, 0.13, 0.04
Translate, 1.05, 1.01, 0,
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.13, 0.13, 0.45,
Rotate, 1, 0, 0, 90,
Translate, 1.05, 1.01, -0.19
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.1, 0.1, 0.24,
Rotate, 1, 0, 0, 90,
Translate, 1.05, 1.01, -0.525
SetColor,40, 40, 40,

CreateMeshBuilder
AddVertex, 1.32,0.8,-0.65
AddVertex, 1.32,1.23,-0.65
AddVertex, 0.77,1.23,-0.65
AddVertex, 0.77,0.8,-0.65
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, shared\naraznik.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 0.5, 0
SetTextureCoordinates, 3, 0.5, 1
SetdecalTransparentcolor, 252,2,4

;levy zad
CreateMeshBuilder,
Cube, 0.15, 0.13, 0.04
Translate, -1.1, 1.01, 13.44,
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.1, 0.1, 0.15,
Rotate, 1, 0, 0, 90,
Translate, -1.1, 1.01, 13.474
SetColor,40, 40, 40,

CreateMeshBuilder
AddVertex, -1.4,0.8,13.55
AddVertex, -1.4,1.23,13.55
AddVertex, -0.85,1.23,13.55
AddVertex, -0.85,0.8,13.55
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, shared\naraznik.bmp
SetTextureCoordinates, 0, 0.5, 1
SetTextureCoordinates, 1, 0.5, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetdecalTransparentcolor, 252,2,4

;pravy zad
CreateMeshBuilder,
Cube, 0.15, 0.13, 0.04
Translate, 1.05, 1.01, 13.44,
SetColor,40, 40, 40,

CreateMeshBuilder,
Cylinder, 16, 0.1, 0.1, 0.15,
Rotate, 1, 0, 0, 90,
Translate, 1.05, 1.01, 13.474
SetColor,40, 40, 40,

CreateMeshBuilder
AddVertex, 1.32,0.8,13.55
AddVertex, 1.32,1.23,13.55
AddVertex, 0.77,1.23,13.55
AddVertex, 0.77,0.8,13.55
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, shared\naraznik.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 0.5, 0
SetTextureCoordinates, 3, 0.5, 1
SetdecalTransparentcolor, 252,2,4

;podlazka prvni vuz
CreateMeshBuilder
AddVertex, -1.25,0.08,0.3
AddVertex, -1.45,0.3,0.3
AddVertex, -1.5365,0.425,0.3
AddVertex, 1.5365,0.425,0.3
AddVertex, 1.45,0.3,0.3
AddVertex, 1.25,0.08,0.3
AddFace, 5,4,3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.425,0.3
AddVertex, -1.5365,0.52,0.4
AddVertex, 1.5365,0.52,0.4
AddVertex, 1.5365,0.425,0.3
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.52,0.4
AddVertex, -1.5365,0.62,0.6
AddVertex, 1.5365,0.62,0.6
AddVertex, 1.5365,0.52,0.4
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.62,0.6
AddVertex, -1.5365,0.68,0.87
AddVertex, 1.5365,0.68,0.87
AddVertex, 1.5365,0.62,0.6
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.68,0.87
AddVertex, -1.5365,0.68,2.05
AddVertex, 1.5365,0.68,2.05
AddVertex, 1.5365,0.68,0.87
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.68,2.05
AddVertex, -1.5365,0.9,2.05
AddVertex, 1.5365,0.9,2.05
AddVertex, 1.5365,0.68,2.05
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.9,2.05
AddVertex, -1.5365,0.9,3.83
AddVertex, 1.5365,0.9,3.83
AddVertex, 1.5365,0.9,2.05
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.9,3.83
AddVertex, -1.5365,0.42,4
AddVertex, 1.5365,0.42,4
AddVertex, 1.5365,0.9,3.83
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.42,4
AddVertex, -1.5365,0.42,9.05
AddVertex, 1.5365,0.42,9.05
AddVertex, 1.5365,0.42,4
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.42,9.05
AddVertex, -1.5365,0.9,9.25
AddVertex, 1.5365,0.9,9.25
AddVertex, 1.5365,0.42,9.05
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.9,9.25
AddVertex, -1.5365,0.9,11.5
AddVertex, 1.5365,0.9,11.5
AddVertex, 1.5365,0.9,9.25
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.9,11.5
AddVertex, -1.5365,0.42,11.7
AddVertex, 1.5365,0.42,11.7
AddVertex, 1.5365,0.9,11.5
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.42,11.7
AddVertex, -1.5365,0.42,12.35
AddVertex, 1.5365,0.42,12.35
AddVertex, 1.5365,0.42,11.7
AddFace, 3,2,1,0
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.42,12.35
AddVertex, -1.5365,0.71,12.35
AddVertex, 1.5365,0.71,12.35
AddVertex, 1.5365,0.42,12.35
AddFace, 3,2,1,0
Setcolor, 20,20,20

CreateMeshBuilder
AddVertex, -1.5365,0.71,12.35
AddVertex, -1.5365,0.71,13.14
AddVertex, 1.5365,0.71,13.14
AddVertex, 1.5365,0.71,12.35
AddFace, 3,2,1,0
Setcolor, 20,20,20

CreateMeshBuilder
AddVertex, -1.5365,0.71,13.14
AddVertex, -1.5365,0.42,13.14
AddVertex, 1.5365,0.42,13.14
AddVertex, 1.5365,0.71,13.14
AddFace, 3,2,1,0
Setcolor, 20,20,20

CreateMeshBuilder
AddVertex, -1.5365,0.42,13.14
AddVertex, -1.5365,0.42,13.47
AddVertex, 1.5365,0.42,13.47
AddVertex, 1.5365,0.42,13.14
AddFace, 3,2,1,0
Setcolor, 20,20,20

CreateMeshBuilder
AddVertex, 1.4,0.42,12.35
AddVertex, 1.4,0.71,12.35
AddVertex, 1.4,0.71,13.14
AddVertex, 1.4,0.42,13.14
AddFace, 0,1,2,3
Setcolor, 20,20,20

CreateMeshBuilder
AddVertex, -1.4,0.42,12.35
AddVertex, -1.4,0.71,12.35
AddVertex, -1.4,0.71,13.14
AddVertex, -1.4,0.42,13.14
AddFace, 3,2,1,0
Setcolor, 20,20,20

;strecha prvni
CreateMeshBuilder
AddVertex, -1.5365,3.17,13.465
AddVertex, -1.46,3.3,13.465
AddVertex, -1.46,3.3,1.27
AddVertex, -1.5365,3.17,1.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.65
SetTextureCoordinates, 2, 1, 0.65
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, -1.46,3.3,13.465
AddVertex, -1.41,3.36,13.465
AddVertex, -1.41,3.36,1.27
AddVertex, -1.46,3.3,1.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 0.65
SetTextureCoordinates, 1, 0, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.65

CreateMeshBuilder
AddVertex, -1.41,3.36,13.465
AddVertex, -1.3,3.4,13.465
AddVertex, -1.3,3.4,1.27
AddVertex, -1.41,3.36,1.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 0.25
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.25

CreateMeshBuilder
AddVertex, -1.3,3.4,13.465
AddVertex, -0.3,3.52,13.465
AddVertex, -0.3,3.52,1.27
AddVertex, -1.3,3.4,1.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.5
SetTextureCoordinates, 2, 1, 0.5
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, -0.3,3.52,13.465
AddVertex, 0.3,3.52,13.465
AddVertex, 0.3,3.52,1.27
AddVertex, -0.3,3.52,1.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0, 0.72
SetTextureCoordinates, 1, 0, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.75

CreateMeshBuilder
AddVertex, 1.3,3.4,13.465
AddVertex, 0.3,3.52,13.465
AddVertex, 0.3,3.52,1.27
AddVertex, 1.3,3.4,1.27
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.5
SetTextureCoordinates, 2, 1, 0.5
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, 1.41,3.36,13.465
AddVertex, 1.3,3.4,13.465
AddVertex, 1.3,3.4,1.27
AddVertex, 1.41,3.36,1.27
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 0.25
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.25

CreateMeshBuilder
AddVertex, 1.46,3.3,13.465
AddVertex, 1.41,3.36,13.465
AddVertex, 1.41,3.36,1.27
AddVertex, 1.46,3.3,1.27
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 0.65
SetTextureCoordinates, 1, 0, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.65

CreateMeshBuilder
AddVertex, 1.5365,3.17,13.465
AddVertex, 1.46,3.3,13.465
AddVertex, 1.46,3.3,1.27
AddVertex, 1.5365,3.17,1.27
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.65
SetTextureCoordinates, 2, 1, 0.65
SetTextureCoordinates, 3, 1, 1

;cast 2
CreateMeshBuilder
AddVertex, -1.5365,3.17,1.27
AddVertex, -1.46,3.3,1.27
AddVertex, -1.46,3.16,0.27
AddVertex, -1.5365,3.06,0.25
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 1
SetTextureCoordinates, 1, 0.94, 0.65
SetTextureCoordinates, 2, 1, 0.65
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, -1.46,3.3,1.27
AddVertex, -1.41,3.36,1.27
AddVertex, -1.41,3.2,0.29
AddVertex, -1.46,3.16,0.27
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 0.65
SetTextureCoordinates, 1, 0.94, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.65

CreateMeshBuilder
AddVertex, -1.41,3.36,1.27
AddVertex, -1.3,3.4,1.27
AddVertex, -1.4,3.21,0.29
AddVertex, -1.41,3.2,0.29
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 0.25
SetTextureCoordinates, 1, 0.94, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.25

CreateMeshBuilder
AddVertex, -1.3,3.4,1.27
AddVertex, -0.3,3.52,1.27
AddVertex, -0.3,3.4,0.34
AddVertex, -1.4,3.21,0.29
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0.94, 1
SetTextureCoordinates, 1, 0.94, 0.5
SetTextureCoordinates, 2, 1, 0.5
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, -0.3,3.52,1.27
AddVertex, 0.3,3.52,1.27
AddVertex, 0.3,3.4,0.34
AddVertex, -0.3,3.4,0.34
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0.94, 0.72
SetTextureCoordinates, 1, 0.94, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.75

CreateMeshBuilder
AddVertex, 1.3,3.4,1.27
AddVertex, 0.3,3.52,1.27
AddVertex, 0.3,3.4,0.34
AddVertex, 1.4,3.21,0.29
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha A.bmp
SetTextureCoordinates, 0, 0.94, 1
SetTextureCoordinates, 1, 0.94, 0.5
SetTextureCoordinates, 2, 1, 0.5
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, 1.41,3.36,1.27
AddVertex, 1.3,3.4,1.27
AddVertex, 1.4,3.21,0.29
AddVertex, 1.41,3.2,0.29
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 0.25
SetTextureCoordinates, 1, 0.94, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.25

CreateMeshBuilder
AddVertex, 1.46,3.3,1.27
AddVertex, 1.41,3.36,1.27
AddVertex, 1.41,3.2,0.29
AddVertex, 1.46,3.16,0.27
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 0.65
SetTextureCoordinates, 1, 0.94, 0.25
SetTextureCoordinates, 2, 1, 0.25
SetTextureCoordinates, 3, 1, 0.65

CreateMeshBuilder
AddVertex, 1.5365,3.17,1.27
AddVertex, 1.46,3.3,1.27
AddVertex, 1.46,3.16,0.27
AddVertex, 1.5365,3.06,0.25
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture, shared\Strecha B.bmp
SetTextureCoordinates, 0, 0.94, 1
SetTextureCoordinates, 1, 0.94, 0.65
SetTextureCoordinates, 2, 1, 0.65
SetTextureCoordinates, 3, 1, 1

;pruchod
CreateMeshBuilder
AddVertex, -0.55,1.1,13.72
AddVertex, -0.92,1.5,13.72
AddVertex, -0.92,1.5,13.42
AddVertex, -0.55,1.1,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.8
SetTextureCoordinates, 2, 1, 0.8
SetTextureCoordinates, 3, 1, 1

CreateMeshBuilder
AddVertex, -0.92,1.5,13.72
AddVertex, -0.92,3.1,13.72
AddVertex, -0.92,3.1,13.42
AddVertex, -0.92,1.5,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.8
SetTextureCoordinates, 1, 0, 0.2
SetTextureCoordinates, 2, 1, 0.2
SetTextureCoordinates, 3, 1, 0.8

CreateMeshBuilder
AddVertex, -0.92,3.1,13.72
AddVertex, -0.82,3.3,13.72
AddVertex, -0.82,3.3,13.42
AddVertex, -0.92,3.1,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.2
SetTextureCoordinates, 1, 0, 0.14
SetTextureCoordinates, 2, 1, 0.14
SetTextureCoordinates, 3, 1, 0.2

CreateMeshBuilder
AddVertex, -0.82,3.3,13.72
AddVertex, -0.65,3.43,13.72
AddVertex, -0.65,3.43,13.42
AddVertex, -0.82,3.3,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.14
SetTextureCoordinates, 1, 0, 0.07
SetTextureCoordinates, 2, 1, 0.07
SetTextureCoordinates, 3, 1, 0.14

CreateMeshBuilder
AddVertex, -0.65,3.43,13.72
AddVertex, -0.5,3.49,13.72
AddVertex, -0.5,3.49,13.42
AddVertex, -0.65,3.43,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.07
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.07

CreateMeshBuilder
AddVertex, -0.5,3.49,13.72
AddVertex, 0,3.49,13.72
AddVertex, 0,3.49,13.42
AddVertex, -0.5,3.49,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0
SetTextureCoordinates, 1, 0, 0.3
SetTextureCoordinates, 2, 1, 0.3
SetTextureCoordinates, 3, 1, 0

CreateMeshBuilder
AddVertex, 0,3.49,13.72
AddVertex, 0.5,3.49,13.72
AddVertex, 0.5,3.49,13.42
AddVertex, 0,3.49,13.42
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.3
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.3

CreateMeshBuilder
AddVertex, 0.65,3.43,13.72
AddVertex, 0.5,3.49,13.72
AddVertex, 0.5,3.49,13.42
AddVertex, 0.65,3.43,13.42
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.07
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 0.07

CreateMeshBuilder
AddVertex, 0.82,3.3,13.72
AddVertex, 0.65,3.43,13.72
AddVertex, 0.65,3.43,13.42
AddVertex, 0.82,3.3,13.42
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.14
SetTextureCoordinates, 1, 0, 0.07
SetTextureCoordinates, 2, 1, 0.07
SetTextureCoordinates, 3, 1, 0.14

CreateMeshBuilder
AddVertex, 0.92,3.1,13.72
AddVertex, 0.82,3.3,13.72
AddVertex, 0.82,3.3,13.42
AddVertex, 0.92,3.1,13.42
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.2
SetTextureCoordinates, 1, 0, 0.14
SetTextureCoordinates, 2, 1, 0.14
SetTextureCoordinates, 3, 1, 0.2

CreateMeshBuilder
AddVertex, 0.92,1.5,13.72
AddVertex, 0.92,3.1,13.72
AddVertex, 0.92,3.1,13.42
AddVertex, 0.92,1.5,13.42
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 0.8
SetTextureCoordinates, 1, 0, 0.2
SetTextureCoordinates, 2, 1, 0.2
SetTextureCoordinates, 3, 1, 0.8

CreateMeshBuilder
AddVertex, 0.55,1.1,13.72
AddVertex, 0.92,1.5,13.72
AddVertex, 0.92,1.5,13.42
AddVertex, 0.55,1.1,13.42
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, shared\814 guma.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0.8
SetTextureCoordinates, 2, 1, 0.8
SetTextureCoordinates, 3, 1, 1

;drzaky zadnich schodu
CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, 1.48, 0.6, 13.06,
SetColor,150,150,150

CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, -1.48, 0.6, 13.06,
SetColor,150,150,150

;drzaky prednich schodu
CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, 1.48, 0.6, 1.06,
SetColor,150,150,150

CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, 1.48, 0.6, 1.775,
SetColor,150,150,150

CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, -1.48, 0.6, 1.06,
SetColor,150,150,150

CreateMeshBuilder,
Cube, 0.04, 0.15, 0.04
Translate, -1.48, 0.6, 1.775,
SetColor,150,150,150

TranslateAll,0,0,-6.5