;Maboloop Object class 104
;Object and textures  Alan Hudnott May 2007


;Chassisside1
[Meshbuilder]
Vertex -0.25,0,0
Vertex -0.25,1.15,0
Vertex -0.25,1.15,24.8
Vertex -0.25,0,24.8
Face2 0,1,2,3
translate 1,0,0

[Texture]
Load 104chassis.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;Chassisside2
[Meshbuilder]
Vertex -1.75,0,0
Vertex -1.75,1.25,0
Vertex -1.75,1.25,24.8
Vertex -1.75,0,24.8
Face2 0,1,2,3
translate 1,0,0

[Texture]
Load 104chassis1.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255



;Chassisend1
[Meshbuilder]
Vertex 0.2,0.7,24.8
Vertex 0.2,1.17,24.8
Vertex -2.2,1.17,24.8
Vertex -2.2,0.7,24.8
Face 0,1,2,3
translate 1,0,0

[Texture]
Load bufferbeam.png
Coordinates 0,0,0
Coordinates 1,0,1
Coordinates 2,1,1
Coordinates 3,1,0
Transparent 0,0,255








;body starts here

;lower right Side
[Meshbuilder]
Vertex 1.24,1.15,0
Vertex 1.27,1.95,0
Vertex 1.27,1.95,24.8
Vertex 1.24,1.15,24.8
Face2 0,1,2,3

[Texture]
Load class104lowerside.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;upper right Side
[Meshbuilder]
Vertex 1.27,1.95,0
Vertex 1.18,3.25,0
Vertex 1.18,3.25,24.8
Vertex 1.27,1.95,24.8
Face 0,1,2,3

[Texture]
Load class104upperside.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255



;left side 
[Meshbuilder]
Vertex -1.3,1.15,0
Vertex -1.3,1.95,0
Vertex -1.3,1.95,24.8
Vertex -1.3,1.15,24.8
Face2 3,2,1,0

[Texture]
Load class104lowerside.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;upper left Side
[Meshbuilder]
Vertex -1.27,1.95,0
Vertex -1.18,3.25,0
Vertex -1.18,3.25,24.8
Vertex -1.27,1.95,24.8
Face 3,2,1,0

[Texture]
Load class104upperside.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;  front left End
[Meshbuilder]
Vertex -1.3,1,24.8
Vertex -1.3,3.4,24.8
Vertex -0.43,3.4,25
Vertex -0.43,1,25
Face 3,2,1,0

[Texture]
Load 104rfront.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255


;  front middle End
[Meshbuilder]
Vertex -0.43,1,25
Vertex -0.43,3.4,25
Vertex 0.43,3.4,25
Vertex 0.43,1,25
Face2 0,1,2,3

[Texture]
Load 104mfront.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;  front right End
[Meshbuilder]
Vertex 0.43,1,25
Vertex 0.43,3.4,25
Vertex 1.23,3.4,24.75
Vertex 1.255,1,24.75
Face 3,2,1,0

[Texture]
Load 104lfront.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255

;  cab roof
[Meshbuilder]
Vertex -1.2,3.5,24.9
Vertex -1.2,3.9,24.7
Vertex 1.2,3.9,24.7
Vertex 1.2,3.5,24.9
Face 3,2,1,0
translate 0,-0.13,0
[Texture]
Load dmucabroof.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,
Transparent 0,0,255


;wagonend2
[Meshbuilder]
Vertex 0.26,1,0
Vertex 0.26,3.8,0
Vertex -2.28,3.8,0
Vertex -2.28,1,0
Face2 3,2,1,0
translate 1,0,0

[Texture]
Load 104back.png
Coordinates 0, 0, 1,
Coordinates 1, 0, 0,
Coordinates 2, 1, 0,
Coordinates 3, 1, 1,

Transparent 0,0,255

;Roof
[MeshBuilder]
Vertex -0.2, 3.75, 24.75,
Vertex -0.2, 3.75, 0,
Vertex -0.6, 3.7, 0,
Vertex -0.6, 3.7, 24.75,
Vertex -1.05, 3.5, 24.75,
Vertex -1.05, 3.5, 0,
Vertex -1.2, 3.27, 24.75,
Vertex -1.2, 3.27, 0,
Face 0,1,2,3,
Face 3,2,5,4,
Face 4,5,7,6,
[texture]
load boiler.png,
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 2
Coordinates 3, 0, 2
Coordinates 4, 0, 5
Coordinates 5, 1, 5
Coordinates 6, 0, 5
Coordinates 7, 1, 5

[MeshBuilder]
Vertex 0.3, 3.73, 24.75,
Vertex 0.3, 3.73, 0,

Vertex 0.8, 3.6, 0,
Vertex 0.8, 3.6, 24.75,

Vertex 0.95, 3.5, 24.75,
Vertex 0.95, 3.5, 0,
Vertex 1.17, 3.25, 24.75,
Vertex 1.17, 3.25, 0,


Face 3,2,1,0,
Face 4,5,2,3,
Face 6,7,5,4,
[texture]
Load boiler.png,
Coordinates 0, 0, 0,
Coordinates 1, 1, 0,
Coordinates 2, 1, 2,
Coordinates 3, 0, 2,
Coordinates 4, 0, 5,
Coordinates 5, 1, 5,
Coordinates 6, 0, 5,
Coordinates 7, 1, 5,

[meshbuilder]
cylinder 8,0.08,0.08,0.30
rotate 0,0,0,90,
translate -0.8,0.85,25.1,
color 72,83,49

[meshbuilder]
cylinder 12,0.08,0.08,0.30
rotate 0,0,0,90,
translate 0.8,0.85,25.1,
color 72,83,49

[meshbuilder]
cylinder 12,0.25,0.25,0.01
rotate 0,0,0,90,
translate 0.8,0.85,25.27,
color 133,129,124

[meshbuilder]
cylinder 12,0.25,0.25,0.01
rotate 0,0,0,90,
translate -0.8,0.85,25.27,
color 133,129,124


