
;POST;


createmeshbuilder
Cube, 0.2, 2.6, 0.2
Translate, -4.1, 1.8,0.7
setcolor,255,255,255



;LEFT GATE BEGINS;CROSS BARS;

createmeshbuilder
addvertex,-4,2,1
addvertex,-4,2,8
addvertex,-4,1.8,8
addvertex,-4,1.8,1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255



createmeshbuilder
addvertex,-4,1.5,1
addvertex,-4,1.5,8
addvertex,-4,1.3,8
addvertex,-4,1.3,1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


createmeshbuilder
addvertex,-4,1,1
addvertex,-4,1,8
addvertex,-4,0.8,8
addvertex,-4,0.8,1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


createmeshbuilder
addvertex,-4,0.5,1
addvertex,-4,0.5,8
addvertex,-4,0.3,8
addvertex,-4,0.3,1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


;CROSS BARS END;


createmeshbuilder
addvertex,-4,2,1
addvertex,-4,2,1.3
addvertex,-4,0.3,5
addvertex,-4,0.3,4.7
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


createmeshbuilder
addvertex,-4,2,5
addvertex,-4,2,5.3
addvertex,-4,0.3,8
addvertex,-4,0.3,7.7
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


;UPRIGHT BARS;


createmeshbuilder
addvertex,-4,2,1
addvertex,-4,2,1.2
addvertex,-4,0.3,1.2
addvertex,-4,0.3,1
addface,0,1,2,3
generatenormals,
setcolor,255,255,255

createmeshbuilder
addvertex,-4,2,4.5
addvertex,-4,2,4.7
addvertex,-4,0.3,4.7
addvertex,-4,0.3,4.5
addface,0,1,2,3
generatenormals,
setcolor,255,255,255


createmeshbuilder
addvertex,-4,2,7.8
addvertex,-4,2,8
addvertex,-4,0.3,8
addvertex,-4,0.3,7.8
addface,0,1,2,3
generatenormals,
setcolor,255,255,255





;STOP CIRCLE LEFT BEGINS;

createmeshbuilder
addvertex,-4.2,1.5,4.1
addvertex,-4.2,1.5,5.1
addvertex,-4.2,0.5,5.1
addvertex,-4.2,0.5,4.1
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, 0.3,0,0

;STOP CIRCLE LEFT ENDS;


createmeshbuilder
addvertex,-4.1,    4,      1
addvertex,-4.1,    4.075,    1
addvertex,-4.1,    1.9,   7.075
addvertex,-4.1,    1.8,   7
addface,0,1,2,3
generatenormals,
setcolor,50,50,50








