;class 104 external object bvetmd.org.uk


;front,,,

;  front left End
CreateMeshBuilder,
AddVertex,-1.32,1.1,18.2,
AddVertex,-1.23,3.85,18.2,
AddVertex,-0.43,3.85,18.4,
AddVertex,-0.43,1.1,18.4,
AddFace,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,104rfrontgrydriver.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,


;  front middle End
CreateMeshBuilder,
AddVertex,-0.43,1.1,18.4,
AddVertex,-0.43,3.85,18.4,
AddVertex,0.43,3.85,18.4,
AddVertex,0.43,1.1,18.4,
AddFace,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,104mfrontgry.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,

;  front right End
CreateMeshBuilder,
AddVertex,0.43,1.1,18.4,
AddVertex,0.43,3.85,18.4,
AddVertex,1.23,3.85,18.2,
AddVertex,1.32,1.1,18.2,
AddFace,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,104lfrontgry.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,

; destination box

CreateMeshBuilder,
AddVertex,-0.43,3.27,18.4,
AddVertex,-0.43,3.5,18.4,
AddVertex,0.43,3.5,18.4,
AddVertex,0.43,3.27,18.4,
AddFace,3,2,1,0,
Translate,0,0,-12.5,


LoadTexture,blindbarking.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,

;destination box LHS,,,,

CreateMeshBuilder,,,,
AddVertex,-0.43,3.27,18.4,
AddVertex,-0.43,3.5,18.4,
AddVertex,-0.43,3.5,17.92,
AddVertex,-0.43,3.27,17.92,
AddFace,0,1,2,3,
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


;destination box RHS,,,,

CreateMeshBuilder,,,,
AddVertex,0.43,3.27,17.92,
AddVertex,0.43,3.5,17.92,
AddVertex,0.43,3.5,18.4,
AddVertex,0.43,3.27,18.4,
AddFace,0,1,2,3,
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;destination box top

CreateMeshBuilder,,,
AddVertex,0.43,3.5,18.4
AddVertex,0.43,3.5,17.92
AddVertex,-0.43,3.5,17.92
AddVertex,-0.43,3.5,18.4
Translate,0,0,-12.5,
AddFace,0,1,2,3,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,

;destination blind
CreateMeshBuilder,
AddVertex,-0.43,3.27,18.41,
AddVertex,-0.43,3.5,18.41,
AddVertex,0.43,3.5,18.41,
AddVertex,0.43,3.27,18.41,
AddFace,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,30,30,30,

LoadTexture,blindbarking.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,0,




;Bufferbeam,,,,


CreateMeshBuilder,,,,
AddVertex,1.245,-0.0,18.1,
AddVertex,1.245,1.21,18.1,
AddVertex,-1.245,1.21,18.1,
AddVertex,-1.245,-0.0,18.1,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,bufferbeamred.png,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Bufferbeam rear,,,,


CreateMeshBuilder,,,,
AddVertex,1.245,-0.0,18.09,
AddVertex,1.245,1.21,18.09,
AddVertex,-1.245,1.21,18.09,
AddVertex,-1.245,-0.0,18.09,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,bufferbeamrear.png,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,




;Rear,,,,

;  rear left End
CreateMeshBuilder,
AddVertex,-1.35,1.0,0.46,
AddVertex,-1.25,3.85,0.46,
AddVertex,-0.425,3.85,0.25,
AddVertex,-0.425,1.0,0.25,
AddFace2,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,end1a.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,
AddVertex,-1.35,1.0,0.459,
AddVertex,-1.25,3.85,0.459,
AddVertex,-0.425,3.85,0.249,
AddVertex,-0.425,1.0,0.249,
AddFace2,3,2,1,0,
Translate,0,0,-12.5,


LoadTexture,end1alite.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,
SetEmissiveColor,118,69,0,
SetBlendMode,Normal,



;  rear middle End
CreateMeshBuilder,
AddVertex,-0.43,1.0,0.25,
AddVertex,-0.43,3.85,0.25,
AddVertex,0.43,3.85,0.25,
AddVertex,0.43,1.0,0.25,
AddFace2,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,end1b.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,

; rear right End
CreateMeshBuilder,
AddVertex,0.425,1.0,0.25,
AddVertex,0.425,3.85,0.25,
AddVertex,1.25,3.85,0.46,
AddVertex,1.35,1.0,0.46,
AddFace2,3,2,1,0,
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,end1c.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,
AddVertex,0.425,1.0,0.249,
AddVertex,0.425,3.85,0.249,
AddVertex,1.25,3.85,0.459,
AddVertex,1.35,1.0,0.459,
AddFace,0,1,2,3,
Translate,0,0,-12.5,

