;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 
[MESHBUILDER]
Vertex -0.71,1.524 ,13.1 
Vertex -0.71,1.524 ,0
Vertex -0.71,0,0
Vertex -0.71,0,13.1 
Face2 0,1,2,3
[TEXTURE]
load cl20chassis.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;outer frame right side 
[MESHBUILDER]
Vertex -1.20.61,1.524 ,13.1 
Vertex -1.20,1.524 ,0
Vertex -1.04,0.7,0
Vertex -1.04,0.7,13.1
Face2 0,1,2,3
[TEXTURE]
load cl20outerchassis.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;right bogie 1
[MESHBUILDER]
Vertex -0.9,1.2 ,5.05 
Vertex -0.9,1.2 ,0.7
Vertex -0.9,0.2,0.7
Vertex -0.9,0.2,5.05
Face2 0,1,2,3
[TEXTURE]
load bogie.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;right bogie 2
[MESHBUILDER]
Vertex -0.9,1.2 ,12.4
Vertex -0.9,1.2 ,8.2
Vertex -0.9,0.2,8.2
Vertex -0.9,0.2,12.4
Face2 0,1,2,3
[TEXTURE]
load bogie.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255


;Chassis left side
[MESHBUILDER]
Vertex 0.71,1.524 ,13.1 
Vertex 0.71,1.524 ,0
Vertex 0.71,0,0
Vertex 0.71,0,13.1 
Face2 0,1,2,3
[TEXTURE]
load cl20chassis1.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;outer frame left side 
[MESHBUILDER]
Vertex 1.25,1.524 ,13.1
Vertex 1.25,1.524 ,0
Vertex 1.04,0.7,0
Vertex 1.04,0.7,13.1
Face2 0,1,2,3
[TEXTURE]
load cl20outerchassis1.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;left bogie 1
[MESHBUILDER]
Vertex 0.9,1.2 ,5.05 
Vertex 0.9,1.2 ,0.7
Vertex 0.9,0.2,0.7
Vertex 0.9,0.2,5.05
Face2 0,1,2,3
[TEXTURE]
load bogie.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;left bogie 2
[MESHBUILDER]
Vertex 0.9,1.2 ,8.2 
Vertex 0.9,1.2 ,12.4
Vertex 0.9,0.2,12.4
Vertex 0.9,0.2,8.2
Face2 0,1,2,3
[TEXTURE]
load bogie.png
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;front buffer beam
[MESHBUILDER]
Vertex -1.282,1.524 ,-0.01 
Vertex 1.282,1.524 ,-0.01
Vertex 1.282,0.93,-0.01
Vertex -1.282,0.93,-0.01
Face 0,1,2,3
[TEXTURE]
Load cl20chassisfront.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255



;front bufferbeam back
[MESHBUILDER]
Vertex -1.282,1.524 ,0.01 
Vertex 1.282,1.524 ,0.01
Vertex 1.282,0.93,0.011
Vertex -1.282,0.93,0.0
Face 3,2,1,0
[TEXTURE]
Load cl20beamback.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255


;rear buffer beam
[MESHBUILDER]
Vertex -1.282,1.524 ,13.1
Vertex 1.282,1.524 ,13.1 
Vertex 1.282,0.93,13.1
Vertex -1.282,0.93,13.1
Face 3,2,1,0

[TEXTURE]
Load cl20chassisfront.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255

;rear buffer beam back
[MESHBUILDER]
Vertex -1.282,1.524 ,13
Vertex 1.282,1.524 ,13
Vertex 1.282,0.93 ,13
Vertex -1.282,0.93 ,13
Face 0,1,2,3
[TEXTURE]
Load cl20beamback.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255

;Chassis bed 
[MESHBUILDER]
Vertex -1.353,1.524 ,13.1
Vertex 1.353,1.524 ,13.1 
Vertex 1.353,1.524,0
Vertex -1.353,1.524,0
Face 0,1,2,3

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 48,52,51



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

;bogie end 1
[MESHBUILDER]
Vertex -0.72,0.97 ,0.25
Vertex 0.72,0.97 ,0.25
Vertex 0.72,0.65,0.25
Vertex -0.72,0.65,0.25
Face 0,1,2,3

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36

;bogie end 2
[MESHBUILDER]
Vertex -0.72,0.9 ,5
Vertex 0.72,0.9 ,5
Vertex 0.72,0.6,5
Vertex -0.72,0.6,5
Face 3,2,1,0

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36

;bogie end 3
[MESHBUILDER]
Vertex -0.72,0.9, 8.1
Vertex 0.72,0.9 ,8.1
Vertex 0.72,0.6, 8.1
Vertex -0.72,0.6,8.1
Face 0,1,2,3

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36


