;CLASS 158 OPENBVE EXTERNAL VIEW
;
;Based on the bve object by 
;Robert Glass.
;
;Textures and new configuration 
;Steve Thomas.
; 
;From Photo's by Martyn Read and  
;Richard Boddy. 
;

;Bogie + yaw damper mountings

;rear right

CreateMeshBuilder,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.23, 1.11, 18.75,
AddVertex,-1.13, 1.11, 18.85,
AddVertex,-1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.13, 18.75,
AddVertex,-1.13, 1.13, 18.85,
AddVertex,-1.13, 1.13, 17.6,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,10,46,96,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.13, 18.75,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.23, 1.11, 18.75,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.13, 1.13, 18.85,
AddVertex,-1.23, 1.13, 18.75,
AddVertex,-1.23, 1.11, 18.75,
AddVertex,-1.13, 1.11, 18.85,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.13, 1.13, 17.6,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.11, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.13, 17.92,
AddVertex,-1.2902, 1.13, 18.305,
AddVertex,-1.23, 1.13, 18.305,
AddVertex,-1.23, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,10,46,96,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.2902, 1.13, 18.305,
AddVertex,-1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.13, 18.305,
AddVertex,-1.2902, 1.13, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.23, 1.11, 17.92,
AddVertex,-1.23, 1.13, 17.92,
AddVertex,-1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.29, 1.11, 17.92,
AddVertex,-1.29, 1.11, 18.305,
AddVertex,-1.29, 1.104, 18.305,
AddVertex,-1.29, 1.104, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.23, 1.11, 17.92,
AddVertex,-1.23, 1.107, 17.92,
AddVertex,-1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.073, 18.305,
AddVertex,-1.23, 1.073, 18.305,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2902, 1.073, 17.92,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.107, 17.92,
AddVertex,-1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.073, 18.303,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.23, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.073, 18.305,
AddVertex,-1.23, 1.073, 18.305,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.073, 17.92,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.06, 17.92,
AddVertex,-1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.073, 18.303,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 17.9325,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.23, 1.06, 17.92,
AddVertex,-1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.2903, 1.0425, 17.9325,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,13,58,122,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.2551,
AddVertex,-1.23, 1.0425, 18.2551,
AddVertex,-1.23, 1.0256, 18.2291,
AddVertex,-1.2903, 1.0256, 18.2291,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 17.97,
AddVertex,-1.23, 1.0425, 17.97,
AddVertex,-1.23, 1.0256, 18,
AddVertex,-1.2903, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.23, 1.0425, 17.97,
AddVertex,-1.23, 1.0425, 18.2551,
AddVertex,-1.23, 1.0256, 18.2291,
AddVertex,-1.23, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

;top parts

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 18.2745,
AddVertex,-1.28, 1.4, 18.2745,
AddVertex,-1.13, 1.4, 18.2745,
AddVertex,-1.13, 1.13, 18.2745,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 17.955,
AddVertex,-1.28, 1.4, 17.955,
AddVertex,-1.13, 1.4, 17.955,
AddVertex,-1.13, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 18.2745,
AddVertex,-1.28, 1.34, 18.2745,
AddVertex,-1.28, 1.34, 17.955,
AddVertex,-1.28, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.21, 1.13, 18.2745,
AddVertex,-1.21, 1.2475, 18.2745,
AddVertex,-1.21, 1.2475, 17.955,
AddVertex,-1.21, 1.13, 17.955,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.21, 1.13, 18.2745,
AddVertex,-1.21, 1.2475, 18.2745,
AddVertex,-1.13, 1.2475, 18.2745,
AddVertex,-1.13, 1.13, 18.2745,
Translate,0,0,-12.22,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.21, 1.13, 17.955,
AddVertex,-1.21, 1.2575, 17.955,
AddVertex,-1.13, 1.2475, 17.955,
AddVertex,-1.13, 1.13, 17.955,
Translate,0,0,-12.22,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.12, 1.13, 18.33,
AddVertex,-1.12, 0.9, 18.33,
AddVertex,-1.12, 0.9, 17.865,
AddVertex,-1.12, 1.13, 17.865,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.57,
AddVertex,-1.28, 1.4, 16.57,
AddVertex,-1.13, 1.4, 16.57,
AddVertex,-1.1, 1.13, 16.57,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.55,
AddVertex,-1.28, 1.4, 16.55,
AddVertex,-1.13, 1.4, 16.55,
AddVertex,-1.1, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.57,
AddVertex,-1.28, 1.4, 16.57,
AddVertex,-1.28, 1.4, 16.55,
AddVertex,-1.26, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.35,
AddVertex,-1.28, 1.4, 16.35,
AddVertex,-1.13, 1.4, 16.35,
AddVertex,-1.11, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.33,
AddVertex,-1.28, 1.4, 16.33,
AddVertex,-1.13, 1.4, 16.33,
AddVertex,-1.1, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.35,
AddVertex,-1.28, 1.4, 16.35,
AddVertex,-1.28, 1.4, 16.33,
AddVertex,-1.26, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.13, 1.13, 16.58,
AddVertex,-1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.27, 1.11, 16.32,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.27, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,183,169,44,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.58,
AddVertex,-1.13, 1.13, 16.58,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.11, 16.32,
AddVertex,-1.13, 1.11, 16.32,
AddVertex,-1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.22, 1.13, 16.55,
AddVertex,-1.22, 1.25, 16.55,
AddVertex,-1.22, 1.25, 16.35,
AddVertex,-1.22, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

;rear left

CreateMeshBuilder,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.23, 1.11, 18.75,
AddVertex,1.13, 1.11, 18.85,
AddVertex,1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.13, 18.75,
AddVertex,1.13, 1.13, 18.85,
AddVertex,1.13, 1.13, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,10,46,96,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.13, 18.75,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.23, 1.11, 18.75,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.13, 1.13, 18.85,
AddVertex,1.23, 1.13, 18.75,
AddVertex,1.23, 1.11, 18.75,
AddVertex,1.13, 1.11, 18.85,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.13, 1.13, 17.6,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.11, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.13, 17.92,
AddVertex,1.2902, 1.13, 18.305,
AddVertex,1.23, 1.13, 18.305,
AddVertex,1.23, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,10,46,96,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.2902, 1.13, 18.305,
AddVertex,1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.13, 18.305,
AddVertex,1.2902, 1.13, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.23, 1.11, 17.92,
AddVertex,1.23, 1.13, 17.92,
AddVertex,1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.29, 1.11, 17.92,
AddVertex,1.29, 1.11, 18.305,
AddVertex,1.29, 1.104, 18.305,
AddVertex,1.29, 1.104, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.23, 1.11, 17.92,
AddVertex,1.23, 1.107, 17.92,
AddVertex,1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,15,15,15,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.073, 18.305,
AddVertex,1.23, 1.073, 18.305,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2902, 1.073, 17.92,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.107, 17.92,
AddVertex,1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.073, 18.303,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.23, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.073, 18.305,
AddVertex,1.23, 1.073, 18.305,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.073, 17.92,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.06, 17.92,
AddVertex,1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.073, 18.303,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 17.9325,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.23, 1.06, 17.92,
AddVertex,1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.2903, 1.0425, 17.9325,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,13,58,122,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.2551,
AddVertex,1.23, 1.0425, 18.2551,
AddVertex,1.23, 1.0256, 18.2291,
AddVertex,1.2903, 1.0256, 18.2291,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 17.97,
AddVertex,1.23, 1.0425, 17.97,
AddVertex,1.23, 1.0256, 18,
AddVertex,1.2903, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.23, 1.0425, 17.97,
AddVertex,1.23, 1.0425, 18.2551,
AddVertex,1.23, 1.0256, 18.2291,
AddVertex,1.23, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

;top parts

CreateMeshBuilder,
AddVertex,1.28, 1.13, 18.2745,
AddVertex,1.28, 1.4, 18.2745,
AddVertex,1.13, 1.4, 18.2745,
AddVertex,1.13, 1.13, 18.2745,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.28, 1.13, 17.955,
AddVertex,1.28, 1.4, 17.955,
AddVertex,1.13, 1.4, 17.955,
AddVertex,1.13, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.28, 1.13, 18.2745,
AddVertex,1.28, 1.34, 18.2745,
AddVertex,1.28, 1.34, 17.955,
AddVertex,1.28, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.21, 1.13, 18.2745,
AddVertex,1.21, 1.2475, 18.2745,
AddVertex,1.21, 1.2475, 17.955,
AddVertex,1.21, 1.13, 17.955,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.21, 1.13, 18.2745,
AddVertex,1.21, 1.2475, 18.2745,
AddVertex,1.13, 1.2475, 18.2745,
AddVertex,1.13, 1.13, 18.2745,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.21, 1.13, 17.955,
AddVertex,1.21, 1.2575, 17.955,
AddVertex,1.13, 1.2475, 17.955,
AddVertex,1.13, 1.13, 17.955,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.12, 1.13, 18.33,
AddVertex,1.12, 0.9, 18.33,
AddVertex,1.12, 0.9, 17.865,
AddVertex,1.12, 1.13, 17.865,
Translate,0,0,-12.22,
AddFace2,3,2,1,0,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.57,
AddVertex,1.28, 1.4, 16.57,
AddVertex,1.13, 1.4, 16.57,
AddVertex,1.1, 1.13, 16.57,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.55,
AddVertex,1.28, 1.4, 16.55,
AddVertex,1.13, 1.4, 16.55,
AddVertex,1.1, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.57,
AddVertex,1.28, 1.4, 16.57,
AddVertex,1.28, 1.4, 16.55,
AddVertex,1.26, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.35,
AddVertex,1.28, 1.4, 16.35,
AddVertex,1.13, 1.4, 16.35,
AddVertex,1.11, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.33,
AddVertex,1.28, 1.4, 16.33,
AddVertex,1.13, 1.4, 16.33,
AddVertex,1.1, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.35,
AddVertex,1.28, 1.4, 16.35,
AddVertex,1.28, 1.4, 16.33,
AddVertex,1.26, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.13, 1.13, 16.58,
AddVertex,1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.27, 1.11, 16.32,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.27, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,183,169,44,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.58,
AddVertex,1.13, 1.13, 16.58,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.11, 16.32,
AddVertex,1.13, 1.11, 16.32,
AddVertex,1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.22, 1.13, 16.55,
AddVertex,1.22, 1.25, 16.55,
AddVertex,1.22, 1.25, 16.35,
AddVertex,1.22, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
Rotate,0,180,0,180,

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

TranslateAll,0,0,-3.479

;Floor

CreateMeshBuilder,
AddVertex,1.13, 1.11, 0.323,
AddVertex,1.13, 1.11, 22,
AddVertex,-1.13, 1.11, 22,
AddVertex,-1.13, 1.11, 0.323,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

;Front

CreateMeshBuilder,
AddVertex,1.35,1.095,22,
AddVertex,1.35,3.75,22,
AddVertex,-1.35,3.75,22,
AddVertex,-1.35,1.095,22,
AddFace2, 0,1,2,3
Translate,0,0,-12.7,

LoadTexture,cab_off.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.095,22.05,
AddVertex,1.35,3.75,22.05,
AddVertex,-1.35,3.75,22.05,
AddVertex,-1.35,1.095,22.05,
AddFace2, 0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.02,1.095,22.0866,
AddVertex,0.02,3.75,22.0866,
AddVertex,-1.35,3.75,21.99,
AddVertex,-1.35,1.095,21.99,
AddFace2, 0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.02,1.095,22.0865,
AddVertex,0.02,3.75,22.0865,
AddVertex,-1.35,3.75,21.991,
AddVertex,-1.35,1.095,21.991,
AddFace2, 0,1,2,3,
Translate,0,0,-12.7,
SetEmissiveColor,192,192,192,
SetBlendMode,Normal,

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

CreateMeshBuilder,
AddVertex,0.02,1.095,22.0865,
AddVertex,0.02,3.75,22.0865,
AddVertex,-1.35,3.75,21.996,
AddVertex,-1.35,1.095,21.996,
AddFace2, 0,1,2,3,
Translate,0,0,-12.7,
SetEmissiveColor,192,192,192,
SetBlendMode,Additive,10,

LoadTexture,cab_front_left_lights2.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.095,21.99,
AddVertex,1.35,3.75,21.99,
AddVertex,-0.02,3.75,22.0865,
AddVertex,-0.02,1.095,22.0865,
AddFace2, 0,1,2,3
Translate,0,0,-12.7,

LoadTexture,cab_front_right.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.095,21.991,
AddVertex,1.35,3.75,21.991,
AddVertex,-0.02,3.75,22.086,
AddVertex,-0.02,1.095,22.086,
AddFace2, 0,1,2,3,
Translate,0,0,-12.7,
SetEmissiveColor,192,192,192,
SetBlendMode,Normal,

LoadTexture,cab_front_right_lights.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.095,21.991,
AddVertex,1.35,3.75,21.991,
AddVertex,-0.02,3.75,22.086,
AddVertex,-0.02,1.095,22.086,
AddFace2, 0,1,2,3,
Translate,0,0,-12.7,
SetEmissiveColor,192,192,192,
SetBlendMode,Additive,10,

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

CreateMeshBuilder,
AddVertex,1.245,0,21.875,
AddVertex,1.245,1.65,21.875,
AddVertex,-1.245,1.65,21.875,
AddVertex,-1.245,0,21.875,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

LoadTexture,158_front.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.245,0,21.87,
AddVertex,1.245,1.65,21.87,
AddVertex,-1.245,1.65,21.87,
AddVertex,-1.245,0,21.87,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

LoadTexture,158_front_back.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;skirt

CreateMeshBuilder,
AddVertex,1.2,-0.5,22.05,
AddVertex,1.2,1.11,22.05,
AddVertex,-1.2,1.11,22.05,
AddVertex,-1.2,-0.5,22.05,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.198,-0.5,22.03,
AddVertex,1.198,1.11,22.03,
AddVertex,-1.198,1.11,22.03,
AddVertex,-1.198,-0.5,22.03,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.199,0.2,22.08,
AddVertex,1.199,0.4,22.05,
AddVertex,-1.199,0.4,22.05,
AddVertex,-1.199,0.2,22.08,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.91,0.23,22.08,
AddVertex,-0.965,0.4,22.05,
AddVertex,-0.965,0.4,22.05,
AddVertex,-0.91,0.23,22.05,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,0.91,0.23,22.08,
AddVertex,0.965,0.4,22.05,
AddVertex,0.965,0.4,22.05,
AddVertex,0.91,0.23,22.05,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,-0.651,-0.5,21,
AddVertex,-1.2,1.11,21,
AddVertex,-1.2,1.11,22.05,
AddVertex,-0.651,-0.5,22.05,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.649,-0.5,21,
AddVertex,-1.199,1.11,21,
AddVertex,-1.199,1.11,22.05,
AddVertex,-0.649,-0.5,22.05,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.651,-0.5,21,
AddVertex,1.2,1.11,21,
AddVertex,1.2,1.11,22.05,
AddVertex,0.651,-0.5,22.05,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.649,-0.5,21,
AddVertex,1.199,1.11,21,
AddVertex,1.199,1.11,22.05,
AddVertex,0.649,-0.5,22.05,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.2, 1.11, 22,
AddVertex,-1.2, 1.11, 22.05,
AddVertex,-0.48, 1.11, 22.05,
AddVertex,-0.48, 1.11, 22,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,51,51,51,

CreateMeshBuilder,
AddVertex,-1.2, 1.11, 22,
AddVertex,-1.2, 1.11, 21.19,
AddVertex,-1.13, 1.11, 21.19,
AddVertex,-1.13, 1.11, 22,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,51,51,51,

CreateMeshBuilder,
AddVertex,1.2, 1.11, 22,
AddVertex,1.2, 1.11, 22.05,
AddVertex,0.48, 1.11, 22.05,
AddVertex,0.48, 1.11, 22,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,51,51,51,

CreateMeshBuilder,
AddVertex,1.2, 1.11, 22,
AddVertex,1.2, 1.11, 21.19,
AddVertex,1.13, 1.11, 21.19,
AddVertex,1.13, 1.11, 22,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,51,51,51,

;Back

CreateMeshBuilder,
AddVertex,-1.35,1.095,0.25,
AddVertex,-1.35,3.77,0.25,
AddVertex,1.35,3.77,0.25,
AddVertex,1.35,1.095,0.25,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

LoadTexture,back.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.095,0.25,
AddVertex,-1.35,3.77,0.25,
AddVertex,1.35,3.77,0.25,
AddVertex,1.35,1.095,0.25,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.245,0,0.323,
AddVertex,1.245,1.65,0.323,
AddVertex,-1.245,1.65,0.323,
AddVertex,-1.245,0,0.323,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

LoadTexture,158_back.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.245,0,0.4,
AddVertex,1.245,1.65,0.4,
AddVertex,-1.245,1.65,0.4,
AddVertex,-1.245,0,0.4,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