LoadTexture,end1clite.png,
SetTextureCoordinates,0, 0, 1,,
SetTextureCoordinates,1, 0, 0,,
SetTextureCoordinates,2, 1, 0,,
SetTextureCoordinates,3, 1, 1,,
SetDecalTransparentColor,0,0,255,
SetEmissiveColor,118,69,0,
SetBlendMode,Normal,


;Side Left,,,,
CreateMeshBuilder,,,,
AddVertex,-1.23,3.27,18.2,
AddVertex,-1.23,3.27,0.45,
AddVertex,-1.3,1.62,0.45,
AddVertex,-1.23,1.23,0.45,
AddVertex,-1.23,1.23,18.2,
AddVertex,-1.3,1.62,18.2,
AddFace,0,1,2,5
AddFace,5,2,3,4
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,104Lgreen2.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.85,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0.85,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,,,
AddVertex,-1.231,3.27,18.2,
AddVertex,-1.231,3.27,0.45,
AddVertex,-1.301,1.62,0.45,
AddVertex,-1.231,1.23,0.45,
AddVertex,-1.231,1.23,18.2,
AddVertex,-1.301,1.62,18.2,
AddFace,0,1,2,5
AddFace,5,2,3,4
Translate,0,0,-12.5,

LoadTexture,104Llit.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.85,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0.85,
SetDecalTransparentColor,0,0,255,
SetEmissiveColor,118,69,0,
SetBlendMode,Normal,



;Side R,,,,
CreateMeshBuilder,,,,
AddVertex,1.23,3.27,18.2,
AddVertex,1.23,3.27,0.45,
AddVertex,1.3,1.62,0.45,
AddVertex,1.23,1.23,0.45,
AddVertex,1.23,1.23,18.2,
AddVertex,1.3,1.62,18.2,
AddFace,5,2,1,0
AddFace,4,3,2,5
Translate,0,0,-12.5,
SetEmissiveColor,10,10,10,

LoadTexture,104Rgreen2.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,0.85
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,1
SetTextureCoordinates,5,0,0.85
SetDecalTransparentColor,0,0,255

CreateMeshBuilder,,,,
AddVertex,1.231,3.27,18.2,
AddVertex,1.231,3.27,0.45,
AddVertex,1.301,1.62,0.45,
AddVertex,1.231,1.23,0.45,
AddVertex,1.231,1.23,18.2,
AddVertex,1.301,1.62,18.2,
AddFace,5,2,1,0
AddFace,4,3,2,5
Translate,0,0,-12.5,

LoadTexture,104Rlit.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,0.85
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,1
SetTextureCoordinates,5,0,0.85
SetDecalTransparentColor,0,0,255
SetEmissiveColor,118,69,0,
SetBlendMode,Normal,





;Roof fill ,,,

;TOP PART,,,

CreateMeshBuilder,,,
AddVertex,0.2,3.8,17.3
AddVertex,0.2,3.8,0.25
AddVertex,-0.2,3.8,0.25
AddVertex,-0.2,3.8,17.3
Translate,0,0,-12.5,
AddFace,0,1,2,3

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,

;TOP PART WHITE,,,

CreateMeshBuilder,,,
AddVertex,0.2,3.8,18.1
AddVertex,0.2,3.8,17.3
AddVertex,-0.2,3.8,17.3
AddVertex,-0.2,3.8,18.1
Translate,0,0,-12.5,
AddFace,0,1,2,3,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,




;Roof left,,,

CreateMeshBuilder,,,
AddVertex,-0.2,3.8,17.3
AddVertex,-0.2,3.8,0.25
AddVertex,-0.6,3.71,0.30
AddVertex,-0.6,3.71,17.3
AddVertex,-1,3.556,17.3
AddVertex,-1,3.556,0.40
AddVertex,-1,3.27,17.3
AddVertex,-1,3.27,0.40
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,

;Roof left WHITE,,,

CreateMeshBuilder,,,
AddVertex,-0.2,3.8,18.1
AddVertex,-0.2,3.8,17.3
AddVertex,-0.6,3.71,17.3
AddVertex,-0.6,3.71,18.1
AddVertex,-1,3.556,18.1
AddVertex,-1,3.556,17.3
AddVertex,-1,3.27,18.1
AddVertex,-1,3.27,17.3
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,



;edgeOUTER,,,,