;bogie end 4
[MESHBUILDER]
Vertex -0.72,0.9 ,12.87
Vertex 0.72,0.9 ,12.87
Vertex 0.72,0.6,12.87
Vertex -0.72,0.6,12.87
Face 3,2,1,0

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;battery box end 1
[MESHBUILDER]
Vertex -0.71,1.524 ,5.6
Vertex 0.71,1.524 ,5.6
Vertex 0.71,0.4,5.6
Vertex -0.71,0.4,5.6
Face2 0,1,2,3

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36

;battery box end 2
[MESHBUILDER]
Vertex -0.71,1.524 ,7.55
Vertex 0.71,1.524 ,7.55
Vertex 0.71,0.4,7.55
Vertex -0.71,0.4,7.55
Face2 3,2,1,0

[TEXTURE]
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
color 44,44,36







;body starts here


;left engine side

[MESHBUILDER]
Vertex 0.95,1.524 ,1 
Vertex 0.95,3.324,1
Vertex 0.95,3.324,11.1
Vertex 0.95,1.524,11.1 
Face 0,1,2,3
[TEXTURE]
load cl20leftbody.png
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1

;right side
[MESHBUILDER]
Vertex -0.95,1.524 ,1 
Vertex -0.95,3.324 ,1
Vertex -0.95,3.324,11.1
Vertex -0.95,1.524,11.1 
Face 3,2,1,0
[TEXTURE]
load cl20leftbody.png
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1

;front

[MeshBuilder]
vertex 0.95,   1.524,    1           ;0
vertex 0.95,   3.324,    1           ;1
vertex 0.84,   1.524,    0.75        ;2
vertex 0.84,   3.324,    0.75        ;3

vertex 0.74,   1.524,    0.4         ;4
vertex 0.74,   3.324,    0.5         ;5
vertex -0.74,  1.524,    0.4         ;6
vertex -0.74,  3.324,    0.5         ;7

vertex -0.84,  1.524,    0.75        ;8
vertex -0.84,  3.324,    0.75        ;9
vertex -0.95,  1.524,    1           ;10
vertex -0.95,  3.324,    1           ;11


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

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

;engine roof

[MeshBuilder]
Vertex 0.95,     3.323,1 
Vertex 0.95,     3.323,11.1 
Vertex 0.94,     3.644,1 
Vertex 0.94,     3.644,11.1
Vertex 0.9,      3.87,1
Vertex 0.9,      3.87,11.1
Vertex -0.9,     3.87,1
Vertex -0.9,     3.87,11.1
Vertex -0.94,    3.644,1
Vertex -0.94,    3.644,11.1
Vertex -0.95,    3.323,1
Vertex -0.95,    3.323,11.1
Face 1,0,2,3
Face 3,2,4,5
Face 5,4,6,7
Face 7,6,8,9
Face 9,8,10,11
[Texture]
load cl20roof.png
Coordinates 0, 1,  0
Coordinates 1, 0,  0
Coordinates 2, 1  ,  0.2
Coordinates 3, 0  ,  0.2
Coordinates 4, 1  ,  0.3
Coordinates 5, 0  ,  0.3
Coordinates 6, 1  ,  0.7
Coordinates 7, 0  ,  0.7
Coordinates 8, 1  ,  0.8
Coordinates 9, 0  ,  0.8
Coordinates 10, 1,  1
Coordinates 11, 0,  1

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


;front dome
[MeshBuilder]
Vertex 0.78,  3.324,   0.6        ;;0
Vertex 0.95,  3.324,   1.0        ;;1
Vertex 0.82,  3.5,     0.6        ;;2
Vertex 0.95,  3.5,     1.0        ;;3

Vertex 0.8,   3.6,     0.6        ;;4
Vertex 0.95,  3.6,     1.0        ;;5
Vertex 0.78,  3.87,    0.6        ;;6
Vertex 0.9,   3.87,    1.0        ;;7

Vertex -0.78, 3.87,    0.6       ;;8
Vertex -0.9,  3.87,    1.0       ;;9
Vertex -0.8,  3.6,     0.6       ;;10
Vertex -0.95, 3.6,     1.0       ;;11 
              
Vertex -0.81, 3.5,     0.6       ;;12
Vertex -0.95, 3.5,     1.0       ;;13 
Vertex -0.78, 3.324,   0.6       ;;14
Vertex -0.95, 3.324,   1.0       ;;15

Vertex 0.76,  3.324,  0.56       ;;16
Vertex 0.74,  3.5,    0.56       ;;17
Vertex 0.74,  3.6,    0.56       ;;18
Vertex 0.74,  3.85,    0.56      ;;19

