; Skladiště (trakty 1 a 2, s plným zábradlím na straně ke kolejím)
; ----------------------------------------------------------------
; (c) Vince Black, 2009
; Originál se nachází ve stanici Praha - Masarykovo nádraží


; ************************************************************************
; * TRAKT 1                                                              *
; ************************************************************************

; ----- PŘEDNÍ STĚNA-------------------------------------------
; stěna
CreateMeshBuilder,
AddVertex,-52.1 ,  1.1 ,  2 ,
AddVertex,-52.1 ,  5.32 ,  2 ,
AddVertex, -17.7 ,  5.32 ,  2 ,
AddVertex, -17.7 ,  1.1 ,  2 ,
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex,-52.1 ,  0 ,  2 ,
AddVertex,-52.1 ,  1.12 ,  2 ,
AddVertex, -47.28 ,  1.12 ,  2 ,
AddVertex, -47.28 ,  0 ,  2 ,
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.8,
SetTextureCoordinates,2, 0.15, 0.8,
SetTextureCoordinates,3, 0.15, 1,

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -17.5, 5.25, 1.25
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -17.5, 5.1, 1.25
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -24.8, 5.25, 0.85
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -24.8, 5.1, 0.85
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -34.3, 5.25, 0.75
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -34.3, 5.1, 0.75
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -44.5, 5.25, 0.65
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -44.5, 5.1, 0.65
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1

; ----- ZÁBRADLÍ -------------------------------------------
CreateMeshBuilder,
AddVertex, -51.68, 0.6, -0.02
AddVertex, -51.68, 1.6, -0.02
AddVertex, -49.48, 1.8, -0.02
AddVertex, -49.48, 0.8, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -49.48, 0.8, -0.02
AddVertex, -49.48, 1.8, -0.02
AddVertex, -47.28, 2, -0.02
AddVertex, -47.28, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -47.38, 1, -0.03
AddVertex, -47.38, 2.01, -0.03
AddVertex, -42.68, 2.01, -0.03
AddVertex, -42.68, 1, -0.03
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_brana.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -42.78, 1, -0.02
AddVertex, -42.78, 2, -0.02
AddVertex, -40.58, 2, -0.02
AddVertex, -40.58, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -40.58, 1, -0.02
AddVertex, -40.58, 2, -0.02
AddVertex, -38.38, 2, -0.02
AddVertex, -38.38, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -38.38, 1, -0.02
AddVertex, -38.38, 2, -0.02
AddVertex, -36.18, 2, -0.02
AddVertex, -36.18, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -36.18, 1, -0.02
AddVertex, -36.18, 2, -0.02
AddVertex, -33.98, 2, -0.02
AddVertex, -33.98, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -33.98, 1, -0.02
AddVertex, -33.98, 2, -0.02
AddVertex, -31.78, 2, -0.02
AddVertex, -31.78, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -31.78, 1, -0.02
AddVertex, -31.78, 2, -0.02
AddVertex, -29.58, 2, -0.02
AddVertex, -29.58, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -29.58, 1, -0.02
AddVertex, -29.58, 2, -0.02
AddVertex, -27.38, 2, -0.02
AddVertex, -27.38, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -27.48, 1, -0.03
AddVertex, -27.48, 2.01, -0.03
AddVertex, -22.88, 2.01, -0.03
AddVertex, -22.88, 1, -0.03
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_brana.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -22.98, 1, -0.02
AddVertex, -22.98, 2, -0.02
AddVertex, -20.78, 2, -0.02
AddVertex, -20.78, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -20.78, 1, -0.02
AddVertex, -20.78, 2, -0.02
AddVertex, -18.58, 2, -0.02
AddVertex, -18.58, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -18.58, 1, -0.02
AddVertex, -18.58, 2, -0.02
AddVertex, -16.68, 2, -0.02
AddVertex, -16.68, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,