LoadTexture,158_back.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.9,0.3,-0.45,
AddVertex,0.9,1.15,-0.45,
AddVertex,0.9,1.15,0.323,
AddVertex,0.9,0.3,0.323,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.12, 1.13, 0.4,
AddVertex,-1.12, 1.13, 0.323,
AddVertex,-1.12, 1.085, 0.323,
AddVertex,-1.12, 1.085, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,-0.98, 0.9125, 0.4,
AddVertex,-0.98, 0.9125, 0.323,
AddVertex,-1.12, 1.085, 0.323,
AddVertex,-1.12, 1.085, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,-0.365, 0.9125, 0.4,
AddVertex,-0.365, 0.9125, 0.323,
AddVertex,-0.265, 0.78, 0.323,
AddVertex,-0.265, 0.78, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,1.12, 1.13, 0.4,
AddVertex,1.12, 1.13, 0.323,
AddVertex,1.12, 1.085, 0.323,
AddVertex,1.12, 1.085, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,0.98, 0.9125, 0.4,
AddVertex,0.98, 0.9125, 0.323,
AddVertex,1.12, 1.085, 0.323,
AddVertex,1.12, 1.085, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,0.365, 0.9125, 0.4,
AddVertex,0.365, 0.9125, 0.323,
AddVertex,0.265, 0.78, 0.323,
AddVertex,0.265, 0.78, 0.4,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,-0.2, 1.13, 0.323,
AddVertex,-0.2, 1.13, 0.7,
AddVertex,-0.2, 0.8, 0.7,
AddVertex,-0.2, 0.8, 0.323,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,0.2, 1.13, 0.323,
AddVertex,0.2, 1.13, 0.7,
AddVertex,0.2, 0.8, 0.7,
AddVertex,0.2, 0.8, 0.323,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

CreateMeshBuilder,
AddVertex,-0.2, 1.13, 0.7,
AddVertex,0.2, 1.13, 0.7,
AddVertex,0.2, 0.8, 0.7,
AddVertex,-0.2, 0.8, 0.7,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,12,12,

;Side Left

CreateMeshBuilder,
AddVertex,-1.31, 2, 0.25,
AddVertex,-1.2, 3.27, 0.25,
AddVertex,-1.2, 3.27, 22,
AddVertex,-1.31, 2, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-1.315, 2, 0.25,
AddVertex,-1.205, 3.27, 0.25,
AddVertex,-1.205, 3.27, 22,
AddVertex,-1.315, 2, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,
SetEmissiveColor,192,192,192,
SetBlendMode,Normal,

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

CreateMeshBuilder,
AddVertex,-1.31, 2, 21.225,
AddVertex,-1.201, 3.27, 21.225,
AddVertex,-1.18, 3.27, 22,
AddVertex,-1.31, 2, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

LoadTexture,cab_top.bmp,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.31, 1.5, 0.25,
AddVertex,-1.31, 2, 0.25,
AddVertex,-1.31, 2, 22,
AddVertex,-1.31, 1.5, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-1.31, 1.5, 21.225,
AddVertex,-1.31, 2, 21.225,
AddVertex,-1.31, 2, 22,
AddVertex,-1.31, 1.5, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.31, 1.34, 21.225,
AddVertex,-1.31, 1.5, 21.225,
AddVertex,-1.31, 1.5, 22,
AddVertex,-1.31, 1.34, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.13, 1.11, 21.225,
AddVertex,-1.31, 1.34, 21.225,
AddVertex,-1.31, 1.34, 22,
AddVertex,-1.13, 1.11, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.28, 1.34, 0.25,
AddVertex,-1.31, 1.5, 0.25,
AddVertex,-1.31, 1.5, 22,
AddVertex,-1.28, 1.34, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-1.13, 1.11, 0.25,
AddVertex,-1.28, 1.34, 0.25,
AddVertex,-1.28, 1.34, 22,
AddVertex,-1.13, 1.11, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-1.28, 2, 0.25,
AddVertex,-1.2, 3.27, 0.25,
AddVertex,-1.2, 3.27, 0.815,
AddVertex,-1.31, 2, 0.815,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.28, 1.5, 0.25,
AddVertex,-1.28, 2, 0.25,
AddVertex,-1.31, 2, 0.815,
AddVertex,-1.31, 1.5, 0.815,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.28, 1.34, 0.25,
AddVertex,-1.28, 1.5, 0.25,
AddVertex,-1.31, 1.5, 0.815,
AddVertex,-1.28, 1.34, 0.815,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.12, 1.11, 0.25,
AddVertex,-1.2, 3.27, 0.25,
AddVertex,-1.2, 3.27, 2,
AddVertex,-1.12, 1.11, 2,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

;Side Right

CreateMeshBuilder,
AddVertex,1.31, 2, 0.25,
AddVertex,1.2, 3.27, 0.25,
AddVertex,1.2, 3.27, 22,
AddVertex,1.31, 2, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.315, 2, 0.25,
AddVertex,1.205, 3.27, 0.25,
AddVertex,1.205, 3.27, 22,
AddVertex,1.315, 2, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,
SetEmissiveColor,192,192,192,
SetBlendMode,Normal,

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

CreateMeshBuilder,
AddVertex,1.31, 2, 21.225,
AddVertex,1.201, 3.27, 21.225,
AddVertex,1.18, 3.27, 22,
AddVertex,1.31, 2, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.31, 1.5, 0.25,
AddVertex,1.31, 2, 0.25,
AddVertex,1.31, 2, 22,
AddVertex,1.31, 1.5, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.31, 1.5, 21.225,
AddVertex,1.31, 2, 21.225,
AddVertex,1.31, 2, 22,
AddVertex,1.31, 1.5, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.31, 1.34, 21.225,
AddVertex,1.31, 1.5, 21.225,
AddVertex,1.31, 1.5, 22,
AddVertex,1.31, 1.34, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.13, 1.11, 21.225,
AddVertex,1.31, 1.34, 21.225,
AddVertex,1.31, 1.34, 22,
AddVertex,1.13, 1.11, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.28, 1.34, 0.25,
AddVertex,1.31, 1.5, 0.25,
AddVertex,1.31, 1.5, 22,
AddVertex,1.28, 1.34, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.13, 1.11, 0.25,
AddVertex,1.28, 1.34, 0.25,
AddVertex,1.28, 1.34, 22,
AddVertex,1.13, 1.11, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.28, 2, 0.25,
AddVertex,1.2, 3.27, 0.25,
AddVertex,1.2, 3.27, 0.815,
AddVertex,1.31, 2, 0.815,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.28, 1.5, 0.25,
AddVertex,1.28, 2, 0.25,
AddVertex,1.31, 2, 0.815,
AddVertex,1.31, 1.5, 0.815,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.28, 1.34, 0.25,
AddVertex,1.28, 1.5, 0.25,
AddVertex,1.31, 1.5, 0.815,
AddVertex,1.28, 1.34, 0.815,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.12, 1.11, 0.25,
AddVertex,1.2, 3.27, 0.25,
AddVertex,1.2, 3.27, 2,
AddVertex,1.12, 1.11, 2,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

;Under cab bit

CreateMeshBuilder,
AddVertex,-1.13,0.95,20.65,
AddVertex,-1.13,1.11,20.65,
AddVertex,-1.13,1.11,22,
AddVertex,-1.13,0.95,22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-1.129,0.95,20.65,
AddVertex,-1.129,1.11,20.65,
AddVertex,-1.129,1.11,22,
AddVertex,-1.129,0.95,22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.13,0.95,20.65,
AddVertex,1.13,1.11,20.65,
AddVertex,1.13,1.11,22,
AddVertex,1.13,0.95,22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,1.129,0.95,20.65,
AddVertex,1.129,1.11,20.65,
AddVertex,1.129,1.11,22,
AddVertex,1.129,0.95,22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

;Underframe Left

CreateMeshBuilder,
AddVertex,-0.8, 0.2, 13.59,
AddVertex,-1, 1.11, 13.59,
AddVertex,-1, 1.11, 16.38,
AddVertex,-0.8, 0.2, 16.38,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1, -0.175, 0,
AddVertex,-1, 1.11, 0,
AddVertex,-1, 1.11, 22,
AddVertex,-1, -0.175, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, -0.175, 0,
AddVertex,-0.9, 1.11, 0,
AddVertex,-0.9, 1.11, 22,
AddVertex,-0.9, -0.175, 22,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.6, -0.175, 0,
AddVertex,-0.6, 1.11, 0,
AddVertex,-0.6, 1.11, 22,
AddVertex,-0.6, -0.175, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

;Underframe Right

CreateMeshBuilder,
AddVertex,0.8, 0.2, 13.59,
AddVertex,1, 1.11, 13.59,
AddVertex,1, 1.11, 16.38,
AddVertex,0.8, 0.2, 16.38,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1, -0.175, 0,
AddVertex,1, 1.11, 0,
AddVertex,1, 1.11, 22,
AddVertex,1, -0.175, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, -0.175, 0,
AddVertex,0.9, 1.11, 0,
AddVertex,0.9, 1.11, 22,
AddVertex,0.9, -0.175, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0, -0.175, 0,
AddVertex,0, 1.11, 0,
AddVertex,0, 1.11, 22,
AddVertex,0, -0.175, 22,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

;Bogie Yaw damper mounting

;front left

CreateMeshBuilder,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.23, 1.11, 18.77,
AddVertex,-1.13, 1.11, 18.87,
AddVertex,-1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.13, 18.77,
AddVertex,-1.13, 1.13, 18.87,
AddVertex,-1.13, 1.13, 17.6,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,10,46,96,

CreateMeshBuilder,
AddVertex,-1.23, 1.13, 18.77,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.23, 1.11, 18.77,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.13, 1.13, 18.87,
AddVertex,-1.23, 1.13, 18.77,
AddVertex,-1.23, 1.11, 18.77,
AddVertex,-1.13, 1.11, 18.87,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.13, 1.13, 17.6,
AddVertex,-1.23, 1.13, 17.85,
AddVertex,-1.23, 1.11, 17.85,
AddVertex,-1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.11, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.2902, 1.13, 17.92,
AddVertex,-1.2902, 1.13, 18.305,
AddVertex,-1.23, 1.13, 18.305,
AddVertex,-1.23, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,10,46,96,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.2902, 1.13, 18.305,
AddVertex,-1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.13, 18.305,
AddVertex,-1.2902, 1.13, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.23, 1.11, 17.92,
AddVertex,-1.23, 1.13, 17.92,
AddVertex,-1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.29, 1.11, 17.92,
AddVertex,-1.29, 1.11, 18.305,
AddVertex,-1.29, 1.104, 18.305,
AddVertex,-1.29, 1.104, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 18.305,
AddVertex,-1.23, 1.11, 18.305,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,-1.2902, 1.11, 17.92,
AddVertex,-1.23, 1.11, 17.92,
AddVertex,-1.23, 1.107, 17.92,
AddVertex,-1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,-1.2902, 1.073, 18.305,
AddVertex,-1.23, 1.073, 18.305,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2902, 1.073, 17.92,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.107, 17.92,
AddVertex,-1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.073, 18.303,
AddVertex,-1.23, 1.107, 18.305,
AddVertex,-1.23, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.2903, 1.073, 18.305,
AddVertex,-1.23, 1.073, 18.305,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2903, 1.073, 17.92,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.06, 17.92,
AddVertex,-1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.23, 1.073, 17.92,
AddVertex,-1.23, 1.073, 18.303,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 17.9325,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.23, 1.06, 17.92,
AddVertex,-1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.06, 18.305,
AddVertex,-1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 18.292,
AddVertex,-1.23, 1.0425, 17.9325,
AddVertex,-1.2903, 1.0425, 17.9325,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,13,58,122,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 18.2551,
AddVertex,-1.23, 1.0425, 18.2551,
AddVertex,-1.23, 1.0256, 18.2291,
AddVertex,-1.2903, 1.0256, 18.2291,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.2903, 1.0425, 17.97,
AddVertex,-1.23, 1.0425, 17.97,
AddVertex,-1.23, 1.0256, 18,
AddVertex,-1.2903, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,-1.23, 1.0425, 17.97,
AddVertex,-1.23, 1.0425, 18.2551,
AddVertex,-1.23, 1.0256, 18.2291,
AddVertex,-1.23, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

;top parts

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 18.2745,
AddVertex,-1.28, 1.4, 18.2745,
AddVertex,-1.13, 1.4, 18.2745,
AddVertex,-1.13, 1.13, 18.2745,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 17.955,
AddVertex,-1.28, 1.4, 17.955,
AddVertex,-1.13, 1.4, 17.955,
AddVertex,-1.13, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.28, 1.13, 18.2745,
AddVertex,-1.28, 1.34, 18.2745,
AddVertex,-1.28, 1.34, 17.955,
AddVertex,-1.28, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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


CreateMeshBuilder,
AddVertex,-1.21, 1.13, 18.2745,
AddVertex,-1.21, 1.2475, 18.2745,
AddVertex,-1.21, 1.2475, 17.955,
AddVertex,-1.21, 1.13, 17.955,
Translate,0,0,-12.2,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-1.21, 1.13, 18.2745,
AddVertex,-1.21, 1.2475, 18.2745,
AddVertex,-1.13, 1.2475, 18.2745,
AddVertex,-1.13, 1.13, 18.2745,
Translate,0,0,-12.2,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.21, 1.13, 17.955,
AddVertex,-1.21, 1.2575, 17.955,
AddVertex,-1.13, 1.2475, 17.955,
AddVertex,-1.13, 1.13, 17.955,
Translate,0,0,-12.2,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.12, 1.13, 18.33,
AddVertex,-1.12, 0.9, 18.33,
AddVertex,-1.12, 0.9, 17.865,
AddVertex,-1.12, 1.13, 17.865,
Translate,0,0,-12.2,
AddFace2,3,2,1,0,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.57,
AddVertex,-1.28, 1.4, 16.57,
AddVertex,-1.13, 1.4, 16.57,
AddVertex,-1.1, 1.13, 16.57,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.55,
AddVertex,-1.28, 1.4, 16.55,
AddVertex,-1.13, 1.4, 16.55,
AddVertex,-1.1, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.57,
AddVertex,-1.28, 1.4, 16.57,
AddVertex,-1.28, 1.4, 16.55,
AddVertex,-1.26, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.35,
AddVertex,-1.28, 1.4, 16.35,
AddVertex,-1.13, 1.4, 16.35,
AddVertex,-1.11, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.33,
AddVertex,-1.28, 1.4, 16.33,
AddVertex,-1.13, 1.4, 16.33,
AddVertex,-1.1, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.26, 1.13, 16.35,
AddVertex,-1.28, 1.4, 16.35,
AddVertex,-1.28, 1.4, 16.33,
AddVertex,-1.26, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.13, 1.13, 16.58,
AddVertex,-1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.27, 1.11, 16.32,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.27, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,183,169,44,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.58,
AddVertex,-1.27, 1.11, 16.58,
AddVertex,-1.13, 1.11, 16.58,
AddVertex,-1.13, 1.13, 16.58,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.27, 1.13, 16.32,
AddVertex,-1.27, 1.11, 16.32,
AddVertex,-1.13, 1.11, 16.32,
AddVertex,-1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,-1.22, 1.13, 16.55,
AddVertex,-1.22, 1.25, 16.55,
AddVertex,-1.22, 1.25, 16.35,
AddVertex,-1.22, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

;front right

CreateMeshBuilder,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.23, 1.11, 18.77,
AddVertex,1.13, 1.11, 18.87,
AddVertex,1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.13, 18.77,
AddVertex,1.13, 1.13, 18.87,
AddVertex,1.13, 1.13, 17.6,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,10,46,96,

CreateMeshBuilder,
AddVertex,1.23, 1.13, 18.77,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.23, 1.11, 18.77,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.13, 1.13, 18.87,
AddVertex,1.23, 1.13, 18.77,
AddVertex,1.23, 1.11, 18.77,
AddVertex,1.13, 1.11, 18.87,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.13, 1.13, 17.6,
AddVertex,1.23, 1.13, 17.85,
AddVertex,1.23, 1.11, 17.85,
AddVertex,1.13, 1.11, 17.6,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.11, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.2902, 1.13, 17.92,
AddVertex,1.2902, 1.13, 18.305,
AddVertex,1.23, 1.13, 18.305,
AddVertex,1.23, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,10,46,96,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.2902, 1.13, 18.305,
AddVertex,1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.13, 18.305,
AddVertex,1.2902, 1.13, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.23, 1.11, 17.92,
AddVertex,1.23, 1.13, 17.92,
AddVertex,1.2902, 1.13, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.29, 1.11, 17.92,
AddVertex,1.29, 1.11, 18.305,
AddVertex,1.29, 1.104, 18.305,
AddVertex,1.29, 1.104, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 18.305,
AddVertex,1.23, 1.11, 18.305,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,1.2902, 1.11, 17.92,
AddVertex,1.23, 1.11, 17.92,
AddVertex,1.23, 1.107, 17.92,
AddVertex,1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,1.2902, 1.073, 18.305,
AddVertex,1.23, 1.073, 18.305,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.2902, 1.107, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2902, 1.073, 17.92,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.107, 17.92,
AddVertex,1.2902, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.073, 18.303,
AddVertex,1.23, 1.107, 18.305,
AddVertex,1.23, 1.107, 17.92,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.2903, 1.073, 18.305,
AddVertex,1.23, 1.073, 18.305,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2903, 1.073, 17.92,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.06, 17.92,
AddVertex,1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.23, 1.073, 17.92,
AddVertex,1.23, 1.073, 18.303,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.2903, 1.06, 18.305,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 17.9325,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.23, 1.06, 17.92,
AddVertex,1.2903, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.06, 18.305,
AddVertex,1.23, 1.06, 17.92,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 18.292,
AddVertex,1.23, 1.0425, 17.9325,
AddVertex,1.2903, 1.0425, 17.9325,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,13,58,122,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 18.2551,
AddVertex,1.23, 1.0425, 18.2551,
AddVertex,1.23, 1.0256, 18.2291,
AddVertex,1.2903, 1.0256, 18.2291,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.2903, 1.0425, 17.97,
AddVertex,1.23, 1.0425, 17.97,
AddVertex,1.23, 1.0256, 18,
AddVertex,1.2903, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,12,52,109,

