;Converted from B3D by BVE FILE CONVERTER
 
;Object and textures (copyright) Alan Hudnott June 2010
;feel free to use this object in bve routes. 
;Delete the faces not required.
;If you require the full model, contact me via bve terminus personal message
;Please credit Alan Hudnott.


;chassis right side 
CreateMeshBuilder,
AddVertex, -0.71,1.524 ,13.1 ,
AddVertex, -0.71,1.524 ,0,
AddVertex, -0.71,0,0,
AddVertex, -0.71,0,13.1 ,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, cl20chassis.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;outer frame right side 
CreateMeshBuilder,
AddVertex, -1.20.61,1.524 ,13.1 ,
AddVertex, -1.20,1.524 ,0,
AddVertex, -1.04,0.7,0,
AddVertex, -1.04,0.7,13.1,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, cl20outerchassis.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;right bogie 1
CreateMeshBuilder,
AddVertex, -0.9,1.2 ,5.05 ,
AddVertex, -0.9,1.2 ,0.7,
AddVertex, -0.9,0.2,0.7,
AddVertex, -0.9,0.2,5.05,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, bogie.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;right bogie 2
CreateMeshBuilder,
AddVertex, -0.9,1.2 ,12.4,
AddVertex, -0.9,1.2 ,8.2,
AddVertex, -0.9,0.2,8.2,
AddVertex, -0.9,0.2,12.4,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, bogie.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,


;Chassis left side
CreateMeshBuilder,
AddVertex, 0.71,1.524 ,13.1 ,
AddVertex, 0.71,1.524 ,0,
AddVertex, 0.71,0,0,
AddVertex, 0.71,0,13.1 ,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, cl20chassis1.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;outer frame left side 
CreateMeshBuilder,
AddVertex, 1.25,1.524 ,13.1,
AddVertex, 1.25,1.524 ,0,
AddVertex, 1.04,0.7,0,
AddVertex, 1.04,0.7,13.1,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, cl20outerchassis1.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;left bogie 1
CreateMeshBuilder,
AddVertex, 0.9,1.2 ,5.05 ,
AddVertex, 0.9,1.2 ,0.7,
AddVertex, 0.9,0.2,0.7,
AddVertex, 0.9,0.2,5.05,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, bogie.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;left bogie 2
CreateMeshBuilder,
AddVertex, 0.9,1.2 ,8.2 ,
AddVertex, 0.9,1.2 ,12.4,
AddVertex, 0.9,0.2,12.4,
AddVertex, 0.9,0.2,8.2,
AddFace2,  0,1,2,3,
GenerateNormals,
LoadTexture, bogie.png,
SetTextureCoordinates, 0, 0, 0,
SetTextureCoordinates, 1, 1, 0,
SetTextureCoordinates, 2, 1, 1,
SetTextureCoordinates, 3, 0, 1,
SetDecalTransparentColor,  0, 0, 255,

;front buffer beam
CreateMeshBuilder,
AddVertex, -1.282,1.524 ,-0.01 ,
AddVertex, 1.282,1.524 ,-0.01,
AddVertex, 1.282,0.93,-0.01,
AddVertex, -1.282,0.93,-0.01,
AddFace, 0,1,2,3,
GenerateNormals,
LoadTexture, cl20chassisfront.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,



;front bufferbeam back
CreateMeshBuilder,
AddVertex, -1.282,1.524 ,0.01 ,
AddVertex, 1.282,1.524 ,0.01,
AddVertex, 1.282,0.93,0.011,
AddVertex, -1.282,0.93,0.0,
AddFace, 3,2,1,0,
GenerateNormals,
LoadTexture, cl20beamback.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,


;rear buffer beam
CreateMeshBuilder,
AddVertex, -1.282,1.524 ,13.1,
AddVertex, 1.282,1.524 ,13.1 ,
AddVertex, 1.282,0.93,13.1,
AddVertex, -1.282,0.93,13.1,
AddFace, 3,2,1,0,

GenerateNormals,
LoadTexture, cl20chassisfront.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,

;rear buffer beam back
CreateMeshBuilder,
AddVertex, -1.282,1.524 ,13,
AddVertex, 1.282,1.524 ,13,
AddVertex, 1.282,0.93 ,13,
AddVertex, -1.282,0.93 ,13,
AddFace, 0,1,2,3,
GenerateNormals,
LoadTexture, cl20beamback.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,