; ----- PŘEDNÍ RAMPA -------------------------------------------
CreateMeshBuilder,
AddVertex, -64, 0, 0
AddVertex, -47.28, 1.1, 0
AddVertex, -47.28, 0, 0
AddFace, 0, 1, 2
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_predek_s.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -47.28, 0, 2
AddVertex, -47.28, 1.1, 2
AddVertex, -64, 0, 2
AddFace, 0, 1, 2
GenerateNormals,
LoadTexture,sklad_rampa_bok.png,
SetTextureCoordinates, 0, 6, 1,
SetTextureCoordinates, 1, 6, 0,
SetTextureCoordinates, 2, 0, 1,

CreateMeshBuilder,
AddVertex, -47.3, 0, 0
AddVertex, -47.3, 1.1, 0
AddVertex, -17.7, 1.1, 0
AddVertex, -17.7, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -64, 0, 0
AddVertex, -64, 0, 2
AddVertex, -47.28, 1.1, 2
AddVertex, -47.28, 1.1, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_povrch.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 12, 0,
SetTextureCoordinates,3, 12, 1,

; ----- SKLAD - LEVÁ BOČNÍ STĚNA-------------------------------------------
CreateMeshBuilder,
AddVertex, -52.1, 1.1, 14
AddVertex, -52.1, 5.5, 14
AddVertex, -52.1, 5.5, 2
AddVertex, -52.1, 1.1, 2
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_bok_l.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -52.1, 0, 14
AddVertex, -52.1, 1.1, 14
AddVertex, -52.1, 1.1, 2
AddVertex, -52.1, 0, 2
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_bok.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 8, 0,
SetTextureCoordinates,3, 8, 1,

; ----- SKLAD - ZADNÍ STĚNA -------------------------------------------
; stěna
CreateMeshBuilder,
AddVertex, -17.72, 1.1, 14
AddVertex, -17.72, 5.32, 14
AddVertex, -52.1, 5.32, 14
AddVertex, -52.1, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; šikmé zábradlí u schodů (na zdi)
CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 2.2
Rotate, 0, 0, 1, -65
Translate, -48, 1.55, 14.05
LoadTexture,trakt_1/sklad_zabradli.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -18, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -18, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -24.8, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -24.8, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -34.8, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -34.8, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -44.5, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -44.5, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

; ----- ZADNÍ RAMPA -------------------------------------------
CreateMeshBuilder,
AddVertex, -17.7, 0, 16
AddVertex, -17.7, 1.1, 16
AddVertex, -46.7, 1.1, 16
AddVertex, -46.7, 0, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -46.68, 0, 14
AddVertex, -46.68, 1.1, 14
AddVertex, -52.1, 1.1, 14
AddVertex, -52.1, 0, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_zadek2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -46.68, 0, 16
AddVertex, -46.68, 1.1, 16
AddVertex, -48.5, 1.1, 16
AddVertex, -48.5, 0, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_schody_b.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -47.37, 0.6, 16 ;bod 0
AddVertex, -47.37, 0.76, 16 ;bod 1
AddVertex, -47.09, 0.76, 16 ;bod 2
AddVertex, -47.09, 0.93, 16 ;bod 3
AddVertex, -46.86, 0.93, 16 ;bod 4
AddVertex, -46.86, 1.1, 16 ;bod 5
AddVertex, -46.7, 1.1, 16 ;BOD 6
AddVertex, -46.7, 1.1, 14 ;BOD 7
AddVertex, -46.86, 1.1, 14 ;bod 8
AddVertex, -46.86, 0.93, 14 ;bod 9
AddVertex, -47.09, 0.93, 14 ;bod 10
AddVertex, -47.09, 0.76, 14 ;bod 11
AddVertex, -47.37, 0.76, 14 ;bod 12
AddVertex, -47.37, 0.6, 14 ;bod 13
AddFace, 0, 1, 12, 13
AddFace, 1, 2, 11, 12
AddFace, 2, 3, 10, 11
AddFace, 3, 4, 9, 10
AddFace, 4, 5, 8, 9
AddFace, 5, 6, 7, 8
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_schody.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.78,
SetTextureCoordinates,2, 0, 0.64,
SetTextureCoordinates,3, 0, 0.44,
SetTextureCoordinates,4, 0, 0.31,
SetTextureCoordinates,5, 0, 0.13,
SetTextureCoordinates,6, 0, 0,
SetTextureCoordinates,7, 1, 0,
SetTextureCoordinates,8, 1, 0.13,
SetTextureCoordinates,9, 1, 0.31,
SetTextureCoordinates,10, 1, 0.44,
SetTextureCoordinates,11, 1, 0.64,
SetTextureCoordinates,12, 1, 0.78,
SetTextureCoordinates,13, 1, 1,