CreateMeshBuilder,
AddVertex,1.23, 1.0425, 17.97,
AddVertex,1.23, 1.0425, 18.2551,
AddVertex,1.23, 1.0256, 18.2291,
AddVertex,1.23, 1.0256, 18,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,0,0,0,

;top parts

CreateMeshBuilder,
AddVertex,1.28, 1.13, 18.2745,
AddVertex,1.28, 1.4, 18.2745,
AddVertex,1.13, 1.4, 18.2745,
AddVertex,1.13, 1.13, 18.2745,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.28, 1.13, 17.955,
AddVertex,1.28, 1.4, 17.955,
AddVertex,1.13, 1.4, 17.955,
AddVertex,1.13, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.28, 1.13, 18.2745,
AddVertex,1.28, 1.34, 18.2745,
AddVertex,1.28, 1.34, 17.955,
AddVertex,1.28, 1.13, 17.955,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,1.21, 1.13, 18.2745,
AddVertex,1.21, 1.2475, 18.2745,
AddVertex,1.21, 1.2475, 17.955,
AddVertex,1.21, 1.13, 17.955,
Translate,0,0,-12.2,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,1.21, 1.13, 18.2745,
AddVertex,1.21, 1.2475, 18.2745,
AddVertex,1.13, 1.2475, 18.2745,
AddVertex,1.13, 1.13, 18.2745,
Translate,0,0,-12.2,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.21, 1.13, 17.955,
AddVertex,1.21, 1.2575, 17.955,
AddVertex,1.13, 1.2475, 17.955,
AddVertex,1.13, 1.13, 17.955,
Translate,0,0,-12.2,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.12, 1.13, 18.33,
AddVertex,1.12, 0.9, 18.33,
AddVertex,1.12, 0.9, 17.865,
AddVertex,1.12, 1.13, 17.865,
Translate,0,0,-12.2,
AddFace2,3,2,1,0,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.57,
AddVertex,1.28, 1.4, 16.57,
AddVertex,1.13, 1.4, 16.57,
AddVertex,1.1, 1.13, 16.57,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.55,
AddVertex,1.28, 1.4, 16.55,
AddVertex,1.13, 1.4, 16.55,
AddVertex,1.1, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.57,
AddVertex,1.28, 1.4, 16.57,
AddVertex,1.28, 1.4, 16.55,
AddVertex,1.26, 1.13, 16.55,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.35,
AddVertex,1.28, 1.4, 16.35,
AddVertex,1.13, 1.4, 16.35,
AddVertex,1.11, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.33,
AddVertex,1.28, 1.4, 16.33,
AddVertex,1.13, 1.4, 16.33,
AddVertex,1.1, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.26, 1.13, 16.35,
AddVertex,1.28, 1.4, 16.35,
AddVertex,1.28, 1.4, 16.33,
AddVertex,1.26, 1.13, 16.33,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.13, 1.13, 16.58,
AddVertex,1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.27, 1.11, 16.32,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.27, 1.11, 16.32,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,183,169,44,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.58,
AddVertex,1.27, 1.11, 16.58,
AddVertex,1.13, 1.11, 16.58,
AddVertex,1.13, 1.13, 16.58,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.27, 1.13, 16.32,
AddVertex,1.27, 1.11, 16.32,
AddVertex,1.13, 1.11, 16.32,
AddVertex,1.13, 1.13, 16.32,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,11,51,107,

CreateMeshBuilder,
AddVertex,1.22, 1.13, 16.55,
AddVertex,1.22, 1.25, 16.55,
AddVertex,1.22, 1.25, 16.35,
AddVertex,1.22, 1.13, 16.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

;Roof detail

;front left

CreateMeshBuilder,
AddVertex,-1.1, 3.41, 19.95,
AddVertex,-0.75, 3.63, 19.95,
AddVertex,-0.75, 3.63, 21.1,
AddVertex,-1.1, 3.41, 21.1,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,

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

CreateMeshBuilder,
AddVertex,-1.11, 3.45, 19.95,
AddVertex,-0.76, 3.665, 19.95,
AddVertex,-0.76, 3.665, 21.1,
AddVertex,-1.11, 3.45, 21.1,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,;back
AddVertex,-0.69, 3.55, 19.96,
AddVertex,-0.76, 3.622, 19.96,
AddVertex,-0.76, 3.622, 21.09,
AddVertex,-0.69, 3.55, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,;front
AddVertex,-1.04, 3.34, 19.96,
AddVertex,-1.096, 3.412, 19.96,
AddVertex,-1.096, 3.412, 21.09,
AddVertex,-1.04, 3.34, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.69, 3.55, 21.09,
AddVertex,-0.76, 3.622, 21.09,
AddVertex,-1.096, 3.412, 21.09,
AddVertex,-1.04, 3.34, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.69, 3.55, 19.96,
AddVertex,-0.76, 3.622, 19.96,
AddVertex,-1.096, 3.412, 19.96,
AddVertex,-1.04, 3.34, 19.96,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 20.595,
AddVertex,-0.824, 3.625, 20.595,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-0.91, 3.53, 20.595,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 21.02,
AddVertex,-0.824, 3.625, 21.02,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.53, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 21.02,
AddVertex,-0.76, 3.54, 20.595,
AddVertex,-0.824, 3.625, 20.595,
AddVertex,-0.824, 3.625, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-0.91, 3.53, 20.595,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 21.02,
AddVertex,-1.07, 3.4375, 21.02,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.53, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 21.02,
AddVertex,-1.05, 3.4, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-1.07, 3.4375, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-1.07, 3.4375, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,

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

;front right

CreateMeshBuilder,
AddVertex,1.1, 3.41, 19.95,
AddVertex,0.75, 3.63, 19.95,
AddVertex,0.75, 3.63, 21.1,
AddVertex,1.1, 3.41, 21.1,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,

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

CreateMeshBuilder,
AddVertex,1.11, 3.45, 19.95,
AddVertex,0.76, 3.665, 19.95,
AddVertex,0.76, 3.665, 21.1,
AddVertex,1.11, 3.45, 21.1,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,;back
AddVertex,0.69, 3.55, 19.96,
AddVertex,0.76, 3.622, 19.96,
AddVertex,0.76, 3.622, 21.09,
AddVertex,0.69, 3.55, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,;front
AddVertex,1.04, 3.34, 19.96,
AddVertex,1.096, 3.412, 19.96,
AddVertex,1.096, 3.412, 21.09,
AddVertex,1.04, 3.34, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.69, 3.55, 21.09,
AddVertex,0.76, 3.622, 21.09,
AddVertex,1.096, 3.412, 21.09,
AddVertex,1.04, 3.34, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.69, 3.55, 19.96,
AddVertex,0.76, 3.622, 19.96,
AddVertex,1.096, 3.412, 19.96,
AddVertex,1.04, 3.34, 19.96,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 20.595,
AddVertex,0.824, 3.625, 20.595,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,0.91, 3.53, 20.595,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 21.02,
AddVertex,0.824, 3.625, 21.02,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.53, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 21.02,
AddVertex,0.76, 3.54, 20.595,
AddVertex,0.824, 3.625, 20.595,
AddVertex,0.824, 3.625, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,0.91, 3.53, 20.595,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 21.02,
AddVertex,1.07, 3.4375, 21.02,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.53, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 21.02,
AddVertex,1.05, 3.4, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,1.07, 3.4375, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-13.3,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,1.07, 3.4375, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-13.3,

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

;rear left

CreateMeshBuilder,
AddVertex,-1.1, 3.41, 21.1,
AddVertex,-0.75, 3.63, 21.1,
AddVertex,-0.75, 3.63, 19.95,
AddVertex,-1.1, 3.41, 19.95,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,

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

CreateMeshBuilder,
AddVertex,-1.11, 3.45, 21.1,
AddVertex,-0.76, 3.665, 21.1,
AddVertex,-0.76, 3.665, 19.95,
AddVertex,-1.11, 3.45, 19.95,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,;back
AddVertex,-0.69, 3.55, 19.96,
AddVertex,-0.76, 3.622, 19.96,
AddVertex,-0.76, 3.622, 21.09,
AddVertex,-0.69, 3.55, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,;front
AddVertex,-1.04, 3.34, 19.96,
AddVertex,-1.096, 3.412, 19.96,
AddVertex,-1.096, 3.412, 21.09,
AddVertex,-1.04, 3.34, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.69, 3.55, 21.09,
AddVertex,-0.76, 3.622, 21.09,
AddVertex,-1.096, 3.412, 21.09,
AddVertex,-1.04, 3.34, 21.09,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.69, 3.55, 19.96,
AddVertex,-0.76, 3.622, 19.96,
AddVertex,-1.096, 3.412, 19.96,
AddVertex,-1.04, 3.34, 19.96,
AddFace2,3,2,1,0,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 20.595,
AddVertex,-0.824, 3.625, 20.595,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-0.91, 3.53, 20.595,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 21.02,
AddVertex,-0.824, 3.625, 21.02,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.53, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.76, 3.54, 21.02,
AddVertex,-0.76, 3.54, 20.595,
AddVertex,-0.824, 3.625, 20.595,
AddVertex,-0.824, 3.625, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-0.91, 3.53, 20.595,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 21.02,
AddVertex,-1.07, 3.4375, 21.02,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.53, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-1.05, 3.4, 21.02,
AddVertex,-1.05, 3.4, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-1.07, 3.4375, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.91, 3.5735, 21.02,
AddVertex,-0.91, 3.5735, 20.595,
AddVertex,-1.07, 3.4375, 20.595,
AddVertex,-1.07, 3.4375, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,

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

;rear right

CreateMeshBuilder,
AddVertex,1.1, 3.41, 21.1,
AddVertex,0.75, 3.63, 21.1,
AddVertex,0.75, 3.63, 19.95,
AddVertex,1.1, 3.41, 19.95,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,

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

CreateMeshBuilder,
AddVertex,1.11, 3.45, 21.1,
AddVertex,0.76, 3.665, 21.1,
AddVertex,0.76, 3.665, 19.95,
AddVertex,1.11, 3.45, 19.95,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,;back
AddVertex,0.69, 3.55, 19.96,
AddVertex,0.76, 3.622, 19.96,
AddVertex,0.76, 3.622, 21.09,
AddVertex,0.69, 3.55, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,;front
AddVertex,1.04, 3.34, 19.96,
AddVertex,1.096, 3.412, 19.96,
AddVertex,1.096, 3.412, 21.09,
AddVertex,1.04, 3.34, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.69, 3.55, 21.09,
AddVertex,0.76, 3.622, 21.09,
AddVertex,1.096, 3.412, 21.09,
AddVertex,1.04, 3.34, 21.09,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.69, 3.55, 19.96,
AddVertex,0.76, 3.622, 19.96,
AddVertex,1.096, 3.412, 19.96,
AddVertex,1.04, 3.34, 19.96,
AddFace2,0,1,2,3,
Translate,0,0,-30.69,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.77, 3.55, 20.109,
AddVertex,0.826, 3.625, 20.109,
AddVertex,1.02, 3.505, 20.109,
AddVertex,0.9, 3.34, 20.109,
AddFace2,0,1,2,3,
Translate,0,0,-30.125,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.77, 3.55, 20.377,
AddVertex,0.826, 3.625, 20.377,
AddVertex,1.02, 3.505, 20.377,
AddVertex,0.9, 3.34, 20.377,
AddFace2,0,1,2,3,
Translate,0,0,-30.125,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.826, 3.625, 20.109,
AddVertex,0.77, 3.55, 20.109,
AddVertex,0.77, 3.55, 20.377,
AddVertex,0.826, 3.625, 20.377,
AddFace2,0,1,2,3,
Translate,0,0,-30.125,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.02, 3.505, 20.109,
AddVertex,0.9, 3.34, 20.109,
AddVertex,0.9, 3.34, 20.377,
AddVertex,1.02, 3.505, 20.377,,
AddFace2,0,1,2,3,
Translate,0,0,-30.125,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 20.595,
AddVertex,0.824, 3.625, 20.595,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,0.91, 3.53, 20.595,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 21.02,
AddVertex,0.824, 3.625, 21.02,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.53, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.76, 3.54, 21.02,
AddVertex,0.76, 3.54, 20.595,
AddVertex,0.824, 3.625, 20.595,
AddVertex,0.824, 3.625, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,0.91, 3.53, 20.595,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 21.02,
AddVertex,1.07, 3.4375, 21.02,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.53, 21.02,
AddFace2,0,1,2,3,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,1.05, 3.4, 21.02,
AddVertex,1.05, 3.4, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,1.07, 3.4375, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,0.91, 3.5735, 21.02,
AddVertex,0.91, 3.5735, 20.595,
AddVertex,1.07, 3.4375, 20.595,
AddVertex,1.07, 3.4375, 21.02,
AddFace2,3,2,1,0,
Translate,0,0,-31.255,

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

;Radio Pod

CreateMeshBuilder,
AddVertex,0.175,3.85,7.6, 
AddVertex,-0.175,3.85,7.6, 
AddVertex,-0.175,3.85,7.92,
AddVertex,0.175,3.85,7.92,
AddFace2, 3,2,1,0, 

LoadTexture,radio_pod_top.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,0.22,3.8151,7.53, 
AddVertex,-0.22,3.8151,7.53, 
AddVertex,-0.22,3.8151,7.97,
AddVertex,0.22,3.8151,7.97,
AddFace2,3,2,1,0, 

LoadTexture,radio_pod_base.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,-0.175,3.8151,7.53, 
AddVertex,-0.175,3.85,7.6, 
AddVertex,-0.175,3.85,7.92,
AddVertex,-0.175,3.8151,7.97,
AddFace2,3,2,1,0, 
SetColor,78,78,78,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,0.175,3.8151,7.53, 
AddVertex,0.175,3.85,7.6, 
AddVertex,0.175,3.85,7.92,
AddVertex,0.175,3.8151,7.97,
AddFace2,3,2,1,0, 
SetColor,78,78,78,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,-0.06,3.8151,7.53, 
AddVertex,-0.06,3.85,7.6, 
AddVertex,-0.06,3.85,7.92,
AddVertex,-0.06,3.8151,7.97,
AddFace2,3,2,1,0, 
SetColor,78,78,78,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,0.06,3.8151,7.53, 
AddVertex,0.06,3.85,7.6, 
AddVertex,0.06,3.85,7.92,
AddVertex,0.06,3.8151,7.97,
AddFace2,3,2,1,0, 
SetColor,78,78,78,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,-0.175,3.8151,7.92, 
AddVertex,-0.175,3.85,7.92, 
AddVertex,0.175,3.85,7.92,
AddVertex,0.175,3.8151,7.92,
AddFace2,3,2,1,0, 
SetColor,94,94,94,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,-0.175,3.8151,7.6, 
AddVertex,-0.175,3.85,7.6, 
AddVertex,0.175,3.85,7.6,
AddVertex,0.175,3.8151,7.6,
AddFace2,3,2,1,0, 
SetColor,94,94,94,
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6

CreateMeshBuilder,
AddVertex,0.22,3.8151,7.53, 
AddVertex,0.22,3.6,7.53, 
AddVertex,0.22,3.6,7.97,
AddVertex,0.22,3.8151,7.97,
AddFace2,0,1,2,3, 
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.22,3.8151,7.53, 
AddVertex,-0.22,3.6,7.53, 
AddVertex,-0.22,3.6,7.97,
AddVertex,-0.22,3.8151,7.97,
AddFace2,0,1,2,3, 
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.22,3.8151,7.97, 
AddVertex,-0.22,3.6,7.97, 
AddVertex,0.22,3.6,7.97,
AddVertex,0.22,3.8151,7.97,
AddFace2,0,1,2,3, 
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6
SetColor,84,84,84,

CreateMeshBuilder,
AddVertex,-0.22,3.8151,7.53, 
AddVertex,-0.22,3.6,7.53, 
AddVertex,0.22,3.6,7.53,
AddVertex,0.22,3.8151,7.53,
AddFace2,0,1,2,3, 
Translate,0,0.03,-6.6,
Translate,0.2,-0.06,6.45,
Rotate,0,0,30,6
SetColor,84,84,84,

;Join over cab

CreateMeshBuilder,
AddVertex,-0.2, 3.75, 21.225,
AddVertex,-0.2, 3.75, 21.2,
AddVertex,-0.6, 3.681, 21.2,
AddVertex,-0.6, 3.681, 21.225,
AddVertex,-1.06, 3.41, 21.225,
AddVertex,-1.06, 3.41, 21.2,
AddVertex,-1.2, 3.271, 21.225,
AddVertex,-1.2, 3.271, 21.2,
AddFace,0,1,2,3,
AddFace,3,2,5,4,
AddFace,4,5,7,6,
Translate,0,0,-12.687,