;Chassis bed 
CreateMeshBuilder,
AddVertex, -1.353,1.524 ,13.1,
AddVertex, 1.353,1.524 ,13.1 ,
AddVertex, 1.353,1.524,0,
AddVertex, -1.353,1.524,0,
AddFace, 0,1,2,3,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 48,52,51,



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;bogie end 1
CreateMeshBuilder,
AddVertex, -0.72,0.97 ,0.25,
AddVertex, 0.72,0.97 ,0.25,
AddVertex, 0.72,0.65,0.25,
AddVertex, -0.72,0.65,0.25,
AddFace, 0,1,2,3,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,

;bogie end 2
CreateMeshBuilder,
AddVertex, -0.72,0.9 ,5,
AddVertex, 0.72,0.9 ,5,
AddVertex, 0.72,0.6,5,
AddVertex, -0.72,0.6,5,
AddFace, 3,2,1,0,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,

;bogie end 3
CreateMeshBuilder,
AddVertex, -0.72,0.9, 8.1,
AddVertex, 0.72,0.9 ,8.1,
AddVertex, 0.72,0.6, 8.1,
AddVertex, -0.72,0.6,8.1,
AddFace, 0,1,2,3,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,


;bogie end 4
CreateMeshBuilder,
AddVertex, -0.72,0.9 ,12.87,
AddVertex, 0.72,0.9 ,12.87,
AddVertex, 0.72,0.6,12.87,
AddVertex, -0.72,0.6,12.87,
AddFace, 3,2,1,0,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;battery box end 1
CreateMeshBuilder,
AddVertex, -0.71,1.524 ,5.6,
AddVertex, 0.71,1.524 ,5.6,
AddVertex, 0.71,0.4,5.6,
AddVertex, -0.71,0.4,5.6,
AddFace2,  0,1,2,3,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,

;battery box end 2
CreateMeshBuilder,
AddVertex, -0.71,1.524 ,7.55,
AddVertex, 0.71,1.524 ,7.55,
AddVertex, 0.71,0.4,7.55,
AddVertex, -0.71,0.4,7.55,
AddFace2,  3,2,1,0,

GenerateNormals,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetColor, 44,44,36,







;body starts here


;left engine side

CreateMeshBuilder,
AddVertex, 0.95,1.524 ,1 ,
AddVertex, 0.95,3.324,1,
AddVertex, 0.95,3.324,11.1,
AddVertex, 0.95,1.524,11.1 ,
AddFace, 0,1,2,3,
GenerateNormals,
LoadTexture, cl20leftbody.png,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,

;right side
CreateMeshBuilder,
AddVertex, -0.95,1.524 ,1 ,
AddVertex, -0.95,3.324 ,1,
AddVertex, -0.95,3.324,11.1,
AddVertex, -0.95,1.524,11.1 ,
AddFace, 3,2,1,0,
GenerateNormals,
LoadTexture, cl20leftbody.png,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,

;front

CreateMeshBuilder,
AddVertex, 0.95,   1.524,    1           ,
AddVertex, 0.95,   3.324,    1           ,
AddVertex, 0.84,   1.524,    0.75        ,
AddVertex, 0.84,   3.324,    0.75        ,

AddVertex, 0.74,   1.524,    0.4         ,
AddVertex, 0.74,   3.324,    0.5         ,
AddVertex, -0.74,  1.524,    0.4         ,
AddVertex, -0.74,  3.324,    0.5         ,

AddVertex, -0.84,  1.524,    0.75        ,
AddVertex, -0.84,  3.324,    0.75        ,
AddVertex, -0.95,  1.524,    1           ,
AddVertex, -0.95,  3.324,    1           ,


AddFace, 1,0,2,3,
AddFace, 3,2,4,5,
AddFace, 5,4,6,7,
AddFace, 7,6,8,9,
AddFace, 9,8,10,11,

GenerateNormals,
LoadTexture, front.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,0.06,
SetTextureCoordinates, 3,1,0.06,
SetTextureCoordinates, 4,0,0.4,
SetTextureCoordinates, 5,1,0.4,
SetTextureCoordinates, 6,0,0.6,
SetTextureCoordinates, 7,1,0.6,
SetTextureCoordinates, 8,0,0.94,
SetTextureCoordinates, 9,1,0.94,
SetTextureCoordinates, 10,0,1,
SetTextureCoordinates, 11,1,1,