CreateMeshBuilder,
AddVertex, -48.18, 0.1, 16 ;bod 0
AddVertex, -48.18, 0.28, 16 ;bod 1
AddVertex, -47.94, 0.28, 16 ;bod 2
AddVertex, -47.94, 0.45, 16 ;bod 3
AddVertex, -47.65, 0.45, 16 ;bod 4
AddVertex, -47.65, 0.6, 16 ;bod 5
AddVertex, -47.37, 0.6, 16 ;BOD 6
AddVertex, -47.37, 0.6, 14 ;BOD 7
AddVertex, -47.65, 0.6, 14 ;bod 8
AddVertex, -47.65, 0.45, 14 ;bod 9
AddVertex, -47.94, 0.45, 14 ;bod 10
AddVertex, -47.94, 0.28, 14 ;bod 11
AddVertex, -48.18, 0.28, 14 ;bod 12
AddVertex, -48.18, 0.1, 14 ;bod 13
AddFace, 0, 1, 12, 13
AddFace, 1, 2, 11, 12
AddFace, 2, 3, 10, 11
AddFace, 3, 4, 9, 10
AddFace, 4, 5, 8, 9
AddFace, 5, 6, 7, 8
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_schody.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.78,
SetTextureCoordinates,2, 0, 0.64,
SetTextureCoordinates,3, 0, 0.44,
SetTextureCoordinates,4, 0, 0.31,
SetTextureCoordinates,5, 0, 0.11,
SetTextureCoordinates,6, 0, 0,
SetTextureCoordinates,7, 1, 0,
SetTextureCoordinates,8, 1, 0.11,
SetTextureCoordinates,9, 1, 0.31,
SetTextureCoordinates,10, 1, 0.44,
SetTextureCoordinates,11, 1, 0.64,
SetTextureCoordinates,12, 1, 0.78,
SetTextureCoordinates,13, 1, 1,

CreateMeshBuilder,
AddVertex, -48.49, 0, 16 ;bod 0
AddVertex, -48.49, 0.14, 16 ;bod 1
AddVertex, -48.18, 0.14, 16 ;BOD 2
AddVertex, -48.18, 0.14, 14 ;BOD 3
AddVertex, -48.49, 0.14, 14 ;bod 4
AddVertex, -48.49, 0, 14 ;bod 5
AddFace, 0, 1, 4, 5
AddFace, 1, 2, 3, 4
GenerateNormals,
LoadTexture,trakt_1/sklad_rampa_schody.png,
SetTextureCoordinates,0, 0, 0.31,
SetTextureCoordinates,1, 0, 0.11,
SetTextureCoordinates,2, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,4, 1, 0.11,
SetTextureCoordinates,5, 1, 0.31,

CreateMeshBuilder,
AddVertex, -46.58, 1, 16.02
AddVertex, -46.58, 2, 16.02
AddVertex, -48.53, 1, 16.02
AddVertex, -48.53, 0, 16.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -40.58, 1, -0.02
AddVertex, -40.58, 2, -0.02
AddVertex, -38.38, 2, -0.02
AddVertex, -38.38, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,
AddVertex, -46.7, 1.1, 14
AddVertex, -46.7, 1.1, 16
AddVertex, -17.7, 1.1, 16
AddVertex, -17.7, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_povrch.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 6, 0,
SetTextureCoordinates,3, 6, 1,



; ************************************************************************
; * TRAKT 2                                                              *
; ************************************************************************

; ----- PŘEDNÍ RAMPA -------------------------------------------
CreateMeshBuilder,
AddVertex, -17.7, 0, 0
AddVertex, -17.7, 1.1, 0
AddVertex, 20, 1.1, 0
AddVertex, 20, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_2/sklad_rampa_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -47.3, 1.1, 0
AddVertex, -47.3, 1.1, 2
AddVertex, 20, 1.1, 2
AddVertex, 20, 1.1, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_povrch.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 12, 0,
SetTextureCoordinates,3, 12, 1,