LoadTexture,join.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,0.2, 3.75, 21.225,
AddVertex,0.2, 3.75, 21.2,
AddVertex,0.6, 3.681, 21.2,
AddVertex,0.6, 3.681, 21.225,
AddVertex,1.06, 3.41, 21.225,
AddVertex,1.06, 3.41, 21.2,
AddVertex,1.2, 3.271, 21.225,
AddVertex,1.2, 3.271, 21.2,
AddFace,3,2,1,0,
AddFace,4,5,2,3,
AddFace,6,7,5,4,
Translate,0,0,-12.687,

LoadTexture,join.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,0.2, 3.751, 21.225,
AddVertex,0.2, 3.751, 21.2,
AddVertex,-0.2, 3.751, 21.2,
AddVertex,-0.2, 3.751, 21.225,
Translate,0,0,-12.687,
AddFace,0,1,2,3,

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

;Roof

;Left side

CreateMeshBuilder,
AddVertex,-0.2, 3.75, 21.225,
AddVertex,-0.2, 3.75, 0.5,
AddVertex,-0.6, 3.68, 0.5,
AddVertex,-0.6, 3.68, 21.225,
AddFace2,3,2,1,0
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.6, 3.68, 0.5,
AddVertex,-0.6, 3.68, 21.225,
AddVertex,-1.06, 3.4, 21.225,
AddVertex,-1.06, 3.4, 0.5,
AddFace2,0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.06, 3.4, 21.225,
AddVertex,-1.06, 3.4, 0.5,
AddVertex,-1.2, 3.27, 0.5,
AddVertex,-1.2, 3.27, 21.225,
AddFace2,3,2,1,0
Translate,0,0,-12.7,

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

;Right side

CreateMeshBuilder,
AddVertex,0.2, 3.75, 21.225,
AddVertex,0.2, 3.75, 0.5,
AddVertex,0.6, 3.68, 0.5,
AddVertex,0.6, 3.68, 21.225,
AddFace2,0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.06, 3.4, 0.5,
AddVertex,0.6, 3.68, 0.5,
AddVertex,0.6, 3.68, 21.225,
AddVertex,1.06, 3.4, 21.225,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.06, 3.4, 21.225,
AddVertex,1.06, 3.4, 0.5,
AddVertex,1.2, 3.27, 0.5,
AddVertex,1.2, 3.27, 21.225,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

;Top

CreateMeshBuilder,
AddVertex,0, 3.75, 21.225,
AddVertex,0, 3.75, 0.5,
AddVertex,-0.2, 3.75, 0.5,
AddVertex,-0.2, 3.75, 21.225,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,

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

CreateMeshBuilder,
AddVertex,0.2, 3.75, 21.225,
AddVertex,0.2, 3.75, 0.5,
AddVertex,0, 3.75, 0.5,
AddVertex,0, 3.75, 21.225,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,

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

;roof end edge

CreateMeshBuilder,
AddVertex,-0.2, 3.75, 0.25,
AddVertex,-0.2, 3.75, 0.5,
AddVertex,-0.6, 3.68, 0.5,
AddVertex,-0.6, 3.68, 0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.6, 3.68, 0.25,
AddVertex,-0.6, 3.68, 0.5,
AddVertex,-1.06, 3.4, 0.5,
AddVertex,-1.06, 3.4, 0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.06, 3.4, 0.25,
AddVertex,-1.06, 3.4, 0.5,
AddVertex,-1.2, 3.27, 0.5,
AddVertex,-1.2, 3.27, 0.25,
AddFace2,0,1,2,3
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.2, 3.75, 0.25,
AddVertex,0.2, 3.75, 0.5,
AddVertex,0.6, 3.68, 0.5,
AddVertex,0.6, 3.68, 0.25,
AddFace2,3,2,1,0
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.6, 3.68, 0.25,
AddVertex,0.6, 3.68, 0.5,
AddVertex,1.06, 3.4, 0.5,
AddVertex,1.06, 3.4, 0.25,
AddFace2,3,2,1,0
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.06, 3.4, 0.25,
AddVertex,1.06, 3.4, 0.5,
AddVertex,1.2, 3.27, 0.5,
AddVertex,1.2, 3.27, 0.25,
AddFace2,3,2,1,0
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.2, 3.75, 0.25,
AddVertex,0.2, 3.75, 0.5,
AddVertex,-0.2, 3.75, 0.5,
AddVertex,-0.2, 3.75, 0.25,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

;Cab Roof

CreateMeshBuilder,
AddVertex,-0.2, 3.7, 21.89,
AddVertex,-0.2, 3.75, 21.225,
AddVertex,-0.6, 3.68, 21.225,
AddVertex,-0.6, 3.63, 21.89,
AddVertex,-1.06, 3.39, 21.89,
AddVertex,-1.06, 3.4, 21.225,
AddVertex,-1.1845, 3.27, 21.89,
AddVertex,-1.2, 3.27, 21.225,
AddFace2,3,2,1,0,
AddFace2,4,5,2,3,
AddFace2,6,7,5,4,
Translate,0,0,-12.7,

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,

CreateMeshBuilder,
AddVertex,0.2, 3.7, 21.89,
AddVertex,0.2, 3.75, 21.225,
AddVertex,0.6, 3.68, 21.225,
AddVertex,0.6, 3.63, 21.89,
AddVertex,1.06, 3.39, 21.89,
AddVertex,1.06, 3.4, 21.225,
AddVertex,1.1845, 3.27, 21.89,
AddVertex,1.2, 3.27, 21.225,
AddFace2,0,1,2,3,
AddFace2,3,2,5,4,
AddFace2,4,5,7,6,
Translate,0,0,-12.7,

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,

CreateMeshBuilder,
AddVertex,0.2, 3.7, 21.89,
AddVertex,0.2, 3.75, 21.225,
AddVertex,-0.2, 3.75, 21.225,
AddVertex,-0.2, 3.7, 21.89,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,

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

;Cab Roof Front

CreateMeshBuilder,
AddVertex,-0.2, 3.6, 22.05,
AddVertex,-0.2, 3.7, 21.89,
AddVertex,-0.6, 3.63, 21.89,
AddVertex,-0.6, 3.515, 22.045,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,

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

CreateMeshBuilder,
AddVertex,-0.6, 3.63, 21.89,
AddVertex,-0.6, 3.515, 22.045,
AddVertex,-1.06, 3.32, 22.01,
AddVertex,-1.06, 3.39, 21.89,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-1.1845, 3.27, 21.89,
AddVertex,-1.06, 3.39, 21.89,
AddVertex,-1.06, 3.32, 22.01,
AddVertex,-1.1844, 3.27, 22,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.2, 3.6, 22.05,
AddVertex,0.2, 3.7, 21.89,
AddVertex,0.6, 3.63, 21.89,
AddVertex,0.6, 3.515, 22.045,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.6, 3.63, 21.89,
AddVertex,0.6, 3.515, 22.045,
AddVertex,1.06, 3.32, 22.01,
AddVertex,1.06, 3.39, 21.89,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,1.1845, 3.27, 21.89,
AddVertex,1.06, 3.39, 21.89,
AddVertex,1.06, 3.32, 22.01,
AddVertex,1.1844, 3.27, 22,
Translate,0,0,-12.7,
AddFace2,3,2,1,0

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

CreateMeshBuilder,
AddVertex,0.2, 3.7, 21.89,
AddVertex,0.2, 3.6, 22.05,
AddVertex,-0.2, 3.6, 22.05,
AddVertex,-0.2, 3.7, 21.89,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

;Roof watertank

CreateMeshBuilder,
AddVertex,-0.2, 3.751, 1.75,
AddVertex,-0.2, 3.751, 0.7,
AddVertex,-0.6, 3.681, 0.7,
AddVertex,-0.6, 3.681, 1.75,
AddVertex,-1.06, 3.41, 1.75,
AddVertex,-1.06, 3.41, 0.7,
AddVertex,-1.06, 3.271, 1.75,
AddVertex,-1.06, 3.271, 0.7,
AddFace2,3,2,1,0,
AddFace2,4,5,2,3,
AddFace2,6,7,5,4,
Translate,0,0,-12.7,

LoadTexture,watertank.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.2, 3.271, 1.75,
AddVertex,-1.06, 3.41, 1.75,
AddVertex,-1.06, 3.41, 0.7,
AddVertex,-1.2, 3.271, 0.7,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,0.2, 3.751, 1.75,
AddVertex,0.2, 3.751, 0.7,
AddVertex,0.6, 3.681, 0.7,
AddVertex,0.6, 3.681, 1.75,
AddVertex,1.06, 3.41, 1.75,
AddVertex,1.06, 3.41, 0.7,
AddVertex,1.06, 3.271, 1.75,
AddVertex,1.06, 3.271, 0.7,
AddFace2,0,1,2,3,
AddFace2,3,2,5,4,
AddFace2,4,5,7,6,
Translate,0,0,-12.7,

LoadTexture,watertank.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.2, 3.271, 1.75,
AddVertex,1.06, 3.41, 1.75,
AddVertex,1.06, 3.41, 0.7,
AddVertex,1.2, 3.271, 0.7,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetDecalTransparentColor,0,0,255,

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

CreateMeshBuilder,
AddVertex,-0.2, 3.751, 1.75,
AddVertex,0.2, 3.751, 1.75,
AddVertex,0.2, 3.751, 0.7,
AddVertex,-0.2, 3.751, 0.7,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,

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


ScaleAll,0.93,1.03,1,

;front coupling

CreateMeshBuilder,
AddVertex,0.22,0.65,19.9,
AddVertex,0.22,1.12,19.9,
AddVertex,-0.22,1.12,19.9,
AddVertex,-0.22,0.65,19.9,
AddFace2,0,1,2,3,
Translate,0,-0,-10.25,

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

CreateMeshBuilder,
AddVertex,-0.22,0.65,19.55,
AddVertex,-0.22,1.12,19.55,
AddVertex,-0.22,1.12,19.9,
AddVertex,-0.22,0.65,19.9,
AddFace2,0,1,2,3,
Translate,0,-0,-10.25,

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

CreateMeshBuilder,
AddVertex,0.22,0.65,19.55,
AddVertex,0.22,1.12,19.55,
AddVertex,0.22,1.12,19.9,
AddVertex,0.22,0.65,19.9,
AddFace2,3,2,1,0,
Translate,0,-0,-10.25,

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

CreateMeshBuilder,
AddVertex,-0.22,1.12,19.55,
AddVertex,0.22,1.12,19.55,
AddVertex,0.22,1.12,19.9,
AddVertex,-0.22,1.12,19.9,
AddFace2,3,2,1,0,
Translate,0,-0,-10.25,

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

CreateMeshBuilder,
AddVertex,-0.22,0.65,19.55,
AddVertex,-0.22,1.12,19.55,
AddVertex,-0.22,1.12,19,
AddVertex,-0.22,0.65,19,
AddFace2,0,1,2,3,
Translate,0,-0,-10.25,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,0.22,0.65,19.55,
AddVertex,0.22,1.12,19.55,
AddVertex,0.22,1.12,19,
AddVertex,0.22,0.65,19,
AddFace2,0,1,2,3,
Translate,0,-0,-10.25,
SetColor,15,15,15,

CreateMeshBuilder,
AddVertex,0.22,0.65,19,
AddVertex,0.22,1.12,19,
AddVertex,-0.22,1.12,19,
AddVertex,-0.22,0.65,19,
AddFace2,0,1,2,3,
Translate,0,-0,-10.25,
SetColor,15,15,15,

;centre coupling

CreateMeshBuilder,
AddVertex,0, 0.77,0.71,
AddVertex,0, 1.15,0.71,
AddVertex,0, 1.15,-0.76,
AddVertex,0, 0.77,-0.76,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

; Front Gangway

CreateMeshBuilder,
AddVertex,-0.2, 3.5, -0.35,
AddVertex,0.2, 3.5, -0.35,
AddVertex,0.2, 3.5, 0.251,
AddVertex,-0.2, 3.5, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.45, 3.3, -0.35,
AddVertex,-0.45, 1.18, -0.35,
AddVertex,-0.45, 1.18, 0.251,
AddVertex,-0.45, 3.3, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.45, 3.3, -0.35,
AddVertex,0.45, 1.18, -0.35,
AddVertex,0.45, 1.18, 0.251,
AddVertex,0.45, 3.3, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.45, 1.185, -0.35,
AddVertex,0.45, 1.185, -0.35,
AddVertex,0.45, 1.185, -0.05,
AddVertex,-0.45, 1.185, -0.05,
Translate,0,0,9.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.34, 1.26, -0.35,
AddVertex,0.34, 1.26, -0.35,
AddVertex,0.34, 1.26, -0.05,
AddVertex,-0.34, 1.26, -0.05,
Translate,0,0,9.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.34, 3.275, -0.35,
AddVertex,0.34, 3.275, -0.35,
AddVertex,0.34, 3.275, -0.05,
AddVertex,-0.34, 3.275, -0.05,
Translate,0,0,9.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.34, 3.275, -0.35,
AddVertex,-0.34, 1.23, -0.35,
AddVertex,-0.34, 1.23, 0.251,
AddVertex,-0.34, 3.275, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.34, 3.275, -0.35,
AddVertex,0.34, 1.23, -0.35,
AddVertex,0.34, 1.23, 0.251,
AddVertex,0.34, 3.275, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

;gangway curves

CreateMeshBuilder,
AddVertex,-0.44, 3.35, -0.35,
AddVertex,-0.45, 3.3, -0.35,
AddVertex,-0.45, 3.3, 0.251,
AddVertex,-0.44, 3.35, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.415, 3.4, -0.35,
AddVertex,-0.44, 3.35, -0.35,
AddVertex,-0.44, 3.35, 0.251,
AddVertex,-0.415, 3.4, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.36, 3.45, -0.35,
AddVertex,-0.415, 3.4, -0.35,
AddVertex,-0.415, 3.4, 0.251,
AddVertex,-0.36, 3.45, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.36, 3.45, -0.35,
AddVertex,-0.27, 3.5, -0.35,
AddVertex,-0.27, 3.5, 0.251,
AddVertex,-0.36, 3.45, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.2, 3.5, -0.35,
AddVertex,-0.27, 3.5, -0.35,
AddVertex,-0.27, 3.5, 0.251,
AddVertex,-0.2, 3.5, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.44, 3.35, -0.35,
AddVertex,0.45, 3.3, -0.35,
AddVertex,0.45, 3.3, 0.251,
AddVertex,0.44, 3.35, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.415, 3.4, -0.35,
AddVertex,0.44, 3.35, -0.35,
AddVertex,0.44, 3.35, 0.251,
AddVertex,0.415, 3.4, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.36, 3.45, -0.35,
AddVertex,0.415, 3.4, -0.35,
AddVertex,0.415, 3.4, 0.251,
AddVertex,0.36, 3.45, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.36, 3.45, -0.35,
AddVertex,0.27, 3.5, -0.35,
AddVertex,0.27, 3.5, 0.251,
AddVertex,0.36, 3.45, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.2, 3.5, -0.35,
AddVertex,0.27, 3.5, -0.35,
AddVertex,0.27, 3.5, 0.251,
AddVertex,0.2, 3.5, 0.251,
Translate,0,0,9.7,
AddFace2,0,1,2,3,

LoadTexture,gangway2.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.095,-0.05,
AddVertex,1.35,3.75,-0.05,
AddVertex,-1.35,3.75,-0.05,
AddVertex,-1.35,1.095,-0.05,
AddFace2,0,1,2,3,
Translate,0,0,9.7,

LoadTexture,gangway_end.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255
Scale,0.93,1.03,1,

;Gangway middle

CreateMeshBuilder,
AddVertex,-0.2, 3.5, 0.251,
AddVertex,0.2, 3.5, 0.251,
AddVertex,0.2, 3.5, -0.35,
AddVertex,-0.2, 3.5, -0.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.45, 3.3, -0.35,
AddVertex,-0.45, 1.18, -0.35,
AddVertex,-0.45, 1.18, 0.251,
AddVertex,-0.45, 3.3, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.45, 3.3, -0.35,
AddVertex,0.45, 1.18, -0.35,
AddVertex,0.45, 1.18, 0.251,
AddVertex,0.45, 3.3, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.45, 1.18, 0.251,
AddVertex,0.45, 1.18, 0.251,
AddVertex,0.45, 1.18, -0.35,
AddVertex,-0.45, 1.18, -0.35,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,
SetColor,0,0,0,

;gangway curves middle