CreateMeshBuilder,,,,
AddVertex,-1,3.556,17.3,
AddVertex,-1,3.556,0.40,
AddVertex,-1.14,3.441,0.43,
AddVertex,-1.14,3.441,17.3,
AddVertex,-1.2,3.34,17.3,
AddVertex,-1.2,3.34,0.45,
AddVertex,-1.23,3.27,17.3,
AddVertex,-1.23,3.27,0.45,
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,2
SetTextureCoordinates,3,0,2
SetTextureCoordinates,4,0,5
SetTextureCoordinates,5,1,5
SetTextureCoordinates,6,0,5
SetTextureCoordinates,7,1,5

CreateMeshBuilder,,,
AddVertex,-1,3.556,0.55
AddVertex,-1,3.556,0.45
AddVertex,-1.14,3.441,0.45
AddVertex,-1.14,3.441,0.55
AddVertex,-1.2,3.34,0.55
AddVertex,-1.2,3.34,0.45
AddVertex,-1.23,3.27,0.55,
AddVertex,-1.23,3.27,0.45,
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,

;edgeOUTER WHITE,,,,

CreateMeshBuilder,,,,
AddVertex,-1,3.556,18.1,
AddVertex,-1,3.556,17.3,
AddVertex,-1.14,3.441,17.3,
AddVertex,-1.14,3.441,18.1,
AddVertex,-1.2,3.34,18.1,
AddVertex,-1.2,3.34,17.3,
AddVertex,-1.23,3.27,18.1,
AddVertex,-1.23,3.27,17.3,
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,2
SetTextureCoordinates,3,0,2
SetTextureCoordinates,4,0,5
SetTextureCoordinates,5,1,5
SetTextureCoordinates,6,0,5
SetTextureCoordinates,7,1,5

CreateMeshBuilder,,,
AddVertex,-1,3.556,0.55
AddVertex,-1,3.556,0.45
AddVertex,-1.14,3.441,0.45
AddVertex,-1.14,3.441,0.55
AddVertex,-1.2,3.34,0.55
AddVertex,-1.2,3.34,0.45
AddVertex,-1.23,3.27,0.55,
AddVertex,-1.23,3.27,0.45,
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,




;Roof left rear fill,,,

CreateMeshBuilder,,,
AddVertex,-0.2,3.8,0.5
AddVertex,-0.2,3.8,0.25
AddVertex,-0.4,3.71,0.25
AddVertex,-0.4,3.71,0.5
AddVertex,-1,3.556,0.5
AddVertex,-1,3.556,0.40
AddVertex,-1,3.27,0.5
AddVertex,-1,3.27,0.40
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,7,6
Translate,0,0,-12.5,

LoadTexture,roof.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,



;Roof right,,,,

CreateMeshBuilder,,,,
AddVertex,0.2,3.8,17.3,
AddVertex,0.2,3.8,0.25,
AddVertex,0.6,3.71,0.30,
AddVertex,0.6,3.71,17.3,
AddVertex,1,3.556,17.3,
AddVertex,1,3.556,0.40,
AddVertex,1,3.27,17.3,
AddVertex,1,3.27,0.40,
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,2
SetTextureCoordinates,3,0,2
SetTextureCoordinates,4,0,5
SetTextureCoordinates,5,1,5
SetTextureCoordinates,6,0,5
SetTextureCoordinates,7,1,5

;Roof right WHITE,,,,

CreateMeshBuilder,,,,
AddVertex,0.2,3.8,18.1,
AddVertex,0.2,3.8,17.3,
AddVertex,0.6,3.71,17.3,
AddVertex,0.6,3.71,18.1,
AddVertex,1,3.556,18.1,
AddVertex,1,3.556,17.3,
AddVertex,1,3.27,17.3,
AddVertex,1,3.27,0.40,
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,2
SetTextureCoordinates,3,0,2
SetTextureCoordinates,4,0,5
SetTextureCoordinates,5,1,5
SetTextureCoordinates,6,0,5
SetTextureCoordinates,7,1,5





;edgeOUTER,,,

CreateMeshBuilder,,,,
AddVertex,1,3.556,17.3,
AddVertex,1,3.556,0.40,
AddVertex,1.14,3.441,0.43,
AddVertex,1.14,3.441,17.3,
AddVertex,1.2,3.34,17.3,
AddVertex,1.2,3.34,0.45,
AddVertex,1.23,3.27,17.3,
AddVertex,1.23,3.27,0.45,
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,

;edgeOUTER WHITE,,,

CreateMeshBuilder,,,,
AddVertex,1,3.556,18.1,
AddVertex,1,3.556,17.3,
AddVertex,1.14,3.441,17.3,
AddVertex,1.14,3.441,18.1,
AddVertex,1.2,3.34,18.1,
AddVertex,1.2,3.34,17.3,
AddVertex,1.23,3.27,18.1,
AddVertex,1.23,3.27,17.3,
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,