; ----- SKLAD - PŘEDNÍ STĚNA-------------------------------------------
; stěna
CreateMeshBuilder,
AddVertex, -17.7, 1.1, 2
AddVertex, -17.7, 5.32, 2
AddVertex, 17.7, 5.32, 2
AddVertex, 17.7, 1.1, 2
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_2/sklad_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -10, 5.25, 0.65
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -10, 5.1, 0.65
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 0, 5.25, 0.8
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 0, 5.1, 0.8
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 9.8, 5.25, 0.8
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 9.8, 5.1, 0.8
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 17.5, 5.25, 1
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 17.5, 5.1, 1
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 


; ----- ZÁBRADLÍ -------------------------------------------
CreateMeshBuilder,
AddVertex, -16.7, 1, -0.02
AddVertex, -16.7, 2, -0.02
AddVertex, -14.5, 2, -0.02
AddVertex, -14.5, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -14.5, 1, -0.02
AddVertex, -14.5, 2, -0.02
AddVertex, -12.3, 2, -0.02
AddVertex, -12.3, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -12.4, 1, -0.03
AddVertex, -12.4, 2.01, -0.03
AddVertex, -7.8, 2.01, -0.03
AddVertex, -7.8, 1, -0.03
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_brana.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -7.9, 1, -0.02
AddVertex, -7.9, 2, -0.02
AddVertex, -5.38, 2, -0.02
AddVertex, -5.38, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -5.38, 1, -0.02
AddVertex, -5.38, 2, -0.02
AddVertex, -2.86, 2, -0.02
AddVertex, -2.86, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -2.86, 1, -0.02
AddVertex, -2.86, 2, -0.02
AddVertex, -0.34, 2, -0.02
AddVertex, -0.34, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, -0.34, 1, -0.02
AddVertex, -0.34, 2, -0.02
AddVertex, 2.18, 2, -0.02
AddVertex, 2.18, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, 2.18, 1, -0.02
AddVertex, 2.18, 2, -0.02
AddVertex, 4.7, 2, -0.02
AddVertex, 4.7, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, 4.7, 1, -0.02
AddVertex, 4.7, 2, -0.02
AddVertex, 7.2, 2, -0.02
AddVertex, 7.2, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 7.1, 1, -0.03
AddVertex, 7.1, 2.01, -0.03
AddVertex, 11.7, 2.01, -0.03
AddVertex, 11.7, 1, -0.03
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_brana.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 11.6, 1, -0.02
AddVertex, 11.6, 2, -0.02
AddVertex, 14.12, 2, -0.02
AddVertex, 14.12, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_kraj.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, 14.12, 1, -0.02
AddVertex, 14.12, 2, -0.02
AddVertex, 16.64, 2, -0.02
AddVertex, 16.64, 1, -0.02
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_dil.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,


; ----- SKLAD - PRAVÁ BOČNÍ STĚNA-------------------------------------------
CreateMeshBuilder,
AddVertex, 17.7, 1.1, 2
AddVertex, 17.7, 5.5, 2
AddVertex, 17.7, 5.5, 14
AddVertex, 17.7, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_bok_p.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 17.9, 5.4, 6.2
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 17.9, 5.25, 6.2
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 17.7, 5.25, 15.2
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 17.7, 5.1, 15.2
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder,
AddVertex, 20, 1.1, 2
AddVertex, 17.7, 1.1, 2
AddVertex, 17.7, 1.1, 14
AddVertex, 20, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_povrch.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2, 0,
SetTextureCoordinates,3, 2, 1,

CreateMeshBuilder,
AddVertex, 20, 0, 0
AddVertex, 20, 1.1, 0
AddVertex, 20, 1.1, 16
AddVertex, 20, 0, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_bok.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 1,