CreateMeshBuilder,
AddVertex,-0.44, 3.35, -0.35,
AddVertex,-0.45, 3.3, -0.35,
AddVertex,-0.45, 3.3, 0.251,
AddVertex,-0.44, 3.35, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.415, 3.4, -0.35,
AddVertex,-0.44, 3.35, -0.35,
AddVertex,-0.44, 3.35, 0.251,
AddVertex,-0.415, 3.4, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.36, 3.45, -0.35,
AddVertex,-0.415, 3.4, -0.35,
AddVertex,-0.415, 3.4, 0.251,
AddVertex,-0.36, 3.45, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.36, 3.45, -0.35,
AddVertex,-0.27, 3.5, -0.35,
AddVertex,-0.27, 3.5, 0.251,
AddVertex,-0.36, 3.45, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-0.2, 3.5, -0.35,
AddVertex,-0.27, 3.5, -0.35,
AddVertex,-0.27, 3.5, 0.251,
AddVertex,-0.2, 3.5, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.44, 3.35, -0.35,
AddVertex,0.45, 3.3, -0.35,
AddVertex,0.45, 3.3, 0.251,
AddVertex,0.44, 3.35, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.415, 3.4, -0.35,
AddVertex,0.44, 3.35, -0.35,
AddVertex,0.44, 3.35, 0.251,
AddVertex,0.415, 3.4, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.36, 3.45, -0.35,
AddVertex,0.415, 3.4, -0.35,
AddVertex,0.415, 3.4, 0.251,
AddVertex,0.36, 3.45, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.36, 3.45, -0.35,
AddVertex,0.27, 3.5, -0.35,
AddVertex,0.27, 3.5, 0.251,
AddVertex,0.36, 3.45, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,0.2, 3.5, -0.35,
AddVertex,0.27, 3.5, -0.35,
AddVertex,0.27, 3.5, 0.251,
AddVertex,0.2, 3.5, 0.251,
Translate,0,0,-12.7,
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
AddVertex,-1.35,1.095,-0.05,
AddVertex,-1.35,3.77,-0.05,
AddVertex,1.35,3.77,-0.05,
AddVertex,1.35,1.095,-0.05,
AddFace2, 0,1,2,3
Translate,0,0,-12.7,

LoadTexture,gangway_end.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,
Scale,0.93,1.03,1,

;Bogie front

;Front cab left side

CreateMeshBuilder,
AddVertex,-1.1, -0.05, 16.65,
AddVertex,-1.1, 1.115, 16.65,
AddVertex,-1.1, 1.115, 20.55,
AddVertex,-1.1, -0.05, 20.55,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, -0.05, 16.65,
AddVertex,-0.9, 1.115, 16.65,
AddVertex,-0.9, 1.115, 20.55,
AddVertex,-0.9, -0.05, 20.55,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.2, -0.035, 16.65,
AddVertex,-1.2, 1.14, 16.65,
AddVertex,-1.2, 1.14, 20.55,
AddVertex,-1.2, -0.035, 20.55,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.15, -0.035, 16.65,
AddVertex,-1.15, 1.14, 16.65,
AddVertex,-1.15, 1.14, 20.55,
AddVertex,-1.15, -0.035, 20.55,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.175, -0.035, 16.65,
AddVertex,-1.175, 1.14, 16.65,
AddVertex,-1.175, 1.14, 20.55,
AddVertex,-1.175, -0.035, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

;Front cab right side

CreateMeshBuilder,
AddVertex,1.1, -0.05, 16.65,
AddVertex,1.1, 1.115, 16.65,
AddVertex,1.1, 1.115, 20.55,
AddVertex,1.1, -0.05, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, -0.05, 16.65,
AddVertex,0.9, 1.115, 16.65,
AddVertex,0.9, 1.115, 20.55,
AddVertex,0.9, -0.05, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.2, -0.035, 16.65,
AddVertex,1.2, 1.14, 16.65,
AddVertex,1.2, 1.14, 20.55,
AddVertex,1.2, -0.035, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.15, -0.035, 16.65,
AddVertex,1.15, 1.14, 16.65,
AddVertex,1.15, 1.14, 20.55,
AddVertex,1.15, -0.035, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.175, -0.035, 16.65,
AddVertex,1.175, 1.14, 16.65,
AddVertex,1.175, 1.14, 20.55,
AddVertex,1.175, -0.035, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

;Cab step brackets

;left

CreateMeshBuilder,
AddVertex,-1, 0.75, 20.44,
AddVertex,-1, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.44,
AddVertex,-1.2, 0.75, 20.44,
AddFace2,3,2,1,0,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,-1, 0.75, 20.46,
AddVertex,-1, 0.9, 20.46,
AddVertex,-1.2, 0.9, 20.46,
AddVertex,-1.2, 0.75, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,-1, 0.9, 20.46,
AddVertex,-1, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,-1, 0.75, 20.44,
AddVertex,-1, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.44,
AddVertex,-1.2, 0.75, 20.44,
AddFace2,3,2,1,0,
Translate,0,0,-13.51
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,-1, 0.75, 20.46,
AddVertex,-1, 0.9, 20.46,
AddVertex,-1.2, 0.9, 20.46,
AddVertex,-1.2, 0.75, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-13.51
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,-1, 0.9, 20.46,
AddVertex,-1, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.44,
AddVertex,-1.2, 0.9, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-13.51
SetColor,44,41,32,

;right

CreateMeshBuilder,
AddVertex,1, 0.75, 20.44,
AddVertex,1, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.44,
AddVertex,1.2, 0.75, 20.44,
AddFace2,0,1,2,3,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,1, 0.75, 20.46,
AddVertex,1, 0.9, 20.46,
AddVertex,1.2, 0.9, 20.46,
AddVertex,1.2, 0.75, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,1, 0.9, 20.46,
AddVertex,1, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-12.7
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,1, 0.75, 20.44,
AddVertex,1, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.44,
AddVertex,1.2, 0.75, 20.44,
AddFace2,0,1,2,3,
Translate,0,0,-13.51
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,1, 0.75, 20.46,
AddVertex,1, 0.9, 20.46,
AddVertex,1.2, 0.9, 20.46,
AddVertex,1.2, 0.75, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-13.51
SetColor,44,41,32,

CreateMeshBuilder,
AddVertex,1, 0.9, 20.46,
AddVertex,1, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.44,
AddVertex,1.2, 0.9, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-13.51
SetColor,44,41,32,

;Yaw damper bracket infill

;front bogie

;left

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20.1,
AddVertex,-1.15, 0.45, 20.1,
AddVertex,-1.2, 0.45, 20.1,
AddVertex,-1.2, 0.55, 20.1,
AddFace2,0,1,2,3,
Translate,0,0,-14.43
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20.1,
AddVertex,-1.15, 0.55, 19.95,
AddVertex,-1.2, 0.55, 19.95,
AddVertex,-1.2, 0.55, 20.1,
AddFace2,3,2,1,0,
Translate,0,0,-14.43

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

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20,
AddVertex,-1.15, 1.1, 19.955,
AddVertex,-1.2, 1.1, 19.955,
AddVertex,-1.2, 0.55, 20,
AddFace2,0,1,2,3,
Translate,0,0,-14.43

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

CreateMeshBuilder,
AddVertex,-1.15, 0.45, 20.143,
AddVertex,-1.15, 1.1, 19.94,
AddVertex,-1.2, 1.1, 19.94,
AddVertex,-1.2, 0.45, 20.143,
AddFace2,0,1,2,3,
Translate,0,0,-14.65

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

CreateMeshBuilder,
AddVertex,-1.15, 0.45, 20.143,;new
AddVertex,-1.15, 0.425, 20.152,
AddVertex,-1.2, 0.425, 20.152,
AddVertex,-1.2, 0.45, 20.143,
AddFace2,3,2,1,0,
Translate,0,0,-14.65

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

CreateMeshBuilder,
AddVertex,-1.15, 0.417, 20.175,;new
AddVertex,-1.15, 0.425, 20.152,
AddVertex,-1.2, 0.425, 20.152,
AddVertex,-1.2, 0.417, 20.175,
AddFace2,3,2,1,0,
Translate,0,0,-14.65

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

;right

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20.1,
AddVertex,1.15, 0.45, 20.1,
AddVertex,1.2, 0.45, 20.1,
AddVertex,1.2, 0.55, 20.1,
AddFace2,3,2,1,0,
Translate,0,0,-14.43
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20.1,
AddVertex,1.15, 0.55, 19.95,
AddVertex,1.2, 0.55, 19.95,
AddVertex,1.2, 0.55, 20.1,
AddFace2,0,1,2,3
Translate,0,0,-14.43

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

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20,
AddVertex,1.15, 1.1, 19.955,
AddVertex,1.2, 1.1, 19.955,
AddVertex,1.2, 0.55, 20,
AddFace2,3,2,1,0,
Translate,0,0,-14.43

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

CreateMeshBuilder,
AddVertex,1.15, 0.45, 20.143,
AddVertex,1.15, 1.1, 19.94,
AddVertex,1.2, 1.1, 19.94,
AddVertex,1.2, 0.45, 20.143,
AddFace2,3,2,1,0,
Translate,0,0,-14.65

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

CreateMeshBuilder,
AddVertex,1.15, 0.45, 20.143,;new
AddVertex,1.15, 0.425, 20.152,
AddVertex,1.2, 0.425, 20.152,
AddVertex,1.2, 0.45, 20.143,
AddFace2,0,1,2,3,
Translate,0,0,-14.65

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

CreateMeshBuilder,
AddVertex,1.15, 0.417, 20.175,;new
AddVertex,1.15, 0.425, 20.152,
AddVertex,1.2, 0.425, 20.152,
AddVertex,1.2, 0.417, 20.175,
AddFace2,0,1,2,3,
Translate,0,0,-14.65

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

;Rear bogie

;right

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20.1,
AddVertex,-1.15, 0.45, 20.1,
AddVertex,-1.2, 0.45, 20.1,
AddVertex,-1.2, 0.55, 20.1,
AddFace2,3,2,1,0,
Translate,0,0,-10.951,
SetColor,0,0,0
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20.1,
AddVertex,-1.15, 0.55, 19.95,
AddVertex,-1.2, 0.55, 19.95,
AddVertex,-1.2, 0.55, 20.1,
AddFace2,0,1,2,3,
Translate,0,0,-10.951,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.15, 0.55, 20,
AddVertex,-1.15, 1.1, 19.955,
AddVertex,-1.2, 1.1, 19.955,
AddVertex,-1.2, 0.55, 20,
AddFace2,3,2,1,0,
Translate,0,0,-10.951,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.15, 0.45, 20.143,
AddVertex,-1.15, 1.1, 19.94,
AddVertex,-1.2, 1.1, 19.94,
AddVertex,-1.2, 0.45, 20.143,
AddFace2,3,2,1,0,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.15, 0.45, 20.143,;new
AddVertex,-1.15, 0.425, 20.152,
AddVertex,-1.2, 0.425, 20.152,
AddVertex,-1.2, 0.45, 20.143,
AddFace2,0,1,2,3,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-1.15, 0.417, 20.175,;new
AddVertex,-1.15, 0.425, 20.152,
AddVertex,-1.2, 0.425, 20.152,
AddVertex,-1.2, 0.417, 20.175,
AddFace2,3,2,1,0,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

;left

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20.1,
AddVertex,1.15, 0.45, 20.1,
AddVertex,1.2, 0.45, 20.1,
AddVertex,1.2, 0.55, 20.1,
AddFace2,3,2,1,0,
Translate,0,0,-10.951,
SetColor,0,0,0
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20.1,
AddVertex,1.15, 0.55, 19.95,
AddVertex,1.2, 0.55, 19.95,
AddVertex,1.2, 0.55, 20.1,
AddFace2,3,2,1,0,
Translate,0,0,-10.951,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.15, 0.55, 20,
AddVertex,1.15, 1.1, 19.955,
AddVertex,1.2, 1.1, 19.955,
AddVertex,1.2, 0.55, 20,
AddFace2,0,1,2,3,
Translate,0,0,-10.951,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.15, 0.45, 20.143,
AddVertex,1.15, 1.1, 19.94,
AddVertex,1.2, 1.1, 19.94,
AddVertex,1.2, 0.45, 20.143,
AddFace2,0,1,2,3,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.15, 0.45, 20.143,;new
AddVertex,1.15, 0.425, 20.152,
AddVertex,1.2, 0.425, 20.152,
AddVertex,1.2, 0.45, 20.143,
AddFace2,3,2,1,0,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,1.15, 0.417, 20.175,;new
AddVertex,1.15, 0.425, 20.152,
AddVertex,1.2, 0.425, 20.152,
AddVertex,1.2, 0.417, 20.175,
AddFace2,3,2,1,0,
Translate,0,0,-11.169,
Rotate,0,180,0,180,

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

;Bogie infill

;front

;left

CreateMeshBuilder,
AddVertex,-0.9, 0.6, 18.9,
AddVertex,-1.1, 0.6, 18.9,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,-0.9, 0.675, 20.5175,
AddVertex,-1.1, 0.675, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-0.9, 0.71, 20.5175,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,71,64,57,

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 20.46,
AddVertex,-1.11, 0.67, 20.46,
AddVertex,-1.11, 0.34, 20.46,
AddVertex,-0.9, 0.34, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 19.58,
AddVertex,-1.11, 0.67, 19.58,
AddVertex,-1.11, 0.34, 19.58,
AddVertex,-0.9, 0.34, 19.58,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

;right

CreateMeshBuilder,
AddVertex,0.9, 0.6, 18.9,
AddVertex,1.1, 0.6, 18.9,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.675, 20.5175,
AddVertex,1.1, 0.675, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,71,64,57,

CreateMeshBuilder,
AddVertex,0.9, 0.67, 20.46,
AddVertex,1.11, 0.67, 20.46,
AddVertex,1.11, 0.34, 20.46,
AddVertex,0.9, 0.34, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, 0.67, 19.58,
AddVertex,1.11, 0.67, 19.58,
AddVertex,1.11, 0.34, 19.58,
AddVertex,0.9, 0.34, 19.58,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

;rear

;right

CreateMeshBuilder,
AddVertex,-0.9, 0.6, 18.9,
AddVertex,-1.1, 0.6, 18.9,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.675, 20.5175,
AddVertex,-1.1, 0.675, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,71,64,57,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 20.46,
AddVertex,-1.11, 0.67, 20.46,
AddVertex,-1.11, 0.34, 20.46,
AddVertex,-0.9, 0.34, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 19.58,
AddVertex,-1.11, 0.67, 19.58,
AddVertex,-1.11, 0.34, 19.58,
AddVertex,-0.9, 0.34, 19.58,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Rotate,0,180,0,180,

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

;left rear

CreateMeshBuilder,
AddVertex,0.9, 0.6, 18.9,
AddVertex,1.1, 0.6, 18.9,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.675, 20.5175,
AddVertex,1.1, 0.675, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,71,64,57,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.67, 20.46,
AddVertex,1.11, 0.67, 20.46,
AddVertex,1.11, 0.34, 20.46,
AddVertex,0.9, 0.34, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,0.9, 0.67, 19.58,
AddVertex,1.11, 0.67, 19.58,
AddVertex,1.11, 0.34, 19.58,
AddVertex,0.9, 0.34, 19.58,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Rotate,0,180,0,180,

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

;Centre infill

CreateMeshBuilder,
AddVertex,0.9, 0.71, 18,
AddVertex,-0.9, 0.71, 18,
AddVertex,-0.9, 0.71, 19.2,
AddVertex,0.9, 0.71, 19.2,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 1.2, 18.6,
AddVertex,-0.9, 1.2, 18.6,
AddVertex,-0.9, 0.71, 18.6,
AddVertex,0.9, 0.71, 18.6,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
SetColor,0,0,0,
Rotate,0,180,0,180,

; Cylinder Wheels 

;left wheel

CreateMeshBuilder, 
cylinder,120,0.485,0.495,0.095,
rotate,0,0,90,90,
translate,-0.715,0.34,2.73,
SetColor,56,56,56,
translate,0,0,3.095,
Translate,0,0.075,1.5,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,-0.655,0.34,2.73,
SetColor,72,72,72,
translate,0,0,3.095,
Translate,0,0.075,1.5,

;right wheel

CreateMeshBuilder, 
cylinder,120,0.495,0.485,0.095,
rotate,0,0,90,90,
translate,0.715,0.34,2.73,
SetColor,56,56,56,
translate,0,0,3.095,
Translate,0,0.075,1.5,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,0.655,0.34,2.73,
SetColor,72,72,72,
translate,0,0,3.095,
Translate,0,0.075,1.5,

;trailing axle

;left wheel

CreateMeshBuilder, 
cylinder,120,0.485,0.495,0.095,
rotate,0,0,90,90,
translate,-0.715,0.34,2.8,
SetColor,56,56,56,
Translate,0,0.075,1.685,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,-0.655,0.34,2.8,
SetColor,72,72,72,
Translate,0,0.075,1.685,

;right wheel

CreateMeshBuilder, 
cylinder,120,0.495,0.48335,0.095,
rotate,0,0,90,90,
translate,0.715,0.34,2.8,
SetColor,56,56,56,
Translate,0,0.075,1.685,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,0.655,0.34,2.8,
SetColor,72,72,72,
Translate,0,0.075,1.685,

;Wheel texture parts

;Front

;leading axle

CreateMeshBuilder,
AddVertex,-0.765,0.83,6.3,
AddVertex,-0.765,0.83,5.33,
AddVertex,-0.765,-0.13,5.33,
AddVertex,-0.765,-0.13,6.3,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,

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

CreateMeshBuilder,
AddVertex,-0.64,0.89,6.371,
AddVertex,-0.64,0.89,5.281,
AddVertex,-0.64,-0.22,5.281,
AddVertex,-0.64,-0.22,6.371,
AddFace2,3,2,1,0,
Translate,0,0.075,1.5,

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

