
﻿CreateMeshBuilder,
AddVertex,-3, 0.4, 5.6,
AddVertex,-9, 0.2, 28.6,
AddVertex, 5, 0.2, 28.6,
AddVertex, 3, 0.4, 5.6,
AddFace2,0,1,2,3
LoadTexture,headlamp_dim.png, headlamp.png
SetTextureCoordinates,0, 1, 1,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 0, 0,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0, 0, 0,
SetEmissiveColor,155,155,155,
SetBlendMode,Additive,2,

CreateMeshBuilder,
AddVertex,-0.88, 1.65, 8.42,
AddVertex,-1.03, 1.65, 8.42,
AddVertex,-1.03, 1.51, 8.42,
AddVertex,-0.88, 1.51, 8.42,
AddVertex, 1.03, 1.65, 8.42,
AddVertex, 0.88, 1.65, 8.42,
AddVertex, 0.88, 1.51, 8.42,
AddVertex, 1.03, 1.51, 8.42,
AddFace,0,1,2,3,
AddFace,4,5,6,7,
Translate,0,-0.27,0,
GenerateNormals,
LoadTexture,front_light.png
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0, 0,
SetTextureCoordinates,5, 1, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0, 1,
SetDecalTransparentColor,0,0,0,
SetEmissiveColor,255,255,255,
SetBlendMode,Normal,

CreateMeshBuilder,
AddVertex,-0.68, 1.85, 8.43,
AddVertex,-1.23, 1.85, 8.43,
AddVertex,-1.23, 1.25, 8.43,
AddVertex,-0.68, 1.25, 8.43,
AddVertex, 1.23, 1.85, 8.43,
AddVertex, 0.68, 1.85, 8.43,
AddVertex, 0.68, 1.25, 8.43,
AddVertex, 1.23, 1.25, 8.43,
AddFace,0,1,2,3,
AddFace,4,5,6,7,
Translate,0,-0.25,0,
GenerateNormals,

LoadTexture,glow_white.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0, 0,
SetTextureCoordinates,5, 1, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0, 1,
SetDecalTransparentColor,0,0,0,
SetEmissiveColor,255,255,255,
SetBlendMode,Additive,2,

CreateMeshBuilder,               
AddVertex,-0.4, 0.8, 7.4       
AddVertex,-0.4, 2.3, 7.4        
AddVertex,-1.0, 2.3, 7.4        
AddVertex,-1.0, 0.8, 7.4        
AddFace2,0,1,2,3                 
GenerateNormals,                 
LoadTexture,1995_driver.png,          
SetTextureCoordinates,0, 0, 1   
SetTextureCoordinates,1, 0, 0   
SetTextureCoordinates,2, 1, 0   
SetTextureCoordinates,3, 1, 1  

