;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.4,13.67
AddVertex, -1.5365,3.53,13.67
AddVertex, 1.5365,3.53,13.67
AddVertex, 1.5365,0.4,13.67
AddFace, 0,1,2,3
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

CreateMeshBuilder
AddVertex, 1.5365,0.4,13.67
AddVertex, 1.5365,3.2,13.67
AddVertex, 1.5365,3.2,27.44
AddVertex, 1.5365,0.4,27.44
AddFace, 0,1,2,3
GenerateNormals,
LoadTexture, 014\814bok2.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,27.44
AddVertex, -1.5365,3.53,27.44
AddVertex, 1.5365,3.53,27.44
AddVertex, 1.5365,0.4,27.44
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.4,13.67
AddVertex, -1.5365,3.2,13.67
AddVertex, -1.5365,3.2,27.44
AddVertex, -1.5365,0.4,27.44
AddFace, 3,2,1,0
GenerateNormals,
LoadTexture, 014\814bok2a.bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

;kola leva strana
;treti
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, -0.74, 0.6, 16.6
SetColor, 58,58,52

CreateMeshBuilder,
Cylinder, 8, 0.08, 0.08, 1.48
Rotate, 0.01,0,90,90
Translate, 0, 0.6, 16.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, 16.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, 16.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, 1.1,0,15.5
AddVertex, 1.1,1,15.5
AddVertex, 1.1,1,17.6
AddVertex, 1.1,0,17.6
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 014\014 p1(3).bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

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

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

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

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

CreateMeshBuilder
AddVertex, -1.1,0,23.9
AddVertex, -1.1,1,23.9
AddVertex, -1.1,1,25.8
AddVertex, -1.1,0,25.8
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 014\014 p2(4).bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

;kola prava strana
;treti kolo
CreateMeshBuilder,
Cylinder, 32, 0.6, 0.6, 0.06
Rotate, 0.01,0,90,90
Translate, 0.74, 0.625, 16.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,16.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, 16.6
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, -1.1,0,15.5
AddVertex, -1.1,1,15.5
AddVertex, -1.1,1,17.6
AddVertex, -1.1,0,17.6
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 014\014 p1(3).bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

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

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

CreateMeshBuilder,
Cylinder, 32, 0.659, 0.659, 0.01
Rotate, 0.01,0,90,90
Translate, 0.686, 0.625, 24.95
SetColor, 58,58,52

CreateMeshBuilder
AddVertex, 1.1,0,23.9
AddVertex, 1.1,1,23.9
AddVertex, 1.1,1,25.8
AddVertex, 1.1,0,25.8
AddFace2, 0,1,2,3
GenerateNormals,
LoadTexture, 014\014 p2(4).bmp
SetTextureCoordinates, 0, 0, 1
SetTextureCoordinates, 1, 0, 0
SetTextureCoordinates, 2, 1, 0
SetTextureCoordinates, 3, 1, 1
SetDecalTransparentColor, 252,2,4

;spodek2
CreateMeshBuilder
AddVertex, -1.5365,0.4,13.67
AddVertex, -1.5365,0.4,15.51
AddVertex, 1.5365,0.4,15.51
AddVertex, 1.5365,0.4,13.67
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.4,15.51
AddVertex, -1.5365,1,15.75
AddVertex, 1.5365,1,15.75
AddVertex, 1.5365,0.4,15.51
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,1,15.75
AddVertex, -1.5365,1,17.22
AddVertex, 1.5365,1,17.22
AddVertex, 1.5365,1,15.75
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,1,17.22
AddVertex, -1.5365,0.4,17.68
AddVertex, 1.5365,0.4,17.68
AddVertex, 1.5365,1,17.22
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.4,17.68
AddVertex, -1.48,0.3,17.68
AddVertex, 1.48,0.3,17.68
AddVertex, 1.5365,0.4,17.68
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 75,75,75

CreateMeshBuilder
AddVertex, -1.48,0.3,23.77
AddVertex, -1.5365,0.4,23.77
AddVertex, -1.5365,0.4,17.68
AddVertex, -1.48,0.3,17.68
AddFace, 0,1,2,3
GenerateNormals
Setcolor, 75,75,75

CreateMeshBuilder
AddVertex, 1.48,0.3,23.77
AddVertex, 1.5365,0.4,23.77
AddVertex, 1.5365,0.4,17.68
AddVertex, 1.48,0.3,17.68
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 75,75,75