CreateMeshBuilder,,,,
AddVertex,1,3.556,0.55,
AddVertex,1,3.556,0.45,
AddVertex,1.14,3.441,0.45,
AddVertex,1.14,3.441,0.55,
AddVertex,1.2,3.34,0.55,
AddVertex,1.2,3.34,0.45,
AddVertex,1.23,3.27,0.55,
AddVertex,1.23,3.27,0.45,
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roofmain.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,

;Roof right rear fill,,,

CreateMeshBuilder,,,
AddVertex,0.2,3.8,0.5
AddVertex,0.2,3.8,0.25
AddVertex,0.4,3.71,0.25
AddVertex,0.4,3.71,0.5
AddVertex,1,3.556,0.5
AddVertex,1,3.556,0.40
AddVertex,1,3.27,0.5
AddVertex,1,3.27,0.40
AddFace,3,2,1,0
AddFace,4,5,2,3
AddFace,6,7,5,4
Translate,0,0,-12.5,

LoadTexture,roof.png,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
SetTextureCoordinates,4,0,5,
SetTextureCoordinates,5,1,5,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,5,



;Underframe L,,,,

CreateMeshBuilder,,,,
AddVertex,-1.1,-0.05,18.3,
AddVertex,-1.1,1.22,18.3,
AddVertex,-1.1,1.22,0.25,
AddVertex,-1.1,-0.05,0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,104_chs_L.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,,,
AddVertex,-0.8,-0.05,18.3,
AddVertex,-0.8,1.22,18.3,
AddVertex,-0.8,1.22,0.25,
AddVertex,-0.8,-0.05,0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,104_chs_back.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Underframe R,,,,
CreateMeshBuilder,,,,
AddVertex,1.1,-0.05,18.3,
AddVertex,1.1,1.22,18.3,
AddVertex,1.1,1.22,0.25,
AddVertex,1.1,-0.05,0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,104_chs_R.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,,,
AddVertex,0.8,-0.05,18.3,
AddVertex,0.8,1.22,18.3,
AddVertex,0.8,1.22,0.25,
AddVertex,0.8,-0.05,0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.5,

LoadTexture,104_chs_back.png,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


;Bufferstocks

CreateMeshBuilder,
AddVertex,-0.85,1.17,18.61,
AddVertex,-0.85,1.17,18.18,
AddVertex,-0.85,0.93,18.61,
AddVertex,-0.85,0.93,18.18,
AddVertex,0.85,1.17,18.18,
AddVertex,0.85,1.17,18.61,
AddVertex,0.85,0.93,18.18,
AddVertex,0.85,0.93,18.61,
AddVertex,0.85,1.17,-0.01,
AddVertex,0.85,1.17,0.55,
AddVertex,0.85,0.93,-0.01,
AddVertex,0.85,0.93,0.55,
AddVertex,-0.85,1.17,0.55,
AddVertex,-0.85,1.17,-0.01,
AddVertex,-0.85,0.93,0.55,
AddVertex,-0.85,0.93,-0.01,
AddFace2,0,1,3,2,
AddFace2,4,5,7,6,
AddFace2,8,9,11,10,
AddFace2,12,13,15,14,
Translate,0,0,-12.5,

LoadTexture,Bufferstock.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,1,0,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,1,
SetTextureCoordinates,7,0,1,
SetTextureCoordinates,8,0,0,
SetTextureCoordinates,9,1,0,
SetTextureCoordinates,10,0,1,
SetTextureCoordinates,11,1,1,
SetTextureCoordinates,12,1,0,
SetTextureCoordinates,13,0,0,
SetTextureCoordinates,14,1,1,
SetTextureCoordinates,15,0,1,
SetDecalTransparentColor,0,0,255,



;Buffers No 1 End
CreateMeshBuilder,
AddVertex,1.12,1.31,18.61,
AddVertex,-1.12,1.31,18.61,
AddVertex,1.12,0.79,18.61,
AddVertex,-1.12,0.79,18.61,
AddFace2,0,1,3,2,
Translate,0,0,-12.5,


LoadTexture,Buffers.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Buffers No 2 End

CreateMeshBuilder,
AddVertex,-1.12,1.31,-0.01,
AddVertex,1.12,1.31,-0.01,
AddVertex,-1.12,0.79,-0.01,
AddVertex,1.12,0.79,-0.01,
AddFace2,0,1,3,2,
Translate,0,0,-12.5,


LoadTexture,Buffers.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Cab Roof fill 