; ----- ZADNÍ RAMPA -------------------------------------------
CreateMeshBuilder,
AddVertex, 20, 0, 16
AddVertex, 20, 1.1, 16
AddVertex, 17.7, 1.1, 16
AddVertex, 17.7, 0, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 17.7, 0, 16
AddVertex, 17.7, 1.1, 16
AddVertex, -17.7, 1.1, 16
AddVertex, -17.7, 0, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_2/sklad_rampa_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -17.7, 1.1, 14
AddVertex, -17.7, 1.1, 16
AddVertex, 20, 1.1, 16
AddVertex, 20, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_rampa_povrch.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 6, 0,
SetTextureCoordinates,3, 6, 1,


; ----- ZADNÍ STĚNA -------------------------------------------
; stěna
CreateMeshBuilder,
AddVertex, 17.7, 1.1, 14
AddVertex, 17.7, 5.32, 14
AddVertex, -17.72, 5.32, 14
AddVertex, -17.72, 1.1, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,trakt_2/sklad_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; lampy
CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, 9.6, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, 9.6, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -0.7, 5.25, 14.7
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 9, 0.18, 0.12, 0.2
Translate, -0.7, 5.1, 14.7
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 

CreateMeshBuilder
Cylinder, 5, 0.08, 0.15, 0.1
Translate, -10.5, 5.25, 14.6
LoadTexture,sklad_lampa_vrch.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
CreateMeshBuilder
Cylinder, 5, 0.18, 0.12, 0.2
Translate, -10.5, 5.1, 14.6
LoadTexture,sklad_lampa.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 


; ----- TYČE ZADNÍHO ZÁBRADLÍ -------------------------------------------
CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, 16.55, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, 16.63, 1.94, 15.95
AddVertex, 16.63, 2, 15.95
AddVertex, 16.47, 2, 15.95
AddVertex, 16.47, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, 11.67, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, 11.75, 1.94, 15.95
AddVertex, 11.75, 2, 15.95
AddVertex, 11.59, 2, 15.95
AddVertex, 11.59, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, 6.65, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, 6.73, 1.94, 15.95
AddVertex, 6.73, 2, 15.95
AddVertex, 6.57, 2, 15.95
AddVertex, 6.57, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, 1.25, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, 1.33, 1.94, 15.95
AddVertex, 1.33, 2, 15.95
AddVertex, 1.17, 2, 15.95
AddVertex, 1.17, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -3.63, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -3.55, 1.94, 15.95
AddVertex, -3.55, 2, 15.95
AddVertex, -3.71, 2, 15.95
AddVertex, -3.71, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -8.45, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -8.53, 1.94, 15.95
AddVertex, -8.53, 2, 15.95
AddVertex, -8.37, 2, 15.95
AddVertex, -8.37, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -13.15, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -13.23, 1.94, 15.95
AddVertex, -13.23, 2, 15.95
AddVertex, -13.07, 2, 15.95
AddVertex, -13.07, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -17.83, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -17.91, 1.94, 15.95
AddVertex, -17.91, 2, 15.95
AddVertex, -17.75, 2, 15.95
AddVertex, -17.75, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -22.68, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -22.76, 1.94, 15.95
AddVertex, -22.76, 2, 15.95
AddVertex, -22.6, 2, 15.95
AddVertex, -22.6, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -27.74, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -27.82, 1.94, 15.95
AddVertex, -27.82, 2, 15.95
AddVertex, -27.66, 2, 15.95
AddVertex, -27.66, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -32.62, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -32.7, 1.94, 15.95
AddVertex, -32.7, 2, 15.95
AddVertex, -32.54, 2, 15.95
AddVertex, -32.54, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -37.72, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -37.8, 1.94, 15.95
AddVertex, -37.8, 2, 15.95
AddVertex, -37.64, 2, 15.95
AddVertex, -37.64, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder
Cylinder, 20, 0.025, 0.025, 0.9
Translate, -42.51, 1.55, 15.98
LoadTexture,sklad_zabradli_tyc.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
CreateMeshBuilder,
AddVertex, -42.59, 1.94, 15.95
AddVertex, -42.59, 2, 15.95
AddVertex, -42.43, 2, 15.95
AddVertex, -42.43, 1.94, 15.95
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_zabradli_tyc_ocko.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