CreateMeshBuilder
AddVertex, -1.48,0.3,17.68
AddVertex, -1.48,0.4,23.77
AddVertex, 1.48,0.4,23.77
AddVertex, 1.48,0.3,17.68
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 75,75,75

CreateMeshBuilder
AddVertex, -1.5365,0.4,23.77
AddVertex, -1.48,0.3,23.77
AddVertex, 1.48,0.3,23.77
AddVertex, 1.5365,0.4,23.77
AddFace, 0,1,2,3
GenerateNormals
Setcolor, 75,75,75

CreateMeshBuilder
AddVertex, -1.5365,1,24.23
AddVertex, -1.5365,0.4,23.77
AddVertex, 1.5365,0.4,23.77
AddVertex, 1.5365,1,24.23
AddFace, 0,1,2,3
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,1,24.23
AddVertex, -1.5365,1,25.68
AddVertex, 1.5365,1,25.68
AddVertex, 1.5365,1,24.23
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,1,25.68
AddVertex, -1.5365,0.4,25.91
AddVertex, 1.5365,0.4,25.91
AddVertex, 1.5365,1,25.68
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

CreateMeshBuilder
AddVertex, -1.5365,0.4,25.91
AddVertex, -1.5365,0.4,27.44
AddVertex, 1.5365,0.4,27.44
AddVertex, 1.5365,0.4,25.91
AddFace, 3,2,1,0
GenerateNormals
Setcolor, 50,50,50

;strecha 2
CreateMeshBuilder
AddVertex, -1.5365,3.19,27.44
AddVertex, -1.46,3.3,27.44
AddVertex, -1.46,3.3,13.67
AddVertex, -1.5365,3.19,13.67
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,27.44
AddVertex, -1.41,3.36,27.44
AddVertex, -1.41,3.36,13.67
AddVertex, -1.46,3.3,13.67
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,27.44
AddVertex, -1.3,3.4,27.44
AddVertex, -1.3,3.4,13.67
AddVertex, -1.41,3.36,13.67
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,27.44
AddVertex, -0.3,3.52,27.44
AddVertex, -0.3,3.52,13.67
AddVertex, -1.3,3.4,13.67
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,27.44
AddVertex, 0.3,3.52,27.44
AddVertex, 0.3,3.52,13.67
AddVertex, -0.3,3.52,13.67
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,27.44
AddVertex, 0.3,3.52,27.44
AddVertex, 0.3,3.52,13.67
AddVertex, 1.3,3.4,13.67
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,27.44
AddVertex, 1.3,3.4,27.44
AddVertex, 1.3,3.4,13.67
AddVertex, 1.41,3.36,13.67
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,27.44
AddVertex, 1.41,3.36,27.44
AddVertex, 1.41,3.36,13.67
AddVertex, 1.46,3.3,13.67
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.19,27.44
AddVertex, 1.46,3.3,27.44
AddVertex, 1.46,3.3,13.67
AddVertex, 1.5365,3.19,13.67
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

;narazniky
;levy predek
CreateMeshBuilder,
Cube, 0.15, 0.13, 0.04
Translate, -1.1, 1.01, 13.7,
SetColor,40, 40, 40,

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

CreateMeshBuilder
AddVertex, -1.4,0.8,13.57
AddVertex, -1.4,1.23,13.57
AddVertex, -0.85,1.23,13.57
AddVertex, -0.85,0.8,13.57
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, 13.7,
SetColor,40, 40, 40,

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

CreateMeshBuilder
AddVertex, 1.32,0.8,13.57
AddVertex, 1.32,1.23,13.57
AddVertex, 0.77,1.23,13.57
AddVertex, 0.77,0.8,13.57
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, 27.43,
SetColor,40, 40, 40,

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

CreateMeshBuilder
AddVertex, -1.4,0.8,27.54
AddVertex, -1.4,1.23,27.54
AddVertex, -0.85,1.23,27.54
AddVertex, -0.85,0.8,27.54
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, 27.44,
SetColor,40, 40, 40,

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

CreateMeshBuilder
AddVertex, 1.32,0.8,27.54
AddVertex, 1.32,1.23,27.54
AddVertex, 0.77,1.23,27.54
AddVertex, 0.77,0.8,27.54
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

TranslateAll, 0,0,-20.555