CreateMeshBuilder,
Addvertex, -1.09,1.12,6.15,
Addvertex, -1.09,1.12,4.9,
Addvertex, -1.09,0.39,6.15,
Addvertex, -1.09,0.39,4.9,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, MudGuard.png,
SetTextureCoordinates, 0,1,0,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
Setdecaltransparentcolor,0,0,255,

CreateMeshBuilder,
Addvertex, 1.09,1.12,6.15,
Addvertex, 1.09,1.12,4.9,
Addvertex, 1.09,0.39,6.15,
Addvertex, 1.09,0.39,4.9,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, MudGuard.png,
SetTextureCoordinates, 0,1,0,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
Setdecaltransparentcolor,0,0,255,

;;;;;;;;;;;wheels;;;;;;;;;;;;;;





CreateMeshBuilder,
cylinder, 120,0.47,0.47,0.3
rotate,  0,0,90,90
translate, 0.9,0.4,5.5
setColor, 0,0,0,

CreateMeshBuilder,
cylinder, 120,0.47,0.47,0.3
rotate,  0,0,90,90
translate, -0.9,0.4,5.5
setColor, 0,0,0,


;;;;;;;;axle;;;;;;;;;;

CreateMeshBuilder,
cylinder, 120,0.10,0.10,1.4
rotate,  0,0,90,90
translate, 0,0.4,5.5
setColor, 72,72,72

;________Nearside________________________________,



CreateMeshBuilder,
AddVertex,1.133,3.546,0.251,
AddVertex,1.128,3.546,7.491 ,
AddVertex,1.143,0.4,0.251,
AddVertex,1.143,0.4,7.491 ,
Addface, 0,1,3,2,
generatenormals,
LoadTexture, horsebodynearside.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor,0,0,255,

;________Offside_________________________________,

CreateMeshBuilder,
AddVertex,-1.128,3.546,7.491,
AddVertex,-1.133,3.546,0.247,
AddVertex,-1.143,0.4,7.491,
AddVertex,-1.143,0.4,0.247,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, horsebodyoffside.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor,0,0,255,

;________Rear____________________________________,

CreateMeshBuilder,
AddVertex,1.173,3.546,7.488,
AddVertex,-1.173,3.546,7.488,
AddVertex,1.173,0.98,7.491,
AddVertex,-1.173,0.98,7.491,
Addface, 0,1,3,2,
generatenormals,
LoadTexture, horsebacklogo.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor,0,0,255,

;front
CreateMeshBuilder,
AddVertex,1.173,3.546,1.62,
AddVertex,-1.173,3.546,1.62,
AddVertex,1.173,0.94,1.62,
AddVertex,-1.173,0.94,1.62,
Addface, 2,3,1,0,
generatenormals,
LoadTexture, horsebacklogo.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor,0,0,255,




;________Roof____________________________________,

CreateMeshBuilder,
AddVertex,1.133,3.546,1.63,
AddVertex,-1.133,3.546,1.63,
AddVertex,1.128,3.546,7.491,
AddVertex,-1.128,3.546,7.491,
Addface2, 2,3,1,0,
generatenormals,
LoadTexture, horseRoof.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,

;________Rear Nearside Wheel_____________________,

CreateMeshBuilder,
Addvertex, 1.08,1.43,4.75,
Addvertex, 1.08,1.43,6.25,
Addvertex, 1.08,-0.1,4.75,
Addvertex, 1.08,-0.1,6.25,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, RearWheel.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor, 0,0,255,

CreateMeshBuilder,
Addvertex, 0.745,1.43,4.75,
Addvertex, 0.745,1.43,6.25,
Addvertex, 0.745,-0.1,4.75,
Addvertex, 0.745,-0.1,6.25,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, RearWheel.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor, 0,0,255,

;________Rear Offside Wheel______________________,

CreateMeshBuilder,
Addvertex, -1.08,1.43,6.25,
Addvertex, -1.08,1.43,4.75,
Addvertex, -1.08,-0.1,6.25,
Addvertex, -1.08,-0.1,4.75,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, RearWheel.png,
SetTextureCoordinates, 0,1,0,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
Setdecaltransparentcolor, 0,0,255,

CreateMeshBuilder,
Addvertex, -0.745,1.43,4.75,
Addvertex, -0.745,1.43,6.25,
Addvertex, -0.745,-0.1,4.75,
Addvertex, -0.745,-0.1,6.25,
Addface2, 0,1,3,2,
generatenormals,
LoadTexture, RearWheel.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,0,1,
SetTextureCoordinates, 3,1,1,
Setdecaltransparentcolor, 0,0,255,

CreateMeshBuilder,
cube, 1.25,0.03,2.92,
translate, 0,1.85,4.56,
setcolor, 111,111,111,

CreateMeshBuilder,
cube, 1.23,0.03,2.94,
translate, 0,1.2,4.52,
setcolor, 94,24,32,