CreateMeshBuilder,
AddVertex,0.765,0.83,6.3,
AddVertex,0.765,0.83,5.33,
AddVertex,0.765,-0.13,5.33,
AddVertex,0.765,-0.13,6.3,
AddFace2,3,2,1,0,
Translate,0,0.075,1.5,

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

CreateMeshBuilder,
AddVertex,0.64,0.89,6.371,
AddVertex,0.64,0.89,5.281,
AddVertex,0.64,-0.22,5.281,
AddVertex,0.64,-0.22,6.371,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,

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

;trailing axle

CreateMeshBuilder,
AddVertex,-0.765,0.83,6.3,
AddVertex,-0.765,0.83,5.33,
AddVertex,-0.765,-0.13,5.33,
AddVertex,-0.765,-0.13,6.3,
AddFace2,0,1,2,3,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,

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

CreateMeshBuilder,
AddVertex,-0.64,0.89,6.371,
AddVertex,-0.64,0.89,5.281,
AddVertex,-0.64,-0.22,5.281,
AddVertex,-0.64,-0.22,6.371,
AddFace2,3,2,1,0,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,

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

CreateMeshBuilder,
AddVertex,0.765,0.83,6.3,
AddVertex,0.765,0.83,5.33,
AddVertex,0.765,-0.13,5.33,
AddVertex,0.765,-0.13,6.3,
AddFace2,3,2,1,0,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,

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

CreateMeshBuilder,
AddVertex,0.64,0.89,6.371,
AddVertex,0.64,0.89,5.281,
AddVertex,0.64,-0.22,5.281,
AddVertex,0.64,-0.22,6.371,
AddFace2,0,1,2,3,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,

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

;Axles

;leading

CreateMeshBuilder,
AddVertex,0.7,0.24,5.84,
AddVertex,0.7,0.45,5.84,
AddVertex,-0.7,0.45,5.84,
AddVertex,-0.7,0.24,5.84,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,

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

;trailing

CreateMeshBuilder,
AddVertex,0.7,0.24,2.78,
AddVertex,0.7,0.45,2.78,
AddVertex,-0.7,0.45,2.78,
AddVertex,-0.7,0.24,2.78,
AddFace2,0,1,2,3,
Translate,0,0.075,1.685,

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

;Yew damper bogie mount

CreateMeshBuilder, 
cylinder,20,0.1,0.1,0.3,
rotate,0,0,90,90,
translate,-1.06,0.65,6.49,
SetColor,58,49,46,

CreateMeshBuilder, 
cylinder,20,0.1,0.1,0.3,
rotate,0,0,90,90,
translate,1.06,0.65,6.49,
SetColor,58,49,46,

;Bogie rear

;Front left side

CreateMeshBuilder,
AddVertex,-1.1, -0.05, 20.55,
AddVertex,-1.1, 1.115, 20.55,
AddVertex,-1.1, 1.115, 16.65,
AddVertex,-1.1, -0.05, 16.65,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-0.9, -0.05, 20.55,
AddVertex,-0.9, 1.115, 20.55,
AddVertex,-0.9, 1.115, 16.65,
AddVertex,-0.9, -0.05, 16.65,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-1.2, -0.035, 20.55,
AddVertex,-1.2, 1.14, 20.55,
AddVertex,-1.2, 1.14, 16.65,
AddVertex,-1.2, -0.035, 16.65,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-1.15, -0.035, 20.55,
AddVertex,-1.15, 1.14, 20.55,
AddVertex,-1.15, 1.14, 16.65,
AddVertex,-1.15, -0.035, 16.65,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-1.175, -0.035, 16.65,
AddVertex,-1.175, 1.14, 16.65,
AddVertex,-1.175, 1.14, 20.55,
AddVertex,-1.175, -0.035, 20.55,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

;Front right side

CreateMeshBuilder,
AddVertex,1.1, -0.05, 20.55,
AddVertex,1.1, 1.115, 20.55,
AddVertex,1.1, 1.115, 16.65,
AddVertex,1.1, -0.05, 16.65,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.9, -0.05, 20.55,
AddVertex,0.9, 1.115, 20.55,
AddVertex,0.9, 1.115, 16.65,
AddVertex,0.9, -0.05, 16.65,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,1.2, -0.035, 20.55,
AddVertex,1.2, 1.14, 20.55,
AddVertex,1.2, 1.14, 16.65,
AddVertex,1.2, -0.035, 16.65,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,1.15, -0.035, 20.55,
AddVertex,1.15, 1.14, 20.55,
AddVertex,1.15, 1.14, 16.65,
AddVertex,1.15, -0.035, 16.65,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,1.175, -0.035, 16.65,
AddVertex,1.175, 1.14, 16.65,
AddVertex,1.175, 1.14, 20.55,
AddVertex,1.175, -0.035, 20.55,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

;bogie infill

;front

;left

CreateMeshBuilder,
AddVertex,-0.9, 0.6, 18.9,
AddVertex,-1.1, 0.6, 18.9,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,63,59,48,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.675, 20.5175,
AddVertex,-1.1, 0.675, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-0.9, 0.71, 20.5175,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,71,64,57,
Translate,0,0,-15.28,

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 20.46,
AddVertex,-1.11, 0.67, 20.46,
AddVertex,-1.11, 0.34, 20.46,
AddVertex,-0.9, 0.34, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 19.58,
AddVertex,-1.11, 0.67, 19.58,
AddVertex,-1.11, 0.34, 19.58,
AddVertex,-0.9, 0.34, 19.58,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

;right

CreateMeshBuilder,
AddVertex,0.9, 0.6, 18.9,
AddVertex,1.1, 0.6, 18.9,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,63,59,48,

CreateMeshBuilder,
AddVertex,0.9, 0.675, 20.5175,
AddVertex,1.1, 0.675, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28,
SetColor,71,64,57,

CreateMeshBuilder,
AddVertex,0.9, 0.67, 20.46,
AddVertex,1.11, 0.67, 20.46,
AddVertex,1.11, 0.34, 20.46,
AddVertex,0.9, 0.34, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.9, 0.67, 19.58,
AddVertex,1.11, 0.67, 19.58,
AddVertex,1.11, 0.34, 19.58,
AddVertex,0.9, 0.34, 19.58,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28,

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

;rear

;right

CreateMeshBuilder,
AddVertex,-0.9, 0.6, 18.9,
AddVertex,-1.1, 0.6, 18.9,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.88, 19.13,
AddVertex,-0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.894, 19.16,
AddVertex,-1.1, 0.894, 19.16,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.899, 19.17,
AddVertex,-0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.908, 19.189,
AddVertex,-1.1, 0.908, 19.189,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.908, 20.48,
AddVertex,-0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-1.1, 0.889, 20.51,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.675, 20.5175,
AddVertex,-1.1, 0.675, 20.5175,
AddVertex,-1.1, 0.71, 20.5175,
AddVertex,-0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,71,64,57,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 20.46,
AddVertex,-1.11, 0.67, 20.46,
AddVertex,-1.11, 0.34, 20.46,
AddVertex,-0.9, 0.34, 20.46,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.67, 19.58,
AddVertex,-1.11, 0.67, 19.58,
AddVertex,-1.11, 0.34, 19.58,
AddVertex,-0.9, 0.34, 19.58,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Rotate,0,180,0,180,
Translate,0,0,-15.28,

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

;left rear

CreateMeshBuilder,
AddVertex,0.9, 0.6, 18.9,
AddVertex,1.1, 0.6, 18.9,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.88, 19.13,
AddVertex,0.9, 0.88, 19.13,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.894, 19.16,
AddVertex,1.1, 0.894, 19.16,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.899, 19.17,
AddVertex,0.9, 0.899, 19.17,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.908, 19.189,
AddVertex,1.1, 0.908, 19.189,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.908, 20.48,
AddVertex,0.9, 0.908, 20.48,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,1.1, 0.889, 20.51,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,1.1, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,63,59,48,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.675, 20.5175,
AddVertex,1.1, 0.675, 20.5175,
AddVertex,1.1, 0.71, 20.5175,
AddVertex,0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,71,64,57,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.67, 20.46,
AddVertex,1.11, 0.67, 20.46,
AddVertex,1.11, 0.34, 20.46,
AddVertex,0.9, 0.34, 20.46,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,0.9, 0.67, 19.58,
AddVertex,1.11, 0.67, 19.58,
AddVertex,1.11, 0.34, 19.58,
AddVertex,0.9, 0.34, 19.58,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
Rotate,0,180,0,180,

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

;Centre infill

CreateMeshBuilder,
AddVertex,0.9, 0.71, 18,
AddVertex,-0.9, 0.71, 18,
AddVertex,-0.9, 0.71, 19.2,
AddVertex,0.9, 0.71, 19.2,
AddFace2,3,2,1,0,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,0,0,0,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 1.2, 18.6,
AddVertex,-0.9, 1.2, 18.6,
AddVertex,-0.9, 0.71, 18.6,
AddVertex,0.9, 0.71, 18.6,
AddFace2,0,1,2,3,
Translate,0,0,-24.5,
Translate,0,0,15.28,
SetColor,0,0,0,
Rotate,0,180,0,180,

; Cylinder Wheels 

;left wheel

CreateMeshBuilder, 
cylinder,120,0.485,0.495,0.095,
rotate,0,0,90,90,
translate,-0.715,0.34,2.73,
SetColor,56,56,56,
translate,0,0,3.095,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,-0.655,0.34,2.73,
SetColor,72,72,72,
translate,0,0,3.095,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

;right wheel

CreateMeshBuilder, 
cylinder,120,0.495,0.485,0.095,
rotate,0,0,90,90,
translate,0.715,0.34,2.73,
SetColor,56,56,56,
translate,0,0,3.095,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,0.655,0.34,2.73,
SetColor,72,72,72,
translate,0,0,3.095,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

;trailing axle

;left wheel

CreateMeshBuilder, 
cylinder,120,0.485,0.495,0.095,
rotate,0,0,90,90,
translate,-0.715,0.34,2.8,
SetColor,56,56,56,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,-0.655,0.34,2.8,
SetColor,72,72,72,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

;right wheel

CreateMeshBuilder, 
cylinder,120,0.495,0.48335,0.095,
rotate,0,0,90,90,
translate,0.715,0.34,2.8,
SetColor,56,56,56,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

CreateMeshBuilder, 
cylinder,120,0.545,0.545,0.025,
rotate,0,0,90,90,
translate,0.655,0.34,2.8,
SetColor,72,72,72,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

;Wheel texture parts

;Front

;leading axle

CreateMeshBuilder,
AddVertex,-0.765,0.83,6.3,
AddVertex,-0.765,0.83,5.33,
AddVertex,-0.765,-0.13,5.33,
AddVertex,-0.765,-0.13,6.3,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-0.64,0.89,6.371,
AddVertex,-0.64,0.89,5.281,
AddVertex,-0.64,-0.22,5.281,
AddVertex,-0.64,-0.22,6.371,
AddFace2,3,2,1,0,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.765,0.83,6.3,
AddVertex,0.765,0.83,5.33,
AddVertex,0.765,-0.13,5.33,
AddVertex,0.765,-0.13,6.3,
AddFace2,3,2,1,0,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.64,0.89,6.371,
AddVertex,0.64,0.89,5.281,
AddVertex,0.64,-0.22,5.281,
AddVertex,0.64,-0.22,6.371,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

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

;trailing axle

CreateMeshBuilder,
AddVertex,-0.765,0.83,6.3,
AddVertex,-0.765,0.83,5.33,
AddVertex,-0.765,-0.13,5.33,
AddVertex,-0.765,-0.13,6.3,
AddFace2,0,1,2,3,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,-0.64,0.89,6.371,
AddVertex,-0.64,0.89,5.281,
AddVertex,-0.64,-0.22,5.281,
AddVertex,-0.64,-0.22,6.371,
AddFace2,3,2,1,0,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.765,0.83,6.3,
AddVertex,0.765,0.83,5.33,
AddVertex,0.765,-0.13,5.33,
AddVertex,0.765,-0.13,6.3,
AddFace2,3,2,1,0,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

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

CreateMeshBuilder,
AddVertex,0.64,0.89,6.371,
AddVertex,0.64,0.89,5.281,
AddVertex,0.64,-0.22,5.281,
AddVertex,0.64,-0.22,6.371,
AddFace2,0,1,2,3,
Translate,0,0,-3.025,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

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

;Axles

;leading

CreateMeshBuilder,
AddVertex,0.7,0.24,5.84,
AddVertex,0.7,0.45,5.84,
AddVertex,-0.7,0.45,5.84,
AddVertex,-0.7,0.24,5.84,
AddFace2,0,1,2,3,
Translate,0,0.075,1.5,
Translate,0,0,-15.28,

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

;trailing

CreateMeshBuilder,
AddVertex,0.7,0.24,2.78,
AddVertex,0.7,0.45,2.78,
AddVertex,-0.7,0.45,2.78,
AddVertex,-0.7,0.24,2.78,
AddFace2,0,1,2,3,
Translate,0,0.075,1.685,
Translate,0,0,-15.28,

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

;Yew damper bogie mount

CreateMeshBuilder, 
cylinder,20,0.1,0.1,0.3,
rotate,0,0,90,90,
translate,-1.06,0.65,-9.97,
SetColor,58,49,46,

CreateMeshBuilder, 
cylinder,20,0.1,0.1,0.3,
rotate,0,0,90,90,
translate,1.06,0.65,-9.97,
SetColor,58,49,46,

;Guard irons

;Left

CreateMeshBuilder,
AddVertex,-0.7, 0.15, 20.7,
AddVertex,-0.7, 0.889, 20.56,
AddVertex,-1.1, 0.889, 20.56,
AddVertex,-1.1, 0.15, 20.7,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.889, 20.51,
AddVertex,-0.9, 0.889, 20.56,
AddVertex,-1.1, 0.889, 20.56,
AddVertex,-1.1, 0.889, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.1, 0.71, 20.51,
AddVertex,-1.1, 0.71, 20.6,
AddVertex,-1.1, 0.889, 20.56,
AddVertex,-1.1, 0.889, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.51,
AddVertex,-0.9, 0.71, 20.6,
AddVertex,-0.9, 0.889, 20.56,
AddVertex,-0.9, 0.889, 20.51,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.81, 0.15, 20.63,
AddVertex,-0.81, 0.15, 20.7,
AddVertex,-1.1, 0.71, 20.6,
AddVertex,-1.1, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.7, 0.15, 20.63,
AddVertex,-0.7, 0.15, 20.7,
AddVertex,-0.9, 0.71, 20.6,
AddVertex,-0.9, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.9, 0.71, 20.5175,
AddVertex,-0.7, 0.15, 20.63,
AddVertex,-0.81, 0.15, 20.63,
AddVertex,-1.1, 0.71, 20.5175,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,63,58,

CreateMeshBuilder,
AddVertex,-0.81, 0.15, 20.63,
AddVertex,-0.81, 0.15, 20.7,
AddVertex,-0.81, 0.05, 20.7,
AddVertex,-0.81, 0.05, 20.63,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,71,69,69,

CreateMeshBuilder,
AddVertex,-0.7, 0.15, 20.63,
AddVertex,-0.7, 0.15, 20.7,
AddVertex,-0.7, 0.05, 20.7,
AddVertex,-0.7, 0.05, 20.63,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,-0.81, 0.15, 20.7,
AddVertex,-0.7, 0.15, 20.7,
AddVertex,-0.7, 0.05, 20.7,
AddVertex,-0.81, 0.05, 20.7,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,71,69,69,

CreateMeshBuilder,
AddVertex,-0.81, 0.15, 20.63,
AddVertex,-0.7, 0.15, 20.63,
AddVertex,-0.7, 0.05, 20.63,
AddVertex,-0.81, 0.05, 20.63,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,71,69,69,

;Right

CreateMeshBuilder,
AddVertex,0.7, 0.15, 20.7,
AddVertex,0.7, 0.889, 20.56,
AddVertex,1.1, 0.889, 20.56,
AddVertex,1.1, 0.15, 20.7,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, 0.889, 20.51,
AddVertex,0.9, 0.889, 20.56,
AddVertex,1.1, 0.889, 20.56,
AddVertex,1.1, 0.889, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,1.1, 0.71, 20.51,
AddVertex,1.1, 0.71, 20.6,
AddVertex,1.1, 0.889, 20.56,
AddVertex,1.1, 0.889, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.51,
AddVertex,0.9, 0.71, 20.6,
AddVertex,0.9, 0.889, 20.56,
AddVertex,0.9, 0.889, 20.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.81, 0.15, 20.63,
AddVertex,0.81, 0.15, 20.7,
AddVertex,1.1, 0.71, 20.6,
AddVertex,1.1, 0.71, 20.5175,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.7, 0.15, 20.63,
AddVertex,0.7, 0.15, 20.7,
AddVertex,0.9, 0.71, 20.6,
AddVertex,0.9, 0.71, 20.5175,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.9, 0.71, 20.5175,
AddVertex,0.7, 0.15, 20.63,
AddVertex,0.81, 0.15, 20.63,
AddVertex,1.1, 0.71, 20.5175,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,63,58,