;engine roof

CreateMeshBuilder,
AddVertex, 0.95,     3.323,1 ,
AddVertex, 0.95,     3.323,11.1 ,
AddVertex, 0.94,     3.644,1 ,
AddVertex, 0.94,     3.644,11.1,
AddVertex, 0.9,      3.87,1,
AddVertex, 0.9,      3.87,11.1,
AddVertex, -0.9,     3.87,1,
AddVertex, -0.9,     3.87,11.1,
AddVertex, -0.94,    3.644,1,
AddVertex, -0.94,    3.644,11.1,
AddVertex, -0.95,    3.323,1,
AddVertex, -0.95,    3.323,11.1,
AddFace, 1,0,2,3,
AddFace, 3,2,4,5,
AddFace, 5,4,6,7,
AddFace, 7,6,8,9,
AddFace, 9,8,10,11,
GenerateNormals,
LoadTexture, cl20roof.png,
SetTextureCoordinates, 0, 1,  0,
SetTextureCoordinates, 1, 0,  0,
SetTextureCoordinates, 2, 1  ,  0.2,
SetTextureCoordinates, 3, 0  ,  0.2,
SetTextureCoordinates, 4, 1  ,  0.3,
SetTextureCoordinates, 5, 0  ,  0.3,
SetTextureCoordinates, 6, 1  ,  0.7,
SetTextureCoordinates, 7, 0  ,  0.7,
SetTextureCoordinates, 8, 1  ,  0.8,
SetTextureCoordinates, 9, 0  ,  0.8,
SetTextureCoordinates, 10, 1,  1,
SetTextureCoordinates, 11, 0,  1,

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;front dome
CreateMeshBuilder,
AddVertex, 0.78,  3.324,   0.6        ,
AddVertex, 0.95,  3.324,   1.0        ,
AddVertex, 0.82,  3.5,     0.6        ,
AddVertex, 0.95,  3.5,     1.0        ,
AddVertex, 0.8,   3.6,     0.6        ,
AddVertex, 0.95,  3.6,     1.0        ,
AddVertex, 0.78,  3.87,    0.6        ,
AddVertex, 0.9,   3.87,    1.0       ,
AddVertex, -0.78, 3.87,    0.6       ,
AddVertex, -0.9,  3.87,    1.0       ,
AddVertex, -0.8,  3.6,     0.6       ,
AddVertex, -0.95, 3.6,     1.0      ,
GenerateNormals,
;Unresolved line -->         <----
AddVertex, -0.81, 3.5,     0.6       ,
AddVertex, -0.95, 3.5,     1.0       ,
AddVertex, -0.78, 3.324,   0.6       ,
AddVertex, -0.95, 3.324,   1.0       ,
AddVertex, 0.76,  3.324,  0.56       ,
AddVertex, 0.74,  3.5,    0.56       ,
AddVertex, 0.74,  3.6,    0.56       ,
AddVertex, 0.74,  3.85,   0.56      ,
AddVertex, -0.74, 3.85,   0.56       ,
AddVertex, -0.74, 3.6,    0.56       ,
AddVertex, -0.74, 3.5,    0.56       ,
AddVertex, -0.76, 3.324,  0.56       ,
AddVertex, 0.76,  3.324,  0.53       ,
AddVertex, 0.74,  3.5,    0.53       ,
AddVertex, 0.74,  3.4,    0.53       ,
AddVertex, 0.74,  3.8,    0.53       ,
AddVertex, -0.74, 3.8,    0.53       ,
AddVertex, -0.74, 3.4,    0.53       ,
AddVertex, -0.74, 3.5,    0.53       ,
AddVertex, -0.76, 3.324,  0.53 ,
AddVertex, 0.74,  3.324,  0.51       ,
AddVertex, 0.74,  3.4,    0.51       ,
AddVertex, 0.74,  3.4,    0.51       ,
AddVertex, 0.74,  3.7,    0.51       ,
AddVertex, -0.74, 3.7,    0.51       ,
AddVertex, -0.74, 3.4,    0.51       ,
AddVertex, -0.74, 3.4,    0.51       ,
AddVertex, -0.74, 3.324,  0.51       ,
AddVertex, 0.74,   3.324,  0.5      ,
AddVertex, 0.74,   3.324,  0.5      ,
AddVertex, 0.74,   3.324,  0.5      ,
AddVertex, 0.74,   3.324,  0.5      ,
AddVertex, -0.74,  3.324,  0.5      ,
AddVertex, -0.74,  3.324,  0.5      ,
AddVertex, -0.74,  3.324,  0.5      ,
AddVertex, -0.74,  3.324,  0.5      ,
 
