{ "E36_headlight_R_lid": { "information":{ "authors":"BeamNG", "name":"Right Headlight Lid", "value":10, } "slotType" : "E36_headlight_R_lid", "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlight_R_lid", ["E36_headlight_R"]], ], }, "E36_headlight_L_lid": { "information":{ "authors":"BeamNG", "name":"Left Headlight Lid", "value":10, } "slotType" : "E36_headlight_L_lid", "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlight_L_lid", ["E36_headlight_L"]], ], }, "E36_headlight_R": { "information":{ "authors":"BeamNG", "name":"Right Headlight", "value":70, } "slotType" : "E36_headlight_R", "slots": [ ["type", "default", "description"] ["E36_headlight_R_lid","", "Right Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_R", ["E36_headlight_R"]], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_R", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_lights_dmg"} ["E36_headlight_R_glass", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_R", ["E36_headlight_R"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_f.dds", "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds", "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, } //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //right {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_R"}, ["he1r", -0.36592, -1.96847, 0.64741], ["he3r", -0.36592, -1.97847, 0.55282], ["he2r", -0.62473, -1.90473, 0.64741], ["he4r", -0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5r", -0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.005} ["he1r","he2r"], ["he3r","he4r"], ["he1r","he3r"], ["he2r","he4r"], ["he1r","he4r"], ["he2r","he3r"], ["he1r","he5r"], ["he2r","he5r"], ["he3r","he5r"], ["he4r","he5r"], //attach {"deformLimitExpansion":""}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"disableTriangleBreaking":true} {"breakGroup":"headlight_a_R"}, ["he5r","f15rr"], ["he5r","f15r"], ["he2r","f15rr"], ["he4r","f15rr"], ["he4r", "f13rr"], ["he4r", "f11rr"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_R"}, ["he1r","f15r"], ["he1r","f15rr"], ["he3r","f15r"], ["he3r","f13rr"], ["he3r", "f13r"], ["he3r", "f11r"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2r","h4"], ["he4r","h4"], ["he1r","h4r"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_R"}, {"optional":true} ["he5r","fe13r"], {"breakGroup":"headlight_grille_R"}, ["he5r","g1r"], {"breakGroup":"headlight_bumper_R"}, ["he5r","fb1rr"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //right headlight {"group":"E36_headlight_R"}, {"dragCoef":3}, ["he3r","he1r","he4r"], ["he4r","he1r","he2r"], ["he4r","he2r","he5r"], ["he1r","he5r","he2r"], ["he3r","he5r","he1r"], ["he4r","he5r","he3r"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_R"}, //["he1r","he3r","g2r"], //["he1r","g2r","g1r"], //{"breakGroup":["headlight_grille_R","headlight_bumper_R"]}, //["he3r","fb1r","g2r"], //{"breakGroup":"headlight_fender_R"}, //["he2r","fe14r","he4r"], //["fe13r","fe14r","he2r"], //{"breakGroup":["headlight_bumper_R","headlight_fender_R"]}, //["he4r", "fe14r", "fb4rr"], //{"breakGroup":"headlight_bumper_R"}, //["he4r", "fb1rr", "fb1r"], //["he4r", "fb1r", "he3r"], //["he4r", "fb4rr", "fb1rr"], //{"optional":false}, //{"breakGroup":""} ], }, "E36_headlight_L": { "information":{ "authors":"BeamNG", "name":"Left Headlight", "value":70, } "slotType" : "E36_headlight_L", "slots": [ ["type", "default", "description"] ["E36_headlight_L_lid","", "Left Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_L", ["E36_headlight_L"]], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_L", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_lights_dmg"} ["E36_headlight_L_glass", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_L", ["E36_headlight_L"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //left {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_L"}, ["he1l", 0.36592, -1.96847, 0.64741], ["he3l", 0.36592, -1.97847, 0.55282], ["he2l", 0.62473, -1.90473, 0.64741], ["he4l", 0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5l", 0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.01} ["he1l","he2l"], ["he3l","he4l"], ["he1l","he3l"], ["he2l","he4l"], ["he1l","he4l"], ["he2l","he3l"], ["he1l","he5l"], ["he2l","he5l"], ["he3l","he5l"], ["he4l","he5l"], //attach {"deformLimitExpansion":""} {"disableTriangleBreaking":true} {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_a_L"}, ["he5l","f15ll"], ["he5l","f15l"], ["he2l","f15ll"], ["he4l","f15ll"], ["he4l", "f13ll"], ["he4l", "f11ll"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_L"}, ["he1l","f15ll"], ["he1l","f15l"], ["he3l","f15l"], ["he3l","f13ll"], ["he3l", "f13l"], ["he3l", "f11l"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2l","h4"], ["he4l","h4"], ["he1l","h4l"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_L"}, {"optional":true} ["he5l","fe13l"], {"breakGroup":"headlight_grille_L"}, ["he5l","g1l"], {"breakGroup":"headlight_bumper_L"}, ["he5l","fb1ll"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //left headlight {"group":"E36_headlight_L"}, {"dragCoef":3}, ["he1l","he3l","he4l"], ["he1l","he4l","he2l"], ["he2l","he4l","he5l"], ["he5l","he1l","he2l"], ["he5l","he3l","he1l"], ["he5l","he4l","he3l"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_L"}, //["he3l", "he1l","g2l"], //["g2l","he1l","g1l"], //{"breakGroup":["headlight_grille_L","headlight_bumper_L"]}, //["fb1l","he3l","g2l"], //{"breakGroup":"headlight_fender_L"}, //["fe14l","he2l","he4l"], //["fe14l","fe13l","he2l"], //{"breakGroup":["headlight_bumper_L","headlight_fender_L"]}, //["fe14l","he4l","fb4ll"], //{"breakGroup":"headlight_bumper_L"}, //["fb1ll","he4l","fb1l"], //["fb1l","he4l","he3l"], //["fb4ll","he4l","fb1ll"], //{"optional":false}, //{"breakGroup":""} ], } "E36_headlight_R_tun": { "information":{ "authors":"BeamNG", "name":"Right Headlight Tuning Black", "value":70, } "slotType" : "E36_headlight_R", "slots": [ ["type", "default", "description"] ["E36_headlight_R_lid","", "Right Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_R_tun", ["E36_headlight_R"]], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_R", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_R_tun", ["E36_headlight_R"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":174.5, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds", "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":174.5, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds", "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, } //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //right {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_R"}, ["he1r", -0.36592, -1.96847, 0.64741], ["he3r", -0.36592, -1.97847, 0.55282], ["he2r", -0.62473, -1.90473, 0.64741], ["he4r", -0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5r", -0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.005} ["he1r","he2r"], ["he3r","he4r"], ["he1r","he3r"], ["he2r","he4r"], ["he1r","he4r"], ["he2r","he3r"], ["he1r","he5r"], ["he2r","he5r"], ["he3r","he5r"], ["he4r","he5r"], //attach {"deformLimitExpansion":""}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"disableTriangleBreaking":true} {"breakGroup":"headlight_a_R"}, ["he5r","f15rr"], ["he5r","f15r"], ["he2r","f15rr"], ["he4r","f15rr"], ["he4r", "f13rr"], ["he4r", "f11rr"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_R"}, ["he1r","f15r"], ["he1r","f15rr"], ["he3r","f15r"], ["he3r","f13rr"], ["he3r", "f13r"], ["he3r", "f11r"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2r","h4"], ["he4r","h4"], ["he1r","h4r"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_R"}, {"optional":true} ["he5r","fe13r"], {"breakGroup":"headlight_grille_R"}, ["he5r","g1r"], {"breakGroup":"headlight_bumper_R"}, ["he5r","fb1rr"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //right headlight {"group":"E36_headlight_R"}, {"dragCoef":3}, ["he3r","he1r","he4r"], ["he4r","he1r","he2r"], ["he4r","he2r","he5r"], ["he1r","he5r","he2r"], ["he3r","he5r","he1r"], ["he4r","he5r","he3r"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_R"}, //["he1r","he3r","g2r"], //["he1r","g2r","g1r"], //{"breakGroup":["headlight_grille_R","headlight_bumper_R"]}, //["he3r","fb1r","g2r"], //{"breakGroup":"headlight_fender_R"}, //["he2r","fe14r","he4r"], //["fe13r","fe14r","he2r"], //{"breakGroup":["headlight_bumper_R","headlight_fender_R"]}, //["he4r", "fe14r", "fb4rr"], //{"breakGroup":"headlight_bumper_R"}, //["he4r", "fb1rr", "fb1r"], //["he4r", "fb1r", "he3r"], //["he4r", "fb4rr", "fb1rr"], //{"optional":false}, //{"breakGroup":""} ], } "E36_headlight_L_tun": { "information":{ "authors":"BeamNG", "name":"Left Headlight Tuning Black", "value":70, } "slotType" : "E36_headlight_L", "slots": [ ["type", "default", "description"] ["E36_headlight_L_lid","", "Left Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_L_tun", ["E36_headlight_L"]], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_L", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_L_tun", ["E36_headlight_L"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-5.5, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-5.5, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //left {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_L"}, ["he1l", 0.36592, -1.96847, 0.64741], ["he3l", 0.36592, -1.97847, 0.55282], ["he2l", 0.62473, -1.90473, 0.64741], ["he4l", 0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5l", 0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.01} ["he1l","he2l"], ["he3l","he4l"], ["he1l","he3l"], ["he2l","he4l"], ["he1l","he4l"], ["he2l","he3l"], ["he1l","he5l"], ["he2l","he5l"], ["he3l","he5l"], ["he4l","he5l"], //attach {"deformLimitExpansion":""} {"disableTriangleBreaking":true} {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_a_L"}, ["he5l","f15ll"], ["he5l","f15l"], ["he2l","f15ll"], ["he4l","f15ll"], ["he4l", "f13ll"], ["he4l", "f11ll"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_L"}, ["he1l","f15ll"], ["he1l","f15l"], ["he3l","f15l"], ["he3l","f13ll"], ["he3l", "f13l"], ["he3l", "f11l"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2l","h4"], ["he4l","h4"], ["he1l","h4l"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_L"}, {"optional":true} ["he5l","fe13l"], {"breakGroup":"headlight_grille_L"}, ["he5l","g1l"], {"breakGroup":"headlight_bumper_L"}, ["he5l","fb1ll"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //left headlight {"group":"E36_headlight_L"}, {"dragCoef":3}, ["he1l","he3l","he4l"], ["he1l","he4l","he2l"], ["he2l","he4l","he5l"], ["he5l","he1l","he2l"], ["he5l","he3l","he1l"], ["he5l","he4l","he3l"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_L"}, //["he3l", "he1l","g2l"], //["g2l","he1l","g1l"], //{"breakGroup":["headlight_grille_L","headlight_bumper_L"]}, //["fb1l","he3l","g2l"], //{"breakGroup":"headlight_fender_L"}, //["fe14l","he2l","he4l"], //["fe14l","fe13l","he2l"], //{"breakGroup":["headlight_bumper_L","headlight_fender_L"]}, //["fe14l","he4l","fb4ll"], //{"breakGroup":"headlight_bumper_L"}, //["fb1ll","he4l","fb1l"], //["fb1l","he4l","he3l"], //["fb4ll","he4l","fb1ll"], //{"optional":false}, //{"breakGroup":""} ], } "E36_headlight_R_tun2": { "information":{ "authors":"BeamNG", "name":"Right Headlight Tuning White", "value":70, } "slotType" : "E36_headlight_R", "slots": [ ["type", "default", "description"] ["E36_headlight_R_lid","", "Right Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_R_tun2", ["E36_headlight_R"]], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_R", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_R_tun", ["E36_headlight_R"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":174.5, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds", "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":174.5, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds", "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, } //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //right {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_R"}, ["he1r", -0.36592, -1.96847, 0.64741], ["he3r", -0.36592, -1.97847, 0.55282], ["he2r", -0.62473, -1.90473, 0.64741], ["he4r", -0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5r", -0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.005} ["he1r","he2r"], ["he3r","he4r"], ["he1r","he3r"], ["he2r","he4r"], ["he1r","he4r"], ["he2r","he3r"], ["he1r","he5r"], ["he2r","he5r"], ["he3r","he5r"], ["he4r","he5r"], //attach {"deformLimitExpansion":""}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"disableTriangleBreaking":true} {"breakGroup":"headlight_a_R"}, ["he5r","f15rr"], ["he5r","f15r"], ["he2r","f15rr"], ["he4r","f15rr"], ["he4r", "f13rr"], ["he4r", "f11rr"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_R"}, ["he1r","f15r"], ["he1r","f15rr"], ["he3r","f15r"], ["he3r","f13rr"], ["he3r", "f13r"], ["he3r", "f11r"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2r","h4"], ["he4r","h4"], ["he1r","h4r"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_R"}, {"optional":true} ["he5r","fe13r"], {"breakGroup":"headlight_grille_R"}, ["he5r","g1r"], {"breakGroup":"headlight_bumper_R"}, ["he5r","fb1rr"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //right headlight {"group":"E36_headlight_R"}, {"dragCoef":3}, ["he3r","he1r","he4r"], ["he4r","he1r","he2r"], ["he4r","he2r","he5r"], ["he1r","he5r","he2r"], ["he3r","he5r","he1r"], ["he4r","he5r","he3r"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_R"}, //["he1r","he3r","g2r"], //["he1r","g2r","g1r"], //{"breakGroup":["headlight_grille_R","headlight_bumper_R"]}, //["he3r","fb1r","g2r"], //{"breakGroup":"headlight_fender_R"}, //["he2r","fe14r","he4r"], //["fe13r","fe14r","he2r"], //{"breakGroup":["headlight_bumper_R","headlight_fender_R"]}, //["he4r", "fe14r", "fb4rr"], //{"breakGroup":"headlight_bumper_R"}, //["he4r", "fb1rr", "fb1r"], //["he4r", "fb1r", "he3r"], //["he4r", "fb4rr", "fb1rr"], //{"optional":false}, //{"breakGroup":""} ], } "E36_headlight_L_tun2": { "information":{ "authors":"BeamNG", "name":"Left Headlight Tuning White", "value":70, } "slotType" : "E36_headlight_L", "slots": [ ["type", "default", "description"] ["E36_headlight_L_lid","", "Left Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_L_tun2", ["E36_headlight_L"]], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_L", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_L_tun", ["E36_headlight_L"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-5.5, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":190, "g":235, "b":255, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_projector_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-5.5, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //left {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_L"}, ["he1l", 0.36592, -1.96847, 0.64741], ["he3l", 0.36592, -1.97847, 0.55282], ["he2l", 0.62473, -1.90473, 0.64741], ["he4l", 0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5l", 0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.01} ["he1l","he2l"], ["he3l","he4l"], ["he1l","he3l"], ["he2l","he4l"], ["he1l","he4l"], ["he2l","he3l"], ["he1l","he5l"], ["he2l","he5l"], ["he3l","he5l"], ["he4l","he5l"], //attach {"deformLimitExpansion":""} {"disableTriangleBreaking":true} {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_a_L"}, ["he5l","f15ll"], ["he5l","f15l"], ["he2l","f15ll"], ["he4l","f15ll"], ["he4l", "f13ll"], ["he4l", "f11ll"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_L"}, ["he1l","f15ll"], ["he1l","f15l"], ["he3l","f15l"], ["he3l","f13ll"], ["he3l", "f13l"], ["he3l", "f11l"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2l","h4"], ["he4l","h4"], ["he1l","h4l"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_L"}, {"optional":true} ["he5l","fe13l"], {"breakGroup":"headlight_grille_L"}, ["he5l","g1l"], {"breakGroup":"headlight_bumper_L"}, ["he5l","fb1ll"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //left headlight {"group":"E36_headlight_L"}, {"dragCoef":3}, ["he1l","he3l","he4l"], ["he1l","he4l","he2l"], ["he2l","he4l","he5l"], ["he5l","he1l","he2l"], ["he5l","he3l","he1l"], ["he5l","he4l","he3l"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_L"}, //["he3l", "he1l","g2l"], //["g2l","he1l","g1l"], //{"breakGroup":["headlight_grille_L","headlight_bumper_L"]}, //["fb1l","he3l","g2l"], //{"breakGroup":"headlight_fender_L"}, //["fe14l","he2l","he4l"], //["fe14l","fe13l","he2l"], //{"breakGroup":["headlight_bumper_L","headlight_fender_L"]}, //["fe14l","he4l","fb4ll"], //{"breakGroup":"headlight_bumper_L"}, //["fb1ll","he4l","fb1l"], //["fb1l","he4l","he3l"], //["fb4ll","he4l","fb1ll"], //{"optional":false}, //{"breakGroup":""} ], } "E36uk_headlight_R": { "information":{ "authors":"BeamNG", "name":"Right Headlight RHD", "value":70, } "slotType" : "E36_headlight_R", "slots": [ ["type", "default", "description"] ["E36_headlight_R_lid","", "Right Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_R", ["E36_headlight_R"]], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_R", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_lights_dmg"} ["E36_headlight_R_glass", ["E36_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.5}], {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_R", ["E36_headlight_R"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_f.dds", "texSize":1024, "shadowSoftness":0.5, }, //low beams ["lowbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":0.05}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds", "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, } //high beams ["highbeam" , "SPOTLIGHT" , "he4r", "he3r", "he2r", {"x":173, "y":180, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_R_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //right {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_R"}, ["he1r", -0.36592, -1.96847, 0.64741], ["he3r", -0.36592, -1.97847, 0.55282], ["he2r", -0.62473, -1.90473, 0.64741], ["he4r", -0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5r", -0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.005} ["he1r","he2r"], ["he3r","he4r"], ["he1r","he3r"], ["he2r","he4r"], ["he1r","he4r"], ["he2r","he3r"], ["he1r","he5r"], ["he2r","he5r"], ["he3r","he5r"], ["he4r","he5r"], //attach {"deformLimitExpansion":""}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"disableTriangleBreaking":true} {"breakGroup":"headlight_a_R"}, ["he5r","f15rr"], ["he5r","f15r"], ["he2r","f15rr"], ["he4r","f15rr"], ["he4r", "f13rr"], ["he4r", "f11rr"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_R"}, ["he1r","f15r"], ["he1r","f15rr"], ["he3r","f15r"], ["he3r","f13rr"], ["he3r", "f13r"], ["he3r", "f11r"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2r","h4"], ["he4r","h4"], ["he1r","h4r"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_R"}, {"optional":true} ["he5r","fe13r"], {"breakGroup":"headlight_grille_R"}, ["he5r","g1r"], {"breakGroup":"headlight_bumper_R"}, ["he5r","fb1rr"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //right headlight {"group":"E36_headlight_R"}, {"dragCoef":3}, ["he3r","he1r","he4r"], ["he4r","he1r","he2r"], ["he4r","he2r","he5r"], ["he1r","he5r","he2r"], ["he3r","he5r","he1r"], ["he4r","he5r","he3r"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_R"}, //["he1r","he3r","g2r"], //["he1r","g2r","g1r"], //{"breakGroup":["headlight_grille_R","headlight_bumper_R"]}, //["he3r","fb1r","g2r"], //{"breakGroup":"headlight_fender_R"}, //["he2r","fe14r","he4r"], //["fe13r","fe14r","he2r"], //{"breakGroup":["headlight_bumper_R","headlight_fender_R"]}, //["he4r", "fe14r", "fb4rr"], //{"breakGroup":"headlight_bumper_R"}, //["he4r", "fb1rr", "fb1r"], //["he4r", "fb1r", "he3r"], //["he4r", "fb4rr", "fb1rr"], //{"optional":false}, //{"breakGroup":""} ], } "E36uk_headlight_L": { "information":{ "authors":"BeamNG", "name":"Left Headlight RHD", "value":70, } "slotType" : "E36_headlight_L", "slots": [ ["type", "default", "description"] ["E36_headlight_L_lid","", "Left Headlight Lid"], ], "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["E36_headlightframe_L", ["E36_headlight_L"]], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"BMWE36_glass", "deformMaterialDamaged":"BMWE36_glass_dmg"} ["E36_headlightglass_L", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_lights_dmg"} ["E36_headlight_L_glass", ["E36_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.5}], {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"E36_lights", "deformMaterialDamaged":"E36_glass2_dmg"} ["E36_headlight_L", ["E36_headlight_L"]], {"deformGroup":""}, ], "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":120, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.09, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":65, "lightBrightness":2.0, "lightRange":140, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //low beams angled right slightly to avoid blinding oncoming traffic ["lowbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.2, "y":0.5, "z":-0.05}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":1.5, "lightRange":160, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0.2, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], { "lightInnerAngle":45, "lightOuterAngle":90, "lightBrightness":2.0, "lightRange":180, "lightColor":{"r":255, "g":207, "b":113, "a":255}, "lightAttenuation":{"x":0, "y":1, "z":1}, "lightCastShadows":true, "flareName":"vehicleHeadLightFlare", "flareScale":0, "cookieName":"vehicles/BMW_E36/TXT/e36_headlight_high_f.dds" "texSize":1024, "shadowSoftness":0.5, }, //high beams ["highbeam" , "SPOTLIGHT" , "he4l", "he3l", "he2l", {"x":-7, "y":0, "z":-9} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation": {"x":0.85, "y":0.5, "z":-0.0}, "deformGroup":"headlightglass_L_break"}], ], "nodes": [ ["id", "posX", "posY", "posZ"], //--HEADLIGHT-- //left {"selfCollision":true} {"collision":true} {"nodeMaterial":"|NM_PLASTIC"}, {"frictionCoef":0.5}, {"nodeWeight":1.0}, {"group":"E36_headlight_L"}, ["he1l", 0.36592, -1.96847, 0.64741], ["he3l", 0.36592, -1.97847, 0.55282], ["he2l", 0.62473, -1.90473, 0.64741], ["he4l", 0.62473, -1.91473, 0.55282], {"selfCollision":false} ["he5l", 0.49979, -1.85847, 0.60011], {"group":""}, ], "beams": [ ["id1:", "id2:"], //--HEADLIGHT-- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"beamSpring":1800600,"beamDamp":90}, {"beamDeform":22815,"beamStrength":49725}, //headlight main shape {"deformLimitExpansion":1.1}, {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.01} ["he1l","he2l"], ["he3l","he4l"], ["he1l","he3l"], ["he2l","he4l"], ["he1l","he4l"], ["he2l","he3l"], ["he1l","he5l"], ["he2l","he5l"], ["he3l","he5l"], ["he4l","he5l"], //attach {"deformLimitExpansion":""} {"disableTriangleBreaking":true} {"beamSpring":600600,"beamDamp":90}, {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_a_L"}, ["he5l","f15ll"], ["he5l","f15l"], ["he2l","f15ll"], ["he4l","f15ll"], ["he4l", "f13ll"], ["he4l", "f11ll"], {"beamDeform":8995,"beamStrength":12050}, {"breakGroup":"headlight_b_L"}, ["he1l","f15ll"], ["he1l","f15l"], ["he3l","f15l"], ["he3l","f13ll"], ["he3l", "f13l"], ["he3l", "f11l"], {"breakGroup":""}, {"deformGroup":""} //headlight support beams {"beamType":"|SUPPORT", "beamLongBound":4}, {"beamSpring":600600,"beamDamp":90}, {"beamDeform":11880,"beamStrength":297000}, {"optional":true}, ["he2l","h4"], ["he4l","h4"], ["he1l","h4l"], {"optional":false}, //inter part triangle breaking triggers {"beamType":"|SUPPORT", "beamLongBound":2.5}, {"beamSpring":0,"beamDamp":0}, {"beamDeform":1000,"beamStrength":1000}, {"breakGroup":"headlight_fender_L"}, {"optional":true} ["he5l","fe13l"], {"breakGroup":"headlight_grille_L"}, ["he5l","g1l"], {"breakGroup":"headlight_bumper_L"}, ["he5l","fb1ll"], {"breakGroup":""}, {"disableTriangleBreaking":false} {"optional":false} {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}, {"deformLimitExpansion":1.1}, ], "triangles": [ ["id1:","id2:","id3:"], {"groundModel":"metal"}, //left headlight {"group":"E36_headlight_L"}, {"dragCoef":3}, ["he1l","he3l","he4l"], ["he1l","he4l","he2l"], ["he2l","he4l","he5l"], ["he5l","he1l","he2l"], ["he5l","he3l","he1l"], ["he5l","he4l","he3l"], {"group":""}, //gap {"dragCoef":0}, //{"optional":true}, //{"breakGroup":"headlight_grille_L"}, //["he3l", "he1l","g2l"], //["g2l","he1l","g1l"], //{"breakGroup":["headlight_grille_L","headlight_bumper_L"]}, //["fb1l","he3l","g2l"], //{"breakGroup":"headlight_fender_L"}, //["fe14l","he2l","he4l"], //["fe14l","fe13l","he2l"], //{"breakGroup":["headlight_bumper_L","headlight_fender_L"]}, //["fe14l","he4l","fb4ll"], //{"breakGroup":"headlight_bumper_L"}, //["fb1ll","he4l","fb1l"], //["fb1l","he4l","he3l"], //["fb4ll","he4l","fb1ll"], //{"optional":false}, //{"breakGroup":""} ], } }