CreateMeshBuilder,
AddVertex,0.81, 0.15, 20.63,
AddVertex,0.81, 0.15, 20.7,
AddVertex,0.81, 0.05, 20.7,
AddVertex,0.81, 0.05, 20.63,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,71,69,69,

CreateMeshBuilder,
AddVertex,0.7, 0.15, 20.63,
AddVertex,0.7, 0.15, 20.7,
AddVertex,0.7, 0.05, 20.7,
AddVertex,0.7, 0.05, 20.63,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.81, 0.15, 20.7,
AddVertex,0.7, 0.15, 20.7,
AddVertex,0.7, 0.05, 20.7,
AddVertex,0.81, 0.05, 20.7,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,71,69,69,

CreateMeshBuilder,
AddVertex,0.81, 0.15, 20.63,
AddVertex,0.7, 0.15, 20.63,
AddVertex,0.7, 0.05, 20.63,
AddVertex,0.81, 0.05, 20.63,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,71,69,69,

;Chassis infill

;tank/batt box/switch boxs

CreateMeshBuilder,
AddVertex,0.745, 0.21, 16.285,
AddVertex,-0.745, 0.21, 16.285,
AddVertex,-0.935, 1.15, 16.285,
AddVertex,0.935, 1.15, 16.285,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.745, 0.21, 14.97,
AddVertex,-0.745, 0.21, 14.97,
AddVertex,-0.935, 1.15, 14.97,
AddVertex,0.935, 1.15, 14.97,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.745, 0.21, 14.825,
AddVertex,-0.745, 0.21, 14.825,
AddVertex,-0.935, 1.15, 14.825,
AddVertex,0.935, 1.15, 14.825,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.745, 0.21, 13.64,
AddVertex,-0.745, 0.21, 13.64,
AddVertex,-0.935, 1.15, 13.64,
AddVertex,0.935, 1.15, 13.64,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,14,27,29,

CreateMeshBuilder,
AddVertex,-0.4, 1.1, 13.595,
AddVertex,-0.4, 0.28, 13.595,
AddVertex,-0.93, 0.28, 13.595,
AddVertex,-0.93, 1.1, 13.595,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.93, 1.1, 13.595,
AddVertex,0.93, 0.28, 13.595,
AddVertex,0.4, 0.28, 13.595,
AddVertex,0.4, 1.1, 13.595,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.4, 1.1, 13.165,
AddVertex,-0.4, 0.28, 13.165,
AddVertex,-0.93, 0.28, 13.165,
AddVertex,-0.93, 1.1, 13.165,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.4, 1.1, 13.165,
AddVertex,0.4, 0.28, 13.165,
AddVertex,0.93, 0.28, 13.165,
AddVertex,0.93, 1.1, 13.165,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.4, 1.1, 13.165,
AddVertex,-0.4, 0.28, 13.165,
AddVertex,-0.4, 0.28, 13.595,
AddVertex,-0.4, 1.1, 13.595,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor, 0,0,0,

CreateMeshBuilder,
AddVertex,0.4, 1.1, 13.165,
AddVertex,0.4, 0.28, 13.165,
AddVertex,0.4, 0.28, 13.595,
AddVertex,0.4, 1.1, 13.595,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor, 0,0,0,

;left side

CreateMeshBuilder,
AddVertex,-0.8, 0.75, 12.94,
AddVertex,-0.93, 0.75, 12.94,
AddVertex,-0.93, 1.025, 12.94,
AddVertex,-0.8, 1.025, 12.94,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,62,58,51,

CreateMeshBuilder,
AddVertex,-0.8, 0.75, 12.658,
AddVertex,-0.93, 0.75, 12.658,
AddVertex,-0.93, 1.025, 12.658,
AddVertex,-0.8, 1.025, 12.658,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,62,58,51,

CreateMeshBuilder,
AddVertex,-0.8, 1.025, 12.658,
AddVertex,-0.93, 1.025, 12.658,
AddVertex,-0.93, 1.025, 12.94,
AddVertex,-0.8, 1.025, 12.94,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,62,58,51,

CreateMeshBuilder,
AddVertex,-0.8, 0.75, 12.658,
AddVertex,-0.93, 0.75, 12.658,
AddVertex,-0.93, 0.75, 12.94,
AddVertex,-0.8, 0.75, 12.94,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,62,58,51,

CreateMeshBuilder,
AddVertex,-0.9, 0.75, 12.658,
AddVertex,-0.9, 1.11, 12.658,
AddVertex,-0.9, 1.11, 12.94,
AddVertex,-0.9, 0.75, 12.94,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,25,25,25,

CreateMeshBuilder,
AddVertex,-0.87, 0.9, 11.81,
AddVertex,-0.93, 0.9, 11.81,
AddVertex,-0.93, 1.029, 11.81,
AddVertex,-0.87, 1.029, 11.81,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,46,40,

CreateMeshBuilder,
AddVertex,-0.87, 0.9, 11.425,
AddVertex,-0.93, 0.9, 11.425,
AddVertex,-0.93, 1.029, 11.425,
AddVertex,-0.87, 1.029, 11.425,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,46,40,

CreateMeshBuilder,
AddVertex,-0.87, 1.029, 11.81,
AddVertex,-0.93, 1.029, 11.81,
AddVertex,-0.93, 1.029, 11.425,
AddVertex,-0.87, 1.029, 11.425,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,46,40,

;LF

CreateMeshBuilder,
AddVertex,-0.8, 0.88, 10.97,
AddVertex,-0.93, 0.88, 10.97,
AddVertex,-0.93, 1.06, 10.97,
AddVertex,-0.8, 1.06, 10.97,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.8, 1.06, 10.96,
AddVertex,-0.93, 1.06, 10.96,
AddVertex,-0.93, 1.06, 10.97,
AddVertex,-0.8, 1.06, 10.97,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.8, 1.06, 10.963,
AddVertex,-0.93, 1.06, 10.963,
AddVertex,-0.93, 1.15, 10.963,
AddVertex,-0.8, 1.15, 10.963,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.82, 0.81, 10.825,
AddVertex,-0.93, 0.81, 10.825,
AddVertex,-0.93, 0.88, 10.825,
AddVertex,-0.82, 0.88, 10.825,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,72,64,47,

;LR

CreateMeshBuilder,
AddVertex,0.8, 0.88, 10.97,
AddVertex,0.93, 0.88, 10.97,
AddVertex,0.93, 1.06, 10.97,
AddVertex,0.8, 1.06, 10.97,
AddFace2,3,2,1,0,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,0.8, 1.06, 10.96,
AddVertex,0.93, 1.06, 10.96,
AddVertex,0.93, 1.06, 10.97,
AddVertex,0.8, 1.06, 10.97,
AddFace2,0,1,2,3,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,0.8, 1.06, 10.963,
AddVertex,0.93, 1.06, 10.963,
AddVertex,0.93, 1.15, 10.963,
AddVertex,0.8, 1.15, 10.963,
AddFace2,3,2,1,0,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,0.82, 0.81, 10.825,
AddVertex,0.93, 0.81, 10.825,
AddVertex,0.93, 0.88, 10.825,
AddVertex,0.82, 0.88, 10.825,
AddFace2,3,2,1,0,
Translate,0,0,-7.215,
Rotate,0,180,0,180,
SetColor,72,64,47,

;RF

CreateMeshBuilder,
AddVertex,0.8, 0.88, 10.97,
AddVertex,0.93, 0.88, 10.97,
AddVertex,0.93, 1.06, 10.97,
AddVertex,0.8, 1.06, 10.97,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.8, 1.06, 10.96,
AddVertex,0.93, 1.06, 10.96,
AddVertex,0.93, 1.06, 10.97,
AddVertex,0.8, 1.06, 10.97,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.8, 1.06, 10.963,
AddVertex,0.93, 1.06, 10.963,
AddVertex,0.93, 1.15, 10.963,
AddVertex,0.8, 1.15, 10.963,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.82, 0.81, 10.825,
AddVertex,0.93, 0.81, 10.825,
AddVertex,0.93, 0.88, 10.825,
AddVertex,0.82, 0.88, 10.825,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,72,64,47,

;LR

CreateMeshBuilder,
AddVertex,-0.8, 0.88, 10.97,
AddVertex,-0.93, 0.88, 10.97,
AddVertex,-0.93, 1.06, 10.97,
AddVertex,-0.8, 1.06, 10.97,
AddFace2,0,1,2,3,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-0.8, 1.06, 10.96,
AddVertex,-0.93, 1.06, 10.96,
AddVertex,-0.93, 1.06, 10.97,
AddVertex,-0.8, 1.06, 10.97,
AddFace2,0,1,2,3,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-0.8, 1.06, 10.963,
AddVertex,-0.93, 1.06, 10.963,
AddVertex,-0.93, 1.15, 10.963,
AddVertex,-0.8, 1.15, 10.963,
AddFace2,0,1,2,3,
Translate,0,0,-7.215,
Rotate,0,180,0,180,

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

CreateMeshBuilder,
AddVertex,-0.82, 0.81, 10.825,
AddVertex,-0.93, 0.81, 10.825,
AddVertex,-0.93, 0.88, 10.825,
AddVertex,-0.82, 0.88, 10.825,
AddFace2,3,2,1,0,
Translate,0,0,-7.215,
Rotate,0,180,0,180,
SetColor,72,64,47,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.58,
AddVertex,-0.93, 1, 8.58,
AddVertex,-0.9, 1, 8.58,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 104,0,0,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.42,
AddVertex,-0.93, 0.85, 8.42,
AddVertex,-0.93, 1, 8.42,
AddVertex,-0.9, 1, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 104,0,0,

CreateMeshBuilder,
AddVertex,-0.9, 1, 8.58,
AddVertex,-0.93, 1, 8.58,
AddVertex,-0.93, 1, 8.42,
AddVertex,-0.9, 1, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 104,0,0,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.42,
AddVertex,-0.9, 0.85, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 104,0,0,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.9, 1.15, 8.58,
AddVertex,-0.9, 1.15, 8.42,
AddVertex,-0.9, 0.85, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 30,30,30,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.58,
AddVertex,-0.93, 1, 8.58,
AddVertex,-0.9, 1, 8.58,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 30,30,30,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.42,
AddVertex,-0.93, 0.85, 8.42,
AddVertex,-0.93, 1, 8.42,
AddVertex,-0.9, 1, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 30,30,30,

CreateMeshBuilder,
AddVertex,-0.9, 1, 8.58,
AddVertex,-0.93, 1, 8.58,
AddVertex,-0.93, 1, 8.42,
AddVertex,-0.9, 1, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 30,30,30,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.58,
AddVertex,-0.93, 0.85, 8.42,
AddVertex,-0.9, 0.85, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 30,30,30,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.9, 1.15, 8.58,
AddVertex,-0.9, 1.15, 8.42,
AddVertex,-0.9, 0.85, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 25,25,25,

CreateMeshBuilder,
AddVertex,-0.9, 0.98, 7.42,
AddVertex,-0.93, 0.98, 7.42,
AddVertex,-0.93, 1.15, 7.52,
AddVertex,-0.9, 1.15, 7.52,
AddFace2,0,1,2,3,
Translate,0,0,-12.78,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.98, 7.22,
AddVertex,-0.93, 0.98, 7.22,
AddVertex,-0.93, 1.15, 7.13,
AddVertex,-0.9, 1.15, 7.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.98, 7.42,
AddVertex,-0.93, 0.98, 7.42,
AddVertex,-0.93, 1.15, 7.52,
AddVertex,-0.9, 1.15, 7.52,
AddFace2,0,1,2,3,
Translate,0,0,-12.78,
Translate,0,0,-0.79,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.98, 7.22,
AddVertex,-0.93, 0.98, 7.22,
AddVertex,-0.93, 1.15, 7.13,
AddVertex,-0.9, 1.15, 7.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-0.79,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.85, 8.58,
AddVertex,-0.9, 1.15, 8.58,
AddVertex,-0.9, 1.15, 8.42,
AddVertex,-0.9, 0.85, 8.42,
AddFace2,0,1,2,3,
Translate,0,0,-9.99,
SetColor, 25,25,25,

;Right hand chassis infill

CreateMeshBuilder,
AddVertex,0.9, 0.98, 7.42,
AddVertex,0.93, 0.98, 7.42,
AddVertex,0.93, 1.15, 7.52,
AddVertex,0.9, 1.15, 7.52,
AddFace2,0,1,2,3,
Translate,0,0,-12.78,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,0.9, 0.98, 7.22,
AddVertex,0.93, 0.98, 7.22,
AddVertex,0.93, 1.15, 7.13,
AddVertex,0.9, 1.15, 7.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,0.9, 0.98, 7.42,
AddVertex,0.93, 0.98, 7.42,
AddVertex,0.93, 1.15, 7.52,
AddVertex,0.9, 1.15, 7.52,
AddFace2,0,1,2,3,
Translate,0,0,-12.78,
Translate,0,0,-0.79,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,0.9, 0.98, 7.22,
AddVertex,0.93, 0.98, 7.22,
AddVertex,0.93, 1.15, 7.13,
AddVertex,0.9, 1.15, 7.13,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-0.79,
SetColor, 46,44,37,

CreateMeshBuilder,
AddVertex,0.84, 1.15, 13.035,
AddVertex,0.84, 0.24, 13.035,
AddVertex,0.2, 0.24, 13.035,
AddVertex,0.2, 1.15, 13.035,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.84, 1.15, 12.135,
AddVertex,0.84, 0.24, 12.135,
AddVertex,0.2, 0.24, 12.135,
AddVertex,0.2, 1.15, 12.135,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.2, 1.15, 13.035,
AddVertex,0.2, 0.24, 13.035,
AddVertex,0.2, 0.24, 12.135,
AddVertex,0.2, 1.15, 12.135,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.2, 0.24, 13.035,
AddVertex,0.84, 0.24, 13.035,
AddVertex,0.84, 0.24, 12.135,
AddVertex,0.2, 0.24, 12.135,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 11.509,
AddVertex,0.93, 0.913, 11.509,
AddVertex,0.88, 0.913, 11.509,
AddVertex,0.88, 1.15, 11.509,
AddFace2,3,2,1,0,
Translate,0,0,-12.4,
SetColor,52,45,32,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 11.51,
AddVertex,0.93, 0.913, 11.51,
AddVertex,0.88, 0.913, 11.51,
AddVertex,0.88, 1.15, 11.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,52,45,32,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 11.93,
AddVertex,0.93, 0.921, 11.93,
AddVertex,0.88, 0.921, 11.93,
AddVertex,0.88, 1.15, 11.93,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,52,45,32,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 12.13,
AddVertex,0.93, 0.921, 12.13,
AddVertex,0.88, 0.921, 12.13,
AddVertex,0.88, 1.15, 12.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,52,45,32,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 14.23,
AddVertex,0.93, 0.927, 14.23,
AddVertex,0.9, 0.927, 14.23,
AddVertex,0.9, 1.15, 14.23,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,10,10,10,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 14.37,
AddVertex,0.93, 0.927, 14.37,
AddVertex,0.9, 0.927, 14.37,
AddVertex,0.9, 1.15, 14.37,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,10,10,10,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 7.75,
AddVertex,0.93, 0.928, 7.75,
AddVertex,0.9, 0.928, 7.75,
AddVertex,0.9, 1.15, 7.75,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,46,38,33,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 7.635,
AddVertex,0.93, 0.928, 7.635,
AddVertex,0.9, 0.928, 7.635,
AddVertex,0.9, 1.15, 7.635,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,46,38,33,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 6.095,
AddVertex,0.93, 0.928, 6.095,
AddVertex,0.8, 0.928, 6.095,
AddVertex,0.8, 1.15, 6.095,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,46,38,33,

CreateMeshBuilder,
AddVertex,0.93, 1.15, 6.275,
AddVertex,0.93, 0.928, 6.275,
AddVertex,0.8, 0.928, 6.275,
AddVertex,0.8, 1.15, 6.275,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,46,38,33,

CreateMeshBuilder,
AddVertex,0.93, 0.777, 6.3325,
AddVertex,0.93, 0.4245, 6.3325,
AddVertex,0.7, 0.4245, 6.3325,
AddVertex,0.7, 0.777, 6.3325,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.93, 0.777, 6.16,
AddVertex,0.93, 0.4245, 6.16,
AddVertex,0.7, 0.4245, 6.16,
AddVertex,0.7, 0.777, 6.16,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.93, 0.777, 6.16,
AddVertex,0.93, 0.777, 6.3325,
AddVertex,0.7, 0.777, 6.3325,
AddVertex,0.7, 0.777, 6.16,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.7, 0.4245, 5.775,
AddVertex,0.7, 0.777, 5.775,
AddVertex,0.7, 0.777, 6.365,
AddVertex,0.7, 0.4245, 6.365,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.7, 0.777, 6.365,
AddVertex,0.7, 0.4245, 6.365,
AddVertex,0.4, 0.4245, 6.365,
AddVertex,0.4, 0.777, 6.365,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,56,49,51,

CreateMeshBuilder,
AddVertex,0.7, 0.777, 5.775,
AddVertex,0.7, 0.4245, 5.775,
AddVertex,0.4, 0.4245, 5.775,
AddVertex,0.4, 0.777, 5.775,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,56,49,51,