;TOP PART

CreateMeshBuilder,
AddVertex,0.2, 3.27, 18.41,
AddVertex,0.2, 3.8, 18.1,
AddVertex,-0.2, 3.8, 18.1,
AddVertex,-0.2, 3.27, 18.41,
Translate,0,0,-12.5,
AddFace,0,1,2,3,

LoadTexture,roofwhite.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,3, 0, 2,

;Left side

CreateMeshBuilder,
AddVertex,-0.2, 3.27, 18.41,
AddVertex,-0.2, 3.8, 18.1,
AddVertex,-0.6, 3.71, 18.1,
AddVertex,-0.43, 3.27, 18.41,
AddVertex,-1, 3.27, 18.27,
AddVertex,-1, 3.556, 18.1,
AddVertex,-1, 3.27, 18.27,
AddVertex,-1, 3.556, 18.1,
AddFace,0,1,2,3,
AddFace,3,2,5,4,
AddFace,4,5,7,6,
Translate,0,0,-12.5,


LoadTexture,roofwhite.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,3, 0, 2,
SetTextureCoordinates,4, 0, 5,
SetTextureCoordinates,5, 1, 5,
SetTextureCoordinates,6, 0, 5,
SetTextureCoordinates,7, 1, 5,

CreateMeshBuilder,
AddVertex,-1, 3.27, 18.27,
AddVertex,-1, 3.556, 18.1,
AddVertex,-1.14, 3.441, 18.1,
AddVertex,-1.14, 3.27, 18.23,8
AddVertex,-1.23, 3.27, 18.205,
AddVertex,-1.2, 3.341, 18.1,
AddVertex,-1.23, 3.27, 18.2,
AddVertex,-1.23, 3.27, 18.1,
AddFace,0,1,2,3,
AddFace,3,2,5,4,
AddFace,4,5,7,6,
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,3, 0, 2,
SetTextureCoordinates,4, 0, 5,
SetTextureCoordinates,5, 1, 5,
SetTextureCoordinates,6, 0, 5,
SetTextureCoordinates,7, 1, 5,


;Right side


CreateMeshBuilder,
AddVertex,0.2, 3.27, 18.41,
AddVertex,0.2, 3.8, 18.1,
AddVertex,0.6, 3.71, 18.1,
AddVertex,0.43, 3.27, 18.41,
AddVertex,1, 3.27, 18.27,
AddVertex,1, 3.556, 18.1,
AddVertex,1, 3.27, 18.27,
AddVertex,1, 3.556, 18.1,
AddFace,3,2,1,0,
AddFace,4,5,2,3,
AddFace,6,7,5,4,
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,3, 0, 2,
SetTextureCoordinates,4, 0, 5,
SetTextureCoordinates,5, 1, 5,
SetTextureCoordinates,6, 0, 5,
SetTextureCoordinates,7, 1, 5,

CreateMeshBuilder,
AddVertex,1, 3.27, 18.27,
AddVertex,1, 3.556, 18.1,
AddVertex,1.14, 3.441, 18.1,
AddVertex,1.14, 3.27, 18.23,
AddVertex,1.23, 3.27, 18.205,
AddVertex,1.2, 3.341, 18.1,
AddVertex,1.23, 3.27, 18.2,
AddVertex,1.23, 3.27, 18.1,
AddFace,3,2,1,0,
AddFace,4,5,2,3,
AddFace,6,7,5,4,
Translate,0,0,-12.5,

LoadTexture,roofwhite.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,3, 0, 2,
SetTextureCoordinates,4, 0, 5,
SetTextureCoordinates,5, 1, 5,
SetTextureCoordinates,6, 0, 5,
SetTextureCoordinates,7, 1, 5,



;marker lights

CreateMeshBuilder,
AddVertex,-0.68, 1.66, 18.36,
AddVertex,-0.94, 1.66, 18.36,
AddVertex,-0.94, 1.26, 18.36,
AddVertex,-0.68, 1.26, 18.36,
AddVertex,0.71, 1.69, 18.35,
AddVertex,0.99, 1.69, 18.35,
AddVertex,0.99, 1.29, 18.35,
AddVertex,0.71, 1.29, 18.35,
AddFace,0,1,2,3,
AddFace,7,6,5,4,
translate,0,0.05,0,
Translate,0,0,-12.5,

LoadTexture,white.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0, 0,
SetTextureCoordinates,5, 1, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0, 1,
SetDecalTransparentColor,0,0,0,
SetEmissiveColor,255,255,255,
SetBlendMode,Additive,1,




translateAll,0,0.081,6