; ----- STŘECHA (oba trakty) -------------------------------------------
; štít levý
CreateMeshBuilder,
AddVertex, -52.4, 5.27, 16
AddVertex, -52.4, 6.43, 16
AddVertex, -52.4, 6.43, 0
AddVertex, -52.4, 5.27, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_stit.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, 17.68, 5.3, 1.7
AddVertex, 17.68, 5.3, 2.34
AddVertex, 17.68, 5.5, 2.34
AddVertex, 17.68, 5.5, 13.4
AddVertex, 17.68, 5.3, 13.4
AddVertex, 17.68, 5.3, 14
AddVertex, 18, 5.3, 14
AddVertex, 18, 5.3, 13.4
AddVertex, 18, 5.5, 13.4
AddVertex, 18, 5.5, 2.34
AddVertex, 18, 5.3, 2.34
AddVertex, 18, 5.3, 1.7
AddFace2, 0, 1, 10, 11
AddFace2, 1, 2, 9, 10
AddFace2, 2, 3, 8, 9
AddFace2, 3, 4, 7, 8
AddFace2, 4, 5, 6, 7
Translate, -70.08, 0, 0.3
GenerateNormals,
SetColor, 42, 36, 39

; lem střechy - přední
CreateMeshBuilder,
AddVertex, -52.4, 5.28, 0
AddVertex, -52.4, 5.7, 0
AddVertex, 18, 5.7, 0
AddVertex, 18, 5.28, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_lem_strechy.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 6, 0,
SetTextureCoordinates,3, 6, 1,

; podhled - přední (trakt 1)
CreateMeshBuilder,
AddVertex, -52.4, 5.3, 0
AddVertex, -52.4, 5.3, 2.02
AddVertex, -34.4, 5.3, 2.02
AddVertex, -34.4, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_1.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -34.4, 5.3, 0
AddVertex, -34.4, 5.3, 2.02
AddVertex, -22.7, 5.3, 2.02
AddVertex, -22.7, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -22.7, 5.3, 0
AddVertex, -22.7, 5.3, 2.02
AddVertex, -18, 5.3, 2.02
AddVertex, -18, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_3.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; podhled - přední (trakt 2)
CreateMeshBuilder,
AddVertex, -18, 5.3, 0
AddVertex, -18, 5.3, 2.02
AddVertex, 0, 5.3, 2.02
AddVertex, 0, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_1.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, 0, 5.3, 0
AddVertex, 0, 5.3, 2.02
AddVertex, 11.7, 5.3, 2.02
AddVertex, 11.7, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, 11.7, 5.3, 0
AddVertex, 11.7, 5.3, 2.02
AddVertex, 18, 5.3, 2.02
AddVertex, 18, 5.3, 0
AddFace, 3, 2, 1, 0
GenerateNormals,
LoadTexture,sklad_podhled_3.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; okap - přední
CreateMeshBuilder,
AddVertex, -52.4, 5.5, -0.1
AddVertex, -52.4, 5.5, 0
AddVertex, 18, 5.5, 0
AddVertex, 18, 5.5, -0.1
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 22, 22, 28
CreateMeshBuilder,
AddVertex, -52.4, 5.5, -0.1
AddVertex, -52.4, 5.7, -0.15
AddVertex, 18, 5.7, -0.15
AddVertex, 18, 5.5, -0.1
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_lem_strechy.png,
SetTextureCoordinates,0, 0, 0.4,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 6, 0,
SetTextureCoordinates,3, 6, 0.4,

; štít pravý
CreateMeshBuilder,
AddVertex, 18, 5.27, 0
AddVertex, 18, 6.43, 0
AddVertex, 18, 6.43, 16
AddVertex, 18, 5.27, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_stit.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder,
AddVertex, 17.68, 5.3, 2
AddVertex, 17.68, 5.3, 2.34
AddVertex, 17.68, 5.5, 2.34
AddVertex, 17.68, 5.5, 13.4
AddVertex, 17.68, 5.3, 13.4
AddVertex, 17.68, 5.3, 14
AddVertex, 18, 5.3, 14
AddVertex, 18, 5.3, 13.4
AddVertex, 18, 5.5, 13.4
AddVertex, 18, 5.5, 2.34
AddVertex, 18, 5.3, 2.34
AddVertex, 18, 5.3, 2
AddFace2, 0, 1, 10, 11
AddFace2, 1, 2, 9, 10
AddFace2, 2, 3, 8, 9
AddFace2, 3, 4, 7, 8
AddFace2, 4, 5, 6, 7
GenerateNormals,
SetColor, 18, 14, 17