AddFace, 1,0,2,3,
AddFace, 3,2,4,5,
AddFace, 5,4,6,7,
AddFace, 7,6,8,9,
AddFace, 9,8,10,11,
AddFace, 11,10,12,13,
AddFace, 13,12,14,15,
AddFace, 0,16,17,2,
AddFace, 2,17,18,4,
AddFace, 4,18,19,6,
AddFace, 6,19,20,8,
AddFace, 8,20,21,10,
AddFace, 10,21,22,12,
AddFace, 12,22,23,14,
AddFace, 16,24,25,17,
AddFace, 17,25,26,18,
AddFace, 18,26,27,19,
AddFace, 19,27,28,20,
AddFace, 20,28,29,21,
AddFace, 21,29,30,22,
AddFace, 22,30,31,23,
AddFace, 24,32,33,25,
AddFace, 25,33,34,26,
AddFace, 26,34,35,27,
AddFace, 27,35,36,28,
AddFace, 28,36,37,29,
AddFace, 29,37,38,30,
AddFace, 30,38,39,31,
AddFace, 32,40,41,33,
AddFace, 33,41,42,34,
AddFace, 34,42,43,35,
AddFace, 35,43,44,36,
AddFace, 36,44,45,37,
AddFace, 37,45,46,38,
AddFace, 38,46,47,39,

LoadTexture, dome.png,
SetTextureCoordinates, 0, 0  ,  1,
SetTextureCoordinates, 1, 1  ,  0,
SetTextureCoordinates, 2, 0  ,  0,
SetTextureCoordinates, 3, 0  ,  0,
SetTextureCoordinates, 4, 0  ,  0,
SetTextureCoordinates, 5, 0  ,  0,
SetTextureCoordinates, 6, 0  ,  0,
SetTextureCoordinates, 7, 0  ,  0,
SetTextureCoordinates, 8, 0  ,  0,
SetTextureCoordinates, 9, 0  ,  0,
SetTextureCoordinates, 10, 0  ,  0,
SetTextureCoordinates, 11, 0  ,  0,
SetTextureCoordinates, 12, 0  ,  0,
SetTextureCoordinates, 13, 0  ,  0,
SetTextureCoordinates, 14, 0  ,  0,
SetTextureCoordinates, 15, 0  ,  0,
SetTextureCoordinates, 16, 0  ,  0,
SetTextureCoordinates, 17, 0  ,  0,
SetTextureCoordinates, 18, 0  ,  0,
SetTextureCoordinates, 19, 0  ,  0,
SetTextureCoordinates, 20, 0  ,  0,
SetTextureCoordinates, 21, 0  ,  0,
SetTextureCoordinates, 22, 0  ,  0,
SetTextureCoordinates, 23, 0  ,  0,
SetTextureCoordinates, 24, 0  ,  0,
SetTextureCoordinates, 25, 0  ,  0,
SetTextureCoordinates, 26, 0  ,  0,
SetTextureCoordinates, 27, 0  ,  0,
SetTextureCoordinates, 28, 0  ,  0,
SetTextureCoordinates, 29, 0  ,  0,
SetTextureCoordinates, 30, 0  ,  0,
SetTextureCoordinates, 31, 0  ,  0,
SetTextureCoordinates, 32, 0  ,  0,
SetTextureCoordinates, 33, 0  ,  0,
SetTextureCoordinates, 34, 0  ,  0,
SetTextureCoordinates, 35, 0  ,  0,
SetTextureCoordinates, 36, 0  ,  0,
SetTextureCoordinates, 37, 0  ,  0,
SetTextureCoordinates, 38, 0  ,  0,
SetTextureCoordinates, 39, 0  ,  0,
SetTextureCoordinates, 40, 0  ,  0,
SetTextureCoordinates, 41, 0  ,  0,
SetTextureCoordinates, 42, 0  ,  0,
SetTextureCoordinates, 43, 0  ,  0,
SetTextureCoordinates, 44, 0  ,  0,
SetTextureCoordinates, 45, 0  ,  0,
SetTextureCoordinates, 46, 0  ,  1,
SetTextureCoordinates, 47, 1  ,  0,

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;cab