Vertex -0.74, 3.85,   0.56       ;;20
Vertex -0.74, 3.6,    0.56       ;;21
Vertex -0.74, 3.5,    0.56       ;;22
Vertex -0.76, 3.324,  0.56       ;;23

Vertex 0.76,  3.324,  0.53       ;;24
Vertex 0.74,  3.5,    0.53       ;;25
Vertex 0.74,  3.4,    0.53       ;;26
Vertex 0.74,  3.8,    0.53       ;;27

Vertex -0.74, 3.8,    0.53       ;;28
Vertex -0.74, 3.4,    0.53       ;;29
Vertex -0.74, 3.5,    0.53       ;;30
Vertex -0.76, 3.324,  0.53       ;;31

Vertex 0.74,  3.324,  0.51       ;32
Vertex 0.74,  3.4,    0.51       ;33
Vertex 0.74,  3.4,    0.51       ;34
Vertex 0.74,  3.7,    0.51       ;35

Vertex -0.74, 3.7,    0.51       ;36
Vertex -0.74, 3.4,    0.51       ;37
Vertex -0.74, 3.4,    0.51       ;38
Vertex -0.74, 3.324,  0.51       ;39

Vertex 0.74,   3.324,  0.5      ;40
Vertex 0.74,   3.324,  0.5      ;41
Vertex 0.74,   3.324,  0.5      ;42
Vertex 0.74,   3.324,  0.5      ;43

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

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

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

;cab

;left side

[MESHBUILDER]
Vertex 1.2,    1.524    ,11.1 
Vertex 1.2,    3.6      ,11.1
Vertex 1.2,    3.6      ,13.1
Vertex 1.2,    1.524    ,13.1 
Face 0,1,2,3
[TEXTURE]
load cab left side.png
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1

;right side


[MESHBUILDER]
Vertex -1.2,1.524 ,11.1 
Vertex -1.2,3.6,11.1
Vertex -1.2,3.6,13.1
Vertex -1.2,1.524,13.1 
Face 3,2,1,0
[TEXTURE]
load cab left side.png
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1

;cab back

[MESHBUILDER]
Vertex -1.2,4.01 ,13.1 
Vertex 1.2,4.01 ,13.1
Vertex 1.2,1.524,13.1
Vertex -1.2,1.524,13.1
Face 3,2,1,0

[TEXTURE]
load cl20cab.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255

[MESHBUILDER]
Vertex -1.2,4.01 ,11.1 
Vertex 1.2,4.01 ,11.1
Vertex 1.2,1.524,11.1
Vertex -1.2,1.524,11.1
Face2 0,1,2,3

[TEXTURE]
load cl20cabfront.png
Coordinates 0, 1, 0
Coordinates 1, 0, 0
Coordinates 2, 0, 1
Coordinates 3, 1, 1
Transparent 0, 0, 255

;cab  roof
[meshbuilder]
vertex -1.2, 3.58,  11.1
vertex -0.7, 3.93,  11.1
vertex -0.7, 3.93,  13.1
vertex -1.2, 3.58,  13.1
vertex -0.4, 3.99,  11.1
vertex -0.4, 3.99,  13.1
vertex -0,   4.01,  11.1
vertex -0,   4.01,  13.1
vertex 0.4,  3.99,  11.1
vertex 0.4,  3.99,  13.1
vertex 0.7,  3.93,  11.1
vertex 0.7,  3.93,  13.1
vertex 1.2,  3.58,  11.1
vertex 1.2,  3.58,  13.1
face 3,2,1,0
face 2,5,4,1
face 5,7,6,4
face 7,9,8,6
face 9,11,10,8
face 11,13,12,10
[texture]
coordinates 0,0,0
coordinates 1,0,1
coordinates 2,1,1
coordinates 3,1,0
coordinates 4,0,2
coordinates 5,1,2
coordinates 6,0,3
coordinates 7,1,3
coordinates 8,0,4
coordinates 9,1,4
coordinates 10,0,5
coordinates 11,1,5
coordinates 12,0,6
coordinates 13,1,6
color 144,144,144 


;Front Buffers
[MeshBuilder]
vertex -1.04,1.53,-0.41
vertex 1.04,1.53,-0.41
vertex -1.04,1.09,-0.41
vertex 1.04,1.09,-0.41
face 0,1,3,2

Load Cl_14_Buffers.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1
transparent 0,0,255





;Rear Buffers
[MeshBuilder]
vertex 1.04,1.43,13.41
vertex -1.04,1.43,13.41
vertex 1.04,1.09,13.41
vertex -1.04,1.09,13.41
face2 0,1,3,2

Load Cl_14_Buffers.png
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,0,1
Coordinates 3,1,1
transparent 0,0,255