; okap - zadní
CreateMeshBuilder,
AddVertex, -52.4, 5.5, -0.1
AddVertex, -52.4, 5.5, 0
AddVertex, 18, 5.5, 0
AddVertex, 18, 5.5, -0.1
AddFace2, 0, 1, 2, 3
Translate, 0, 0, 16.1
GenerateNormals,
SetColor, 22, 22, 28
CreateMeshBuilder,
AddVertex, -52.4, 5.5, -0.15
AddVertex, -52.4, 5.7, -0.1
AddVertex, 18, 5.7, -0.1
AddVertex, 18, 5.5, -0.15
AddFace2, 0, 1, 2, 3
Translate, 0, 0, 16.25
GenerateNormals,
LoadTexture,sklad_lem_strechy.png,
SetTextureCoordinates,0, 0, 0.4,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 6, 0,
SetTextureCoordinates,3, 6, 0.4,

; lem střechy - zadní
CreateMeshBuilder,
AddVertex, 18, 5.28, 16
AddVertex, 18, 5.7, 16
AddVertex, -52.4, 5.7, 16
AddVertex, -52.4, 5.28, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_lem_strechy.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 3, 0,
SetTextureCoordinates,3, 3, 1,

; podhled - zadní (trakt 1)
CreateMeshBuilder,
AddVertex, -52.4, 5.3, 0
AddVertex, -52.4, 5.3, 2.02
AddVertex, -34.4, 5.3, 2.02
AddVertex, -34.4, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_1.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -34.4, 5.3, 0
AddVertex, -34.4, 5.3, 2.02
AddVertex, -22.7, 5.3, 2.02
AddVertex, -22.7, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -22.7, 5.3, 0
AddVertex, -22.7, 5.3, 2.02
AddVertex, -18, 5.3, 2.02
AddVertex, -18, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_3.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; podhled - zadní (trakt 2)
CreateMeshBuilder,
AddVertex, -18, 5.3, 0
AddVertex, -18, 5.3, 2.02
AddVertex, 0, 5.3, 2.02
AddVertex, 0, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_1.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, 0, 5.3, 0
AddVertex, 0, 5.3, 2.02
AddVertex, 11.7, 5.3, 2.02
AddVertex, 11.7, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, 11.7, 5.3, 0
AddVertex, 11.7, 5.3, 2.02
AddVertex, 18, 5.3, 2.02
AddVertex, 18, 5.3, 0
AddFace, 3, 2, 1, 0
Translate, 0, 0, 14
GenerateNormals,
LoadTexture,sklad_podhled_3.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; střecha - plocha (oba trakty)
CreateMeshBuilder,
AddVertex, -52.4, 5.66, 0
AddVertex, -52.4, 6.19, 8
AddVertex, 18, 6.22, 8
AddVertex, 18, 5.68, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_strecha.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 4, 0,
SetTextureCoordinates,3, 4, 1,
CreateMeshBuilder,
AddVertex, 18, 5.66, 16
AddVertex, 18, 6.19, 7.8
AddVertex, -52.4, 6.22, 7.8
AddVertex, -52.4, 5.68, 16
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_strecha.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 4, 0,
SetTextureCoordinates,3, 4, 1,

; okapová roura - přední vlevo (trakt 1)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, -63
Translate, -42.1 , 4.8 , 1 ,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
Translate, -49.05, 0, 0 
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
Translate, -49.05, 0, 0
GenerateNormals,
SetColor, 33, 27, 31

; okapová roura - přední vlevo (trakt 2)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, -63
Translate, -17.58 , 4.8 , 1 ,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
Translate, -24.53, 0, 0 
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
Translate, -24.53, 0, 0
GenerateNormals,
SetColor, 33, 27, 31