;left side

CreateMeshBuilder,
AddVertex, 1.2,    1.524    ,11.1 ,
AddVertex, 1.2,    3.6      ,11.1,
AddVertex, 1.2,    3.6      ,13.1,
AddVertex, 1.2,    1.524    ,13.1 ,
AddFace, 0,1,2,3,
GenerateNormals,
LoadTexture, cab left side.png,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,

;right side


CreateMeshBuilder,
AddVertex, -1.2,1.524 ,11.1 ,
AddVertex, -1.2,3.6,11.1,
AddVertex, -1.2,3.6,13.1,
AddVertex, -1.2,1.524,13.1 ,
AddFace, 3,2,1,0,
GenerateNormals,
LoadTexture, cab left side.png,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,

;cab back

CreateMeshBuilder,
AddVertex, -1.2,4.01 ,13.1 ,
AddVertex, 1.2,4.01 ,13.1,
AddVertex, 1.2,1.524,13.1,
AddVertex, -1.2,1.524,13.1,
AddFace, 3,2,1,0,

GenerateNormals,
LoadTexture, cl20cab.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,

CreateMeshBuilder,
AddVertex, -1.2,4.01 ,11.1 ,
AddVertex, 1.2,4.01 ,11.1,
AddVertex, 1.2,1.524,11.1,
AddVertex, -1.2,1.524,11.1,
AddFace2,  0,1,2,3,

GenerateNormals,
LoadTexture, cl20cabfront.png,
SetTextureCoordinates, 0, 1, 0,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 0, 1,
SetTextureCoordinates, 3, 1, 1,
SetDecalTransparentColor,  0, 0, 255,

;cab  roof
CreateMeshBuilder,
AddVertex, -1.2, 3.58,  11.1,
AddVertex, -0.7, 3.93,  11.1,
AddVertex, -0.7, 3.93,  13.1,
AddVertex, -1.2, 3.58,  13.1,
AddVertex, -0.4, 3.99,  11.1,
AddVertex, -0.4, 3.99,  13.1,
AddVertex, -0,   4.01,  11.1,
AddVertex, -0,   4.01,  13.1,
AddVertex, 0.4,  3.99,  11.1,
AddVertex, 0.4,  3.99,  13.1,
AddVertex, 0.7,  3.93,  11.1,
AddVertex, 0.7,  3.93,  13.1,
AddVertex, 1.2,  3.58,  11.1,
AddVertex, 1.2,  3.58,  13.1,
AddFace, 3,2,1,0,
AddFace, 2,5,4,1,
AddFace, 5,7,6,4,
AddFace, 7,9,8,6,
AddFace, 9,11,10,8,
AddFace, 11,13,12,10,
GenerateNormals,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,0,1,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,1,0,
SetTextureCoordinates, 4,0,2,
SetTextureCoordinates, 5,1,2,
SetTextureCoordinates, 6,0,3,
SetTextureCoordinates, 7,1,3,
SetTextureCoordinates, 8,0,4,
SetTextureCoordinates, 9,1,4,
SetTextureCoordinates, 10,0,5,
SetTextureCoordinates, 11,1,5,
SetTextureCoordinates, 12,0,6,
SetTextureCoordinates, 13,1,6,
SetColor, 144,144,144 ,


;Front Buffers
CreateMeshBuilder,
AddVertex, -1.04,1.53,-0.41,
AddVertex, 1.04,1.53,-0.41,
AddVertex, -1.04,1.09,-0.41,
AddVertex, 1.04,1.09,-0.41,
AddFace, 0,1,3,2,

GenerateNormals,
LoadTexture, Cl_14_Buffers.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
SetDecalTransparentColor,  0,0,255,





;Rear Buffers
CreateMeshBuilder,
AddVertex, 1.04,1.43,13.41,
AddVertex, -1.04,1.43,13.41,
AddVertex, 1.04,1.09,13.41,
AddVertex, -1.04,1.09,13.41,
AddFace2,  0,1,3,2,

GenerateNormals,
LoadTexture, Cl_14_Buffers.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
SetDecalTransparentColor,  0,0,255,