CreateMeshBuilder,
AddVertex,0.7, 0.777, 5.775,
AddVertex,0.7, 0.777, 6.365,
AddVertex,0.4, 0.777, 6.365,
AddVertex,0.4, 0.777, 5.775,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,56,49,51,

CreateMeshBuilder,
AddVertex,0.4, 0.4245, 5.775,
AddVertex,0.4, 0.4245, 6.365,
AddVertex,0.4, 1.15, 6.365,
AddVertex,0.4, 1.15, 5.775,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.3, 0.3, 5.7,
AddVertex,0.3, 0.3, 7.4,
AddVertex,0.3, 1.15, 7.4,
AddVertex,0.3, 1.15, 5.7,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.3, 0.3, 5.7,
AddVertex,-0.3, 0.3, 7.4,
AddVertex,-0.3, 1.15, 7.4,
AddVertex,-0.3, 1.15, 5.7,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0, 0.6, 7,
AddVertex,0, 0.4, 7,
AddVertex,0, 0.4, 4,
AddVertex,0, 0.6, 4,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.8375, 1.09, 7.51,
AddVertex,0.8375, 0.27, 7.51,
AddVertex,0.1, 0.27, 7.51,
AddVertex,0.1, 1.09, 7.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.8375, 1.09, 8.75,
AddVertex,0.8375, 0.27, 8.75,
AddVertex,0.1, 0.27, 8.75,
AddVertex,0.1, 1.09, 8.75,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.8375, 1.09, 7.44,
AddVertex,0.8375, 0.33, 7.44,
AddVertex,0.1, 0.33, 7.44,
AddVertex,0.1, 1.09, 7.44,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,20,20,20,

CreateMeshBuilder,
AddVertex,0.1, 1.09, 8.75,
AddVertex,0.1, 0.27, 8.75,
AddVertex,0.1, 0.27, 7.51,
AddVertex,0.1, 1.09, 7.51,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,0,0,0,

CreateMeshBuilder,
AddVertex,0.8375, 1.09, 7.13,
AddVertex,0.8375, 0.73, 7.13,
AddVertex,0.1, 0.73, 7.13,
AddVertex,0.1, 1.09, 7.13,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,35,31,30,

CreateMeshBuilder,
AddVertex,0.8375, 1.09, 6.64,
AddVertex,0.8375, 0.73, 6.64,
AddVertex,0.1, 0.73, 6.64,
AddVertex,0.1, 1.09, 6.64,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,35,31,30,

CreateMeshBuilder,
AddVertex,0.8375, 0.73, 6.64,
AddVertex,0.8375, 0.73, 7.13,
AddVertex,0.1, 0.73, 7.13,
AddVertex,0.1, 0.73, 6.64,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,35,31,30,

;Sandpipe ass

CreateMeshBuilder,
AddVertex,1.02, 0.2, 20,
AddVertex,1.02, 0.55, 20,
AddVertex,1.02, 0.55, 20.4,
AddVertex,1.02, 0.2, 20.4,
AddFace2,3,2,1,0,
Translate,0,-0.08,-12.45,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,-1.02, 0.2, 20,
AddVertex,-1.02, 0.55, 20,
AddVertex,-1.02, 0.55, 20.4,
AddVertex,-1.02, 0.2, 20.4,
AddFace2,3,2,1,0,
Translate,0,-0.08,-12.45,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,-1.02, 0.2, 20.4,
AddVertex,-1.02, 0.55, 20.4,
AddVertex,-0.6, 0.55, 21,
AddVertex,-0.6, 0.2, 21,
AddFace2,3,2,1,0,
Translate,0,0,-12.45,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,-1.02, 1.1, 20.4,
AddVertex,-1.02, 0.55, 20.4,
AddVertex,-0.6, 0.55, 21,
AddVertex,-0.6, 1.1, 21,
AddFace2,3,2,1,0,
Translate,0,0,-12.45,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,1.02, 0.2, 20.4,
AddVertex,1.02, 0.55, 20.4,
AddVertex,0.6, 0.55, 21,
AddVertex,0.6, 0.2, 21,
AddFace2,0,1,2,3,
Translate,0,0,-12.45,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,1.02, 1.1, 20.4,
AddVertex,1.02, 0.55, 20.4,
AddVertex,0.6, 0.55, 21,
AddVertex,0.6, 1.1, 21,
AddFace2,0,1,2,3,
Translate,0,0,-12.45,
Translate,0,0,-15.28

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

;chassis cylinders

CreateMeshBuilder, 
cylinder,12,0.19,0.19,2.4,
rotate,0,0,0,90,
translate,-0.82,0.5,-4.95,

LoadTexture,silencer.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 0, 1,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,
SetTextureCoordinates, 4, 0, 0,
SetTextureCoordinates, 5, 0, 1,
SetTextureCoordinates, 6, 1, 0,
SetTextureCoordinates, 7, 1, 1,
SetTextureCoordinates, 8, 0, 0,
SetTextureCoordinates, 9, 0, 1,
SetTextureCoordinates, 10, 1, 0,
SetTextureCoordinates, 11, 1, 1,
SetTextureCoordinates, 12, 0, 0,
SetTextureCoordinates, 13, 0, 1,
SetTextureCoordinates, 14, 1, 0,
SetTextureCoordinates, 15, 1, 1,
SetTextureCoordinates, 16, 0, 0,
SetTextureCoordinates, 17, 0, 1,
SetTextureCoordinates, 18, 1, 0,
SetTextureCoordinates, 19, 1, 1,
SetTextureCoordinates, 20, 0, 0,
SetTextureCoordinates, 21, 0, 1,
SetTextureCoordinates, 22, 1, 0,
SetTextureCoordinates, 23, 1, 1,

CreateMeshBuilder,
AddVertex,-0.84, 0.2, 20.1,
AddVertex,-0.84, 0.55, 20.1,
AddVertex,-0.84, 0.55, 21,
AddVertex,-0.84, 0.2, 21,
AddFace2,3,2,1,0,
Translate,0,0.09,-24,

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

CreateMeshBuilder,
AddVertex,-0.84, 0.2, 20.1,
AddVertex,-0.54, 0.2, 20.1,
AddVertex,-0.54, 0.2, 21,
AddVertex,-0.84, 0.2, 21,
AddFace2,3,2,1,0,
Translate,0,0.09,-24,

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

CreateMeshBuilder,
AddVertex,-0.54, 0.2, 20.1,
AddVertex,-0.54, 0.3, 20.1,
AddVertex,-0.54, 0.3, 21,
AddVertex,-0.54, 0.2, 21,
AddFace2,3,2,1,0,
Translate,0,0.09,-24,

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

CreateMeshBuilder,
AddVertex,-0.54, 0.27, 20.825,
AddVertex,-0.54, 1.1, 20.825,
AddVertex,-0.839, 1.1, 20.825,
AddVertex,-0.839, 0.27, 20.825,
AddFace2,3,2,1,0,
Translate,0,0.09,-24,
SetColor,7,7,5,

CreateMeshBuilder,
AddVertex,-0.4, -0.15, 18.5,
AddVertex,-0.4, 1, 18.5,
AddVertex,-0.82, 1, 20,
AddVertex,-0.82, -0.15, 20,
AddFace2,3,2,1,0,
Translate,0,0.05,-26.14,

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

CreateMeshBuilder, 
cylinder,20,0.175,0.175,1.82,
rotate,0,0,90,90,
translate,0,0.75,3.774,
SetColor,43,37,26,

CreateMeshBuilder, 
cylinder,12,0.2,0.2,0.77,
rotate,0,0,0,90,
translate,-0.92,0.876,-6.95,

LoadTexture,air_tank.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 0, 1,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,
SetTextureCoordinates, 4, 0, 0,
SetTextureCoordinates, 5, 0, 1,
SetTextureCoordinates, 6, 1, 0,
SetTextureCoordinates, 7, 1, 1,
SetTextureCoordinates, 8, 0, 0,
SetTextureCoordinates, 9, 0, 1,
SetTextureCoordinates, 10, 1, 0,
SetTextureCoordinates, 11, 1, 1,
SetTextureCoordinates, 12, 0, 0,
SetTextureCoordinates, 13, 0, 1,
SetTextureCoordinates, 14, 1, 0,
SetTextureCoordinates, 15, 1, 1,
SetTextureCoordinates, 16, 0, 0,
SetTextureCoordinates, 17, 0, 1,
SetTextureCoordinates, 18, 1, 0,
SetTextureCoordinates, 19, 1, 1,
SetTextureCoordinates, 20, 0, 0,
SetTextureCoordinates, 21, 0, 1,
SetTextureCoordinates, 22, 1, 0,
SetTextureCoordinates, 23, 1, 1,

CreateMeshBuilder, 
cylinder,12,0.2,0.2,0.70,
rotate,0,0,0,90,
translate,0.92,0.876,-6.98,

LoadTexture,air_tank.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 0, 1,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,
SetTextureCoordinates, 4, 0, 0,
SetTextureCoordinates, 5, 0, 1,
SetTextureCoordinates, 6, 1, 0,
SetTextureCoordinates, 7, 1, 1,
SetTextureCoordinates, 8, 0, 0,
SetTextureCoordinates, 9, 0, 1,
SetTextureCoordinates, 10, 1, 0,
SetTextureCoordinates, 11, 1, 1,
SetTextureCoordinates, 12, 0, 0,
SetTextureCoordinates, 13, 0, 1,
SetTextureCoordinates, 14, 1, 0,
SetTextureCoordinates, 15, 1, 1,
SetTextureCoordinates, 16, 0, 0,
SetTextureCoordinates, 17, 0, 1,
SetTextureCoordinates, 18, 1, 0,
SetTextureCoordinates, 19, 1, 1,
SetTextureCoordinates, 20, 0, 0,
SetTextureCoordinates, 21, 0, 1,
SetTextureCoordinates, 22, 1, 0,
SetTextureCoordinates, 23, 1, 1,

CreateMeshBuilder, 
cylinder,12,0.22,0.22,0.7,
rotate,0,0,0,90,
translate,-0.82,0.55,-1.4,

LoadTexture,air_tank2.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 0, 1,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,
SetTextureCoordinates, 4, 0, 0,
SetTextureCoordinates, 5, 0, 1,
SetTextureCoordinates, 6, 1, 0,
SetTextureCoordinates, 7, 1, 1,
SetTextureCoordinates, 8, 0, 0,
SetTextureCoordinates, 9, 0, 1,
SetTextureCoordinates, 10, 1, 0,
SetTextureCoordinates, 11, 1, 1,
SetTextureCoordinates, 12, 0, 0,
SetTextureCoordinates, 13, 0, 1,
SetTextureCoordinates, 14, 1, 0,
SetTextureCoordinates, 15, 1, 1,
SetTextureCoordinates, 16, 0, 0,
SetTextureCoordinates, 17, 0, 1,
SetTextureCoordinates, 18, 1, 0,
SetTextureCoordinates, 19, 1, 1,
SetTextureCoordinates, 20, 0, 0,
SetTextureCoordinates, 21, 0, 1,
SetTextureCoordinates, 22, 1, 0,
SetTextureCoordinates, 23, 1, 1,

;Exhaust

CreateMeshBuilder,
AddVertex,-1.15,1.2,0.251,
AddVertex,-1.15,3.2,0.251,
AddVertex,-1.15,3.2,0,
AddVertex,-1.15,1.2,0,
AddFace2,3,2,1,0,
Translate,0.1,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1,1.2,0.251,
AddVertex,-1,3.2,0.251,
AddVertex,-1.15,3.2,0,
AddVertex,-1.15,1.2,0,
AddFace2,3,2,1,0,
Translate,0.1,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-1.15,3.198,0.25,
AddVertex,-0.8,3.599,0.25,
AddVertex,-0.8,3.599,0.074,
AddVertex,-1.15,3.198,0.074,
AddFace2,0,1,2,3,
Translate,0.1,0,-12.726,

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

CreateMeshBuilder,
AddVertex,-1.15,3.199,0.25,
AddVertex,-0.8,3.6,0.25,
AddVertex,-0.8,3.6,0.074,
AddVertex,-1.15,3.199,0.074,
AddFace2,0,1,2,3,
Translate,0.1,0,-12.726,

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

CreateMeshBuilder,
AddVertex,-1,3.2,0.25,
AddVertex,-0.8,3.42,0.25,
AddVertex,-0.8,3.6,0.074,
AddVertex,-1.15,3.2,0.074,
AddFace2,0,1,2,3,
Translate,0.1,0,-12.726,

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

CreateMeshBuilder,
AddVertex,-1.15,0.75,0.1,
AddVertex,-1.15,1.2,0.1,
AddVertex,-0.8,1.2,0.5,
AddVertex,-0.8,0.75,0.5,
AddFace2,3,2,1,0,
Translate,0.1,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.2,0.75,1.4,
AddVertex,-0.2,1.2,1.4,
AddVertex,-0.8,1.2,0.5,
AddVertex,-0.8,0.75,0.5,
AddFace2,3,2,1,0,
Translate,0.1,0,-12.7,

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

;Inside bogie infill

;front bogie

;left

CreateMeshBuilder,
AddVertex,-1.05, 0.325, 17.6,
AddVertex,-1.1, 0.325, 17.6,
AddVertex,-1.1, 0.325, 19.585,
AddVertex,-1.05, 0.325, 19.585,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,-0.9, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.35, 18.9,
AddVertex,-1.1, 0.35, 18.9,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,0.9, 0.35, 18.9,
AddVertex,1.1, 0.35, 18.9,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

;right

CreateMeshBuilder,
AddVertex,1.05, 0.325, 17.6,
AddVertex,1.1, 0.325, 17.6,
AddVertex,1.1, 0.325, 19.585,
AddVertex,1.05, 0.325, 19.585,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,

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

CreateMeshBuilder,
AddVertex,0.9, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,0.9, 0.35, 18.9,
AddVertex,1.1, 0.35, 18.9,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,

CreateMeshBuilder,
AddVertex,-0.9, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

CreateMeshBuilder,
AddVertex,-0.9, 0.35, 18.9,
AddVertex,-1.1, 0.35, 18.9,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,

;Rear bogie

;left

CreateMeshBuilder,
AddVertex,-1.05, 0.325, 17.6,
AddVertex,-1.1, 0.325, 17.6,
AddVertex,-1.1, 0.325, 19.585,
AddVertex,-1.05, 0.325, 19.585,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,-0.9, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.35, 18.9,
AddVertex,-1.1, 0.35, 18.9,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.35, 18.9,
AddVertex,1.1, 0.35, 18.9,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

;right

CreateMeshBuilder,
AddVertex,1.05, 0.325, 17.6,
AddVertex,1.1, 0.325, 17.6,
AddVertex,1.1, 0.325, 19.585,
AddVertex,1.05, 0.325, 19.585,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
Translate,0,0,-15.28

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

CreateMeshBuilder,
AddVertex,0.9, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.575,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.664, 19.449,
AddVertex,1.1, 0.664, 19.449,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.64, 19.399,
AddVertex,0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.47, 19.229,
AddVertex,1.1, 0.47, 19.229,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.44, 19.19,
AddVertex,0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.41, 19.15,
AddVertex,1.1, 0.41, 19.15,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,0.9, 0.35, 18.9,
AddVertex,1.1, 0.35, 18.9,
AddVertex,1.1, 0.38, 19.08,
AddVertex,0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-12.7,
SetColor,48,45,37,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.575,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,0.9, 0.681, 19.5,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.681, 19.5,
AddVertex,-0.9, 0.681, 19.5,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.664, 19.449,
AddVertex,-1.1, 0.664, 19.449,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.64, 19.399,
AddVertex,-0.9, 0.64, 19.399,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.47, 19.229,
AddVertex,-1.1, 0.47, 19.229,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.44, 19.19,
AddVertex,-0.9, 0.44, 19.19,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.41, 19.15,
AddVertex,-1.1, 0.41, 19.15,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,0,1,2,3,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.28

CreateMeshBuilder,
AddVertex,-0.9, 0.35, 18.9,
AddVertex,-1.1, 0.35, 18.9,
AddVertex,-1.1, 0.38, 19.08,
AddVertex,-0.9, 0.38, 19.08,
AddFace2,3,2,1,0,
Translate,0,0,-24.505,
SetColor,48,45,37,
Rotate,0,180,0,180,
Translate,0,0,-15.2,

;Hoses

CreateMeshBuilder,
AddVertex,0, 0.4, 23.5,
AddVertex,0, 0.975, 23.5,
AddVertex,0, 0.975, 24.75,
AddVertex,0, 0.4, 24.75,
AddFace2,0,1,2,3,
Translate,-0.03,0.09,-15.5,

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

;roof/side infill

CreateMeshBuilder,
AddVertex,-1.1, 3.2, 21.99,
AddVertex,-1, 3.42, 21.99,
AddVertex,-1, 3.43, 0.25,
AddVertex,-1.1, 3.2, 0.25,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,109,109,109,

CreateMeshBuilder,
AddVertex,1.1, 3.2, 21.99,
AddVertex,1, 3.42, 21.99,
AddVertex,1, 3.43, 0.25,
AddVertex,1.1, 3.2, 0.25,
Translate,0,0,-12.7,
AddFace2,3,2,1,0,
SetColor,109,109,109,




translateAll,0,0.081,-2.6,

