{
"xc90_headlight_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Right Headlight",
        "value":210,
    },
    "slotType" : "xc90_headlight_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
		 ["xc90_headlightframe_R", ["xc90_headlight_R"]],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"xc90_glass", "deformMaterialDamaged":"xc90_glass_dmg"},
         ["xc90_headlightglass_R", ["xc90_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"xc90_lights", "deformMaterialDamaged":"xc90_lights"},
         ["xc90_headlight_R", ["xc90_headlight_R"]],
         ["xc90_headlight_R2", ["xc90_headlight_R"]],
		 ["xc90_headlight_R3", ["xc90_headlight_R"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":70,
            "lightOuterAngle":80,
            "lightColor":{"r":235, "g":235, "b":255, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":true,
            "flareName":"vehicleHeadLightFlare",
            "cookieName":"art/special/BNG_light_cookie_headlight.dds"
            "texSize":512,
            "shadowSoftness":0.5,
        },
        //low beams
        ["lowhighbeam"    , "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":203, "y":-30, "z":45} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.2, "z":0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0.05,"lightOuterAngle":80,"deformGroup":"headlightglass_R_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":210, "y":0, "z":30} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":0.4, "z":0.06},"lightRange":80,"lightBrightness":0.8,"flareScale":0.07,"lightOuterAngle":80,"deformGroup":"headlightglass_R_break"}],
        //signal
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":8,
            "lightColor":{"r":255, "g":200, "b":20, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":false,
            "flareName":"vehicleBrakeLightFlare",
        },
        ["signal_R"    , "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":-40, "y":0, "z":200} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.6, "z":0.03},"flareScale":0.02,"lightBrightness":0.04,"deformGroup":"headlightglass_R_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--HEADLIGHT--
         //right
         {"selfCollision":true},
         {"collision":true},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"frictionCoef":0.5},
         {"nodeWeight":0.6},
         {"group":"xc90_headlight_R"},
         ["hl1r", -0.56444, -2.22513, 0.74909],
         ["hl2r", -0.59851, -2.17640, 0.84670],
         ["hl3r", -0.82507, -1.95830, 0.88101],
         ["hl4r", -0.82448, -2.02320, 0.77675],
         ["hl5r", -0.65735, -1.98474, 0.80284, {"selfCollision":false}],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--HEADLIGHT--
          {"beamSpring":1001000,"beamDamp":60},
          {"beamDeform":22000,"beamStrength":"FLT_MAX"},
          //headlight main shape
          {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.05},
          {"deformLimitExpansion":1.2},
          ["hl3r", "hl2r"],
          ["hl2r", "hl1r"],
          ["hl1r", "hl4r"],
          ["hl3r", "hl4r"],
          ["hl4r", "hl2r"],
          ["hl3r", "hl1r"],
          ["hl5r", "hl1r"],
          ["hl5r", "hl2r"],
          ["hl5r", "hl3r"],
          ["hl5r", "hl4r"],

          //attach
          {"beamSpring":501000,"beamDamp":60},
          {"beamDeform":6000,"beamStrength":24000},
          {"deformLimitExpansion":""},
          {"breakGroup":"headlight_a_R"},
          ["f15r", "hl1r"],
          ["f13rr", "hl1r"],
          ["hl1r", "f15rr"],
          ["hl4r", "f13rr"],
          ["hl5r", "f15r"],
          {"breakGroup":"headlight_b_R"},
          ["f15rr", "hl2r"],
          ["f15r", "hl2r"],
          ["hl2r", "f12rr"],
          ["hl3r", "f15rr"],
          ["hl5r", "f15rr"],
          ["hl4r", "f15rr"],
          {"optional":true},
          {"beamSpring":201000,"beamDamp":20},
          {"beamDeform":2000,"beamStrength":9000},
          {"breakGroup":"headlight_c_R"},
          ["hl4r", "fb2rr"],
          ["hl4r", "fb2rrr"],
          ["hl4r", "fb2r"],
          ["hl4r", "fb1rr"],
          ["hl3r", "fb1rr"],
          ["hl3r", "fb2rrr"],
          ["hl3r", "f15rr"],
          ["hl3r", "fe5r"],
          {"deformGroup":""},
          {"breakGroup":""},

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl3r", "fb3rrr"],
          ["hl4r", "fb3rr"],
          ["hl1r", "fb2r"],
          ["hl1r", "fb1r"],
          ["hl3r", "fb2rrr"],
          ["hl4r", "fb2rrr"],
          ["hl4r", "fb2r"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl2r", "fe8r"],
          ["hl3r", "fe4r"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //right headlight
            {"groundModel":"plastic"},
            {"group":"xc90_headlight_R"},
            {"dragCoef":5},
            ["hl3r", "hl4r", "hl2r"],
            ["hl2r", "hl4r", "hl1r"],
            ["hl2r", "hl5r", "hl3r"],
            ["hl5r", "hl4r", "hl3r"],
            ["hl1r", "hl4r", "hl5r"],
            ["hl2r", "hl1r", "hl5r"],
            {"group":""},
    ],
},
"xc90_headlight_R_usdm": {
    "information":{
        "authors":"BeamNG",
        "name":"USDM Right Headlight",
        "value":210,
    },
    "slotType" : "xc90_headlight_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
		 ["xc90_headlightframe_R_usdm", ["xc90_headlight_R"]],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"xc90_glass", "deformMaterialDamaged":"xc90_glass_dmg"},
         ["xc90_headlightglass_R", ["xc90_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"xc90_lights", "deformMaterialDamaged":"xc90_lights"},
         ["xc90_headlight_R", ["xc90_headlight_R"]],
         ["xc90_headlight_R2", ["xc90_headlight_R"]],
		 ["xc90_headlight_R3", ["xc90_headlight_R"]],
		 ["xc90_headlightframe_R_usdm_reflector", ["xc90_headlight_R"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":70,
            "lightOuterAngle":80,
            "lightColor":{"r":235, "g":235, "b":255, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":true,
            "flareName":"vehicleHeadLightFlare",
            "cookieName":"art/special/BNG_light_cookie_headlight.dds"
            "texSize":512,
            "shadowSoftness":0.5,
        },
        //low beams
        ["lowhighbeam"    , "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":203, "y":-30, "z":45} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.2, "z":0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0.05,"lightOuterAngle":80,"deformGroup":"headlightglass_R_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":210, "y":0, "z":30} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":0.4, "z":0.06},"lightRange":80,"lightBrightness":0.8,"flareScale":0.07,"lightOuterAngle":80,"deformGroup":"headlightglass_R_break"}],
        //signal
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":8,
            "lightColor":{"r":255, "g":200, "b":20, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":false,
            "flareName":"vehicleBrakeLightFlare",
        },
        ["signal_R"    , "SPOTLIGHT"        , "hl4r", "hl1r", "hl2r", {"x":-40, "y":0, "z":200} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.6, "z":0.03},"flareScale":0.02,"lightBrightness":0.04,"deformGroup":"headlightglass_R_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--HEADLIGHT--
         //right
         {"selfCollision":true},
         {"collision":true},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"frictionCoef":0.5},
         {"nodeWeight":0.6},
         {"group":"xc90_headlight_R"},
         ["hl1r", -0.56444, -2.22513, 0.74909],
         ["hl2r", -0.59851, -2.17640, 0.84670],
         ["hl3r", -0.82507, -1.95830, 0.88101],
         ["hl4r", -0.82448, -2.02320, 0.77675],
         ["hl5r", -0.65735, -1.98474, 0.80284, {"selfCollision":false}],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--HEADLIGHT--
          {"beamSpring":1001000,"beamDamp":60},
          {"beamDeform":22000,"beamStrength":"FLT_MAX"},
          //headlight main shape
          {"deformGroup":"headlightglass_R_break", "deformationTriggerRatio":0.05},
          {"deformLimitExpansion":1.2},
          ["hl3r", "hl2r"],
          ["hl2r", "hl1r"],
          ["hl1r", "hl4r"],
          ["hl3r", "hl4r"],
          ["hl4r", "hl2r"],
          ["hl3r", "hl1r"],
          ["hl5r", "hl1r"],
          ["hl5r", "hl2r"],
          ["hl5r", "hl3r"],
          ["hl5r", "hl4r"],

          //attach
          {"beamSpring":501000,"beamDamp":60},
          {"beamDeform":6000,"beamStrength":24000},
          {"deformLimitExpansion":""},
          {"breakGroup":"headlight_a_R"},
          ["f15r", "hl1r"],
          ["f13rr", "hl1r"],
          ["hl1r", "f15rr"],
          ["hl4r", "f13rr"],
          ["hl5r", "f15r"],
          {"breakGroup":"headlight_b_R"},
          ["f15rr", "hl2r"],
          ["f15r", "hl2r"],
          ["hl2r", "f12rr"],
          ["hl3r", "f15rr"],
          ["hl5r", "f15rr"],
          ["hl4r", "f15rr"],
          {"optional":true},
          {"beamSpring":201000,"beamDamp":20},
          {"beamDeform":2000,"beamStrength":9000},
          {"breakGroup":"headlight_c_R"},
          ["hl4r", "fb2rr"],
          ["hl4r", "fb2rrr"],
          ["hl4r", "fb2r"],
          ["hl4r", "fb1rr"],
          ["hl3r", "fb1rr"],
          ["hl3r", "fb2rrr"],
          ["hl3r", "f15rr"],
          ["hl3r", "fe5r"],
          {"deformGroup":""},
          {"breakGroup":""},

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl3r", "fb3rrr"],
          ["hl4r", "fb3rr"],
          ["hl1r", "fb2r"],
          ["hl1r", "fb1r"],
          ["hl3r", "fb2rrr"],
          ["hl4r", "fb2rrr"],
          ["hl4r", "fb2r"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl2r", "fe8r"],
          ["hl3r", "fe4r"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //right headlight
            {"groundModel":"plastic"},
            {"group":"xc90_headlight_R"},
            {"dragCoef":5},
            ["hl3r", "hl4r", "hl2r"],
            ["hl2r", "hl4r", "hl1r"],
            ["hl2r", "hl5r", "hl3r"],
            ["hl5r", "hl4r", "hl3r"],
            ["hl1r", "hl4r", "hl5r"],
            ["hl2r", "hl1r", "hl5r"],
            {"group":""},
    ],
},
"xc90_headlight_L": {
    "information":{
        "authors":"BeamNG",
        "name":"Left Headlight",
        "value":210,
    },
    "slotType" : "xc90_headlight_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["xc90_headlightframe_L", ["xc90_headlight_L"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"xc90_glass", "deformMaterialDamaged":"xc90_glass_dmg"},
         ["xc90_headlightglass_L", ["xc90_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"xc90_lights", "deformMaterialDamaged":"xc90_lights"},
         ["xc90_headlight_L", ["xc90_headlight_L"]],
		 ["xc90_headlight_L2", ["xc90_headlight_L"]],
		 ["xc90_headlight_L3", ["xc90_headlight_L"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":50,
            "lightColor":{"r":235, "g":235, "b":255, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":true,
            "flareName":"vehicleHeadLightFlare",
            "cookieName":"art/special/BNG_light_cookie_headlight.dds"
            "texSize":512,
            "shadowSoftness":0.5,
        },
        //low beams
        ["lowhighbeam"    , "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-39, "y":-5, "z":-49} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.2, "z":-0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0.05,"lightOuterAngle":80,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-35, "y":-5, "z":-39} , {"x":0, "y":0, "z":0}    , {"x":1, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":0.4, "z":-0.06},"lightRange":80,"lightBrightness":0.8,"flareScale":0.07,"lightOuterAngle":80,"deformGroup":"headlightglass_L_break"}],
        //signal
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":8,
            "lightColor":{"r":255, "g":200, "b":20, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":false,
            "flareName":"vehicleBrakeLightFlare",
        },
        ["signal_L"    , "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-40, "y":0, "z":-20} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.6, "z":-0.03},"flareScale":0.02,"lightBrightness":0.04,"deformGroup":"headlightglass_L_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--HEADLIGHT--
         //right
         {"selfCollision":true},
         {"collision":true},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"frictionCoef":0.5},
         {"nodeWeight":0.6},
         {"group":"xc90_headlight_L"},
         ["hl1l", 0.56444, -2.22513, 0.74909],
         ["hl2l", 0.59851, -2.17640, 0.84670],
         ["hl3l", 0.82507, -1.95830, 0.88101],
         ["hl4l", 0.82448, -2.02320, 0.75503],
         ["hl5l", 0.65735, -1.98474, 0.80284, {"selfCollision":false}],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--HEADLIGHT--
          {"beamSpring":1001000,"beamDamp":60},
          {"beamDeform":22000,"beamStrength":"FLT_MAX"},
          //headlight main shape
          {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.05},
          {"deformLimitExpansion":1.2},
          ["hl3l", "hl2l"],
          ["hl2l", "hl1l"],
          ["hl1l", "hl4l"],
          ["hl3l", "hl4l"],
          ["hl4l", "hl2l"],
          ["hl3l", "hl1l"],
          ["hl5l", "hl1l"],
          ["hl5l", "hl2l"],
          ["hl5l", "hl3l"],
          ["hl5l", "hl4l"],

          //attach
          {"beamSpring":501000,"beamDamp":60},
          {"beamDeform":6000,"beamStrength":24000},
          {"deformLimitExpansion":""},
          {"breakGroup":"headlight_a_L"},
          ["f15l", "hl1l"],
          ["f13ll", "hl1l"],
          ["hl1l", "f15ll"],
          ["hl4l", "f13ll"],
          ["hl5l", "f15l"],
          {"breakGroup":"headlight_b_L"},
          ["f15ll", "hl2l"],
          ["f15l", "hl2l"],
          ["hl2l", "f12ll"],
          ["hl3l", "f15ll"],
          ["hl5l", "f15ll"],
          ["hl4l", "f15ll"],
          {"optional":true},
          {"beamSpring":201000,"beamDamp":20},
          {"beamDeform":2000,"beamStrength":9000},
          {"breakGroup":"headlight_c_L"},
          ["hl4l", "fb2ll"],
          ["hl4l", "fb2lll"],
          ["hl4l", "fb2l"],
          ["hl4l", "fb1ll"],
          ["hl3l", "fb1ll"],
          ["hl3l", "fb2lll"],
          ["hl3l", "f15ll"],
          ["hl3l", "fe5l"],
          {"deformGroup":""},
          {"breakGroup":""},

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl3l", "fb3lll"],
          ["hl4l", "fb3ll"],
          ["hl1l", "fb2l"],
          ["hl1l", "fb1l"],
          ["hl3l", "fb2lll"],
          ["hl4l", "fb2lll"],
          ["hl4l", "fb2l"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl2l", "fe8l"],
          ["hl3l", "fe4l"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //left headlight
            {"groundModel":"plastic"},
            {"group":"xc90_headlight_L"},
            {"dragCoef":5},
            ["hl4l", "hl3l", "hl2l"],
            ["hl4l", "hl2l", "hl1l"],
            ["hl5l", "hl2l", "hl3l"],
            ["hl4l", "hl5l", "hl3l"],
            ["hl4l", "hl1l", "hl5l"],
            ["hl1l", "hl2l", "hl5l"],
            {"group":""},
    ],
},
"xc90_headlight_L_usdm": {
    "information":{
        "authors":"BeamNG",
        "name":"USDM Left Headlight",
        "value":210,
    },
    "slotType" : "xc90_headlight_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["xc90_headlightframe_L_usdm", ["xc90_headlight_L"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"xc90_glass", "deformMaterialDamaged":"xc90_glass_dmg"},
         ["xc90_headlightglass_L", ["xc90_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"xc90_lights", "deformMaterialDamaged":"xc90_lights"},
         ["xc90_headlight_L", ["xc90_headlight_L"]],
		 ["xc90_headlight_L2", ["xc90_headlight_L"]],
		 ["xc90_headlight_L3", ["xc90_headlight_L"]],
		 ["xc90_headlightframe_L_usdm_reflector", ["xc90_headlight_L"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":50,
            "lightColor":{"r":235, "g":235, "b":255, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":true,
            "flareName":"vehicleHeadLightFlare",
            "cookieName":"art/special/BNG_light_cookie_headlight.dds"
            "texSize":512,
            "shadowSoftness":0.5,
        },
        //low beams
        ["lowhighbeam"    , "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-39, "y":-5, "z":-49} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.2, "z":-0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0.05,"lightOuterAngle":80,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-35, "y":-5, "z":-39} , {"x":0, "y":0, "z":0}    , {"x":1, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":0.4, "z":-0.06},"lightRange":80,"lightBrightness":0.8,"flareScale":0.07,"lightOuterAngle":80,"deformGroup":"headlightglass_L_break"}],
        //signal
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightRange":8,
            "lightColor":{"r":255, "g":200, "b":20, "a":255},
            "lightAttenuation":{"x":0, "y":1, "z":1},
            "lightCastShadows":false,
            "flareName":"vehicleBrakeLightFlare",
        },
        ["signal_L"    , "SPOTLIGHT"        , "hl4l", "hl1l", "hl2l", {"x":-40, "y":0, "z":-20} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.0, "y":0.6, "z":0.03},"flareScale":0.02,"lightBrightness":0.04,"deformGroup":"headlightglass_L_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--HEADLIGHT--
         //right
         {"selfCollision":true},
         {"collision":true},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"frictionCoef":0.5},
         {"nodeWeight":0.6},
         {"group":"xc90_headlight_L"},
         ["hl1l", 0.56444, -2.22513, 0.74909],
         ["hl2l", 0.59851, -2.17640, 0.84670],
         ["hl3l", 0.82507, -1.95830, 0.88101],
         ["hl4l", 0.82448, -2.02320, 0.75503],
         ["hl5l", 0.65735, -1.98474, 0.80284, {"selfCollision":false}],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //--HEADLIGHT--
          {"beamSpring":1001000,"beamDamp":60},
          {"beamDeform":22000,"beamStrength":"FLT_MAX"},
          //headlight main shape
          {"deformGroup":"headlightglass_L_break", "deformationTriggerRatio":0.05},
          {"deformLimitExpansion":1.2},
          ["hl3l", "hl2l"],
          ["hl2l", "hl1l"],
          ["hl1l", "hl4l"],
          ["hl3l", "hl4l"],
          ["hl4l", "hl2l"],
          ["hl3l", "hl1l"],
          ["hl5l", "hl1l"],
          ["hl5l", "hl2l"],
          ["hl5l", "hl3l"],
          ["hl5l", "hl4l"],

          //attach
          {"beamSpring":501000,"beamDamp":60},
          {"beamDeform":6000,"beamStrength":24000},
          {"deformLimitExpansion":""},
          {"breakGroup":"headlight_a_L"},
          ["f15l", "hl1l"],
          ["f13ll", "hl1l"],
          ["hl1l", "f15ll"],
          ["hl4l", "f13ll"],
          ["hl5l", "f15l"],
          {"breakGroup":"headlight_b_L"},
          ["f15ll", "hl2l"],
          ["f15l", "hl2l"],
          ["hl2l", "f12ll"],
          ["hl3l", "f15ll"],
          ["hl5l", "f15ll"],
          ["hl4l", "f15ll"],
          {"optional":true},
          {"beamSpring":201000,"beamDamp":20},
          {"beamDeform":2000,"beamStrength":9000},
          {"breakGroup":"headlight_c_L"},
          ["hl4l", "fb2ll"],
          ["hl4l", "fb2lll"],
          ["hl4l", "fb2l"],
          ["hl4l", "fb1ll"],
          ["hl3l", "fb1ll"],
          ["hl3l", "fb2lll"],
          ["hl3l", "f15ll"],
          ["hl3l", "fe5l"],
          {"deformGroup":""},
          {"breakGroup":""},

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl3l", "fb3lll"],
          ["hl4l", "fb3ll"],
          ["hl1l", "fb2l"],
          ["hl1l", "fb1l"],
          ["hl3l", "fb2lll"],
          ["hl4l", "fb2lll"],
          ["hl4l", "fb2l"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl2l", "fe8l"],
          ["hl3l", "fe4l"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //left headlight
            {"groundModel":"plastic"},
            {"group":"xc90_headlight_L"},
            {"dragCoef":5},
            ["hl4l", "hl3l", "hl2l"],
            ["hl4l", "hl2l", "hl1l"],
            ["hl5l", "hl2l", "hl3l"],
            ["hl4l", "hl5l", "hl3l"],
            ["hl4l", "hl1l", "hl5l"],
            ["hl1l", "hl2l", "hl5l"],
            {"group":""},
    ],
},
}