; okapová roura - přední uprostřed (trakt 2)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, -63
Translate, 6.95 , 4.8 , 1 ,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 33, 27, 31

; okapová roura - zadní vlevo (trakt 1)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, 58
Translate, -42.15 , 4.7 , 15,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
Rotate, 0, 1, 0, 180
Translate, -35.2, 0, 16
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
Rotate, 0, 1, 0, 180
Translate, -35.2, 0, 16
GenerateNormals,
SetColor, 33, 27, 31

; okapová roura - zadní vlevo (trakt 2)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, 58
Translate, -17.58 , 4.7 , 15,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
Rotate, 0, 1, 0, 180
Translate, -10.65, 0, 16
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
Rotate, 0, 1, 0, 180
Translate, -10.65, 0, 16
GenerateNormals,
SetColor, 33, 27, 31

; okapová roura - zadní uprostřed (trakt 2)
CreateMeshBuilder
Cylinder, 20, 0.07, 0.07, 2.5
Rotate, 1, 0, 0, 58
Translate, 6.95 , 4.7 , 15,
LoadTexture,sklad_roura.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 
; trychtýř okapové roury
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.7, 5.7, 0
AddVertex, 6.7, 5.7, -0.2
AddVertex, 7.2, 5.7, -0.2
AddVertex, 7.2, 5.7, 0
AddVertex, 7.15, 5.3, 0
AddVertex, 7.15, 5.3, -0.2
AddVertex, 6.75, 5.3, -0.2
AddFace2, 0, 1, 2, 7
AddFace2, 7, 2, 3, 6
AddFace2, 6, 3, 4, 5
Rotate, 0, 1, 0, 180
Translate, 13.9, 0, 16
GenerateNormals,
LoadTexture,sklad_okap_trychtyr.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,4, 3, 0,
SetTextureCoordinates,5, 3, 1,
SetTextureCoordinates,6, 2, 1,
SetTextureCoordinates,7, 1, 1,
CreateMeshBuilder,
AddVertex, 6.75, 5.3, 0
AddVertex, 6.75, 5.3, -0.2
AddVertex, 7.15, 5.3, -0.2
AddVertex, 7.15, 5.3, 0
AddFace2, 0, 1, 2, 3
Rotate, 0, 1, 0, 180
Translate, 13.9, 0, 16
GenerateNormals,
SetColor, 33, 27, 31

; komín
CreateMeshBuilder,
AddVertex, -51.15, 5.8, 13.55
AddVertex, -51.15, 6.15, 13.55
AddVertex, -51.15, 6.15, 14
AddVertex, -51.15, 5.8, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_komin.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -51.15, 5.8, 14
AddVertex, -51.15, 6.15, 14
AddVertex, -51.6, 6.15, 14
AddVertex, -51.6, 5.8, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_komin.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -51.6, 5.8, 14
AddVertex, -51.6, 6.15, 14
AddVertex, -51.6, 6.15, 13.55
AddVertex, -51.6, 5.8, 13.55
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_komin.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -51.6, 5.8, 13.55
AddVertex, -51.6, 6.15, 13.55
AddVertex, -51.15, 6.15, 13.55
AddVertex, -51.15, 5.8, 13.55
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,sklad_komin.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
CreateMeshBuilder,
AddVertex, -51.15, 6.15, 14
AddVertex, -51.15, 6.15, 13.55
AddVertex, -51.6, 6.15, 13.55
AddVertex, -51.6, 6.15, 14
AddFace, 0, 1, 2, 3
GenerateNormals,
SetColor, 156, 148, 146
CreateMeshBuilder,
AddVertex, -51.2, 6.151, 13.95
AddVertex, -51.2, 6.151, 13.65
AddVertex, -51.55, 6.151, 13.65
AddVertex, -51.55, 6.151, 13.95
AddFace, 0, 1, 2, 3
GenerateNormals,
SetColor, 20, 20, 20

; ----- ostatní -------------------------------------------
; černá výplň budovy
CreateMeshBuilder,
Cube, 32, 2.8, 5.4
Translate, -16, 3, 8
SetColor, 20, 20, 20