createmeshbuilder
Cube, 0.2, 2.6, 0.2
Translate, -4.3, 1.8, 24
setcolor,255,255,255
translate, 1.3,0,-4

createmeshbuilder
Cube, 0.2, 2.6, 0.2
Translate, -4.3, 1.8, 5.4
setcolor,255,255,255
translate, 10.8,0,-17

;LEFT GATE BEGINS;

createmeshbuilder
addvertex,-4,2,5.5
addvertex,-4,2,14.3
addvertex,-4,1.8,14.3
addvertex,-4,1.8,5.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,


createmeshbuilder
addvertex,-4,1.5,5.5
addvertex,-4,1.5,14.3
addvertex,-4,1.3,14.3
addvertex,-4,1.3,5.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,

createmeshbuilder
addvertex,-4,1,5.5
addvertex,-4,1,14.3
addvertex,-4,0.8,14.3
addvertex,-4,0.8,5.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,

createmeshbuilder
addvertex,-4,0.5,5.5
addvertex,-4,0.5,14.3
addvertex,-4,0.3,14.3
addvertex,-4,0.3,5.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,








createmeshbuilder
addvertex,-4,2,6
addvertex,-4,2,6.3
addvertex,-4,0.3,10
addvertex,-4,0.3,9.7
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,

createmeshbuilder
addvertex,-4,2,10
addvertex,-4,2,10.3
addvertex,-4,0.3,14
addvertex,-4,0.3,13.7
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,

createmeshbuilder
addvertex,-4,2,9.9
addvertex,-4,2,10.1
addvertex,-4,0.3,10.1
addvertex,-4,0.3,9.9
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,







createmeshbuilder
addvertex,-4,2,5.5
addvertex,-4,2,5.7
addvertex,-4,0.3,5.7
addvertex,-4,0.3,5.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,

createmeshbuilder
addvertex,-4,2,14.1
addvertex,-4,2,14.3
addvertex,-4,0.3,14.3
addvertex,-4,0.3,14.1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255
translate, 1,0,4.6,




;STOP CIRCLE LEFT BEGINS;

createmeshbuilder
addvertex,-4.2,1.5,9.5
addvertex,-4.2,1.5,10.5
addvertex,-4.2,0.5,10.5
addvertex,-4.2,0.5,9.5
addface,0,1,2,3
generatenormals
loadtexture,circle.png
settexturecoordinates,0,1,0
settexturecoordinates,1,1,1
settexturecoordinates,2,0,1
settexturecoordinates,3,0,0
setdecaltransparentcolor,255,0,0
translate, 1.3,0.1,4.6

;STOP CIRCLE LEFT ENDS;


createmeshbuilder



;RIGHT GATE BEGINS;


createmeshbuilder
addvertex,-4,2,5.5
addvertex,-4,2,14
addvertex,-4,1.8,14
addvertex,-4,1.8,5.5
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26



createmeshbuilder
addvertex,-4,1.5,5.5
addvertex,-4,1.5,14
addvertex,-4,1.3,14
addvertex,-4,1.3,5.5
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26


createmeshbuilder
addvertex,-4,1,5.5
addvertex,-4,1,14
addvertex,-4,0.8,14
addvertex,-4,0.8,5.5
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26






createmeshbuilder
addvertex,-4,0.5,5.5
addvertex,-4,0.5,14
addvertex,-4,0.3,14
addvertex,-4,0.3,5.5
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26



createmeshbuilder
addvertex,-4,2,6
addvertex,-4,2,6.3
addvertex,-4,0.3,10
addvertex,-4,0.3,9.7
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26

createmeshbuilder
addvertex,-4,2,10
addvertex,-4,2,10.3
addvertex,-4,0.3,14
addvertex,-4,0.3,13.7
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26


createmeshbuilder
addvertex,-4,2,9.9
addvertex,-4,2,10.1
addvertex,-4,0.3,10.1
addvertex,-4,0.3,9.9
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26





createmeshbuilder
addvertex,-4,2,5.5
addvertex,-4,2,5.7
addvertex,-4,0.3,5.7
addvertex,-4,0.3,5.5
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26

createmeshbuilder
addvertex,-4,2,13.8
addvertex,-4,2,14
addvertex,-4,0.3,14
addvertex,-4,0.3,13.8
addface, 3,2,1,0
generatenormals,
setcolor,255,255,255
translate, 10.5,0,-26

;STOP CIRCLE RIGHT BEGINS;

createmeshbuilder
addvertex,-4.2,1.5,9.5
addvertex,-4.2,1.5,10.5
addvertex,-4.2,0.5,10.5
addvertex,-4.2,0.5,9.5
addface,3,2,1,0
generatenormals
loadtexture,circle.png
settexturecoordinates,0,1,0
settexturecoordinates,1,1,1
settexturecoordinates,2,0,1
settexturecoordinates,3,0,0
setdecaltransparentcolor,255,0,0
translate, 10.5,0.2,-25.1

;STOP CIRCLE RIGHT ENDS;

createmeshbuilder
addvertex,-5,   2,      5
addvertex,-5,    2,    5.2
addvertex,-5,    4,   14
addvertex,-5,    4.1,   14
addface,3,2,1,0
generatenormals,
setcolor,50,50,50
translate, 2,0,6







createmeshbuilder
addvertex,7.3,   4,      14
addvertex,7.3,   4.1,    14
addvertex,7.3,   2,   7.5
addvertex,7.3,   2.1,   8.2
addface,0,1,2,3
generatenormals,
setcolor,50,50,50
translate, -0.80,0,-26