{
"pilot25_spadie_headlight_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Right Headlight",
        "value":210,
    },
    "slotType" : "pilot25_spadie_headlight_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["pilot25_spadie_headlight_frame_R", ["pilot25_spadie_headlight_R"]],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_headlightglass_R", ["pilot25_spadie_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>extglassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"pilot25_spadie_lights", "deformMaterialDamaged":"pilot25_spadie_chrome"},
         ["pilot25_spadie_headlight_R", ["pilot25_spadie_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.2, "y":0.6, "z":-0.0},"lightRange":50,"lightBrightness":0.7,"flareScale":0,"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, "z":-0},"lightRange":80,"lightBrightness":0.8,"flareScale":0,"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.2, "y":0.8, "z":0},"flareScale":0,"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":"pilot25_spadie_headlight_R"},
         ["hl1r",-0.549,-2.051,0.695],
         ["hl2r",-0.737,-1.856,0.77],
         ["hl3r",-0.823,-1.78,0.716],
         ["hl4r",-0.792,-1.879,0.592],
         ["hl5r",-0.633,-1.82,0.644, {"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},
          {"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":"pilot25_spadie_headlight_R"},
            {"dragCoef":5},
            ["hl3r", "hl4r", "hl2r"],
            ["hl2r", "hl4r", "hl1r"],
            ["hl2r", "hl5r", "hl3r"],
            ["hl5r", "hl4r", "hl3r"],
            ["hl1r", "hl4r", "hl5r"],
            ["hl2r", "hl1r", "hl5r"],
            {"group":""},
    ],
},
"pilot25_spadie_headlight_L": {
    "information":{
        "authors":"BeamNG",
        "name":"Left Headlight",
        "value":210,
    },
    "slotType" : "pilot25_spadie_headlight_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["pilot25_spadie_headlight_frame_L", ["pilot25_spadie_headlight_L"]],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_headlightglass_L", ["pilot25_spadie_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>extglassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"pilot25_spadie_lights", "deformMaterialDamaged":"pilot25_spadie_chrome"},
         ["pilot25_spadie_headlight_L", ["pilot25_spadie_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.2, "y":0.6, "z":0},"lightRange":50,"lightBrightness":0.7,"flareScale":0,"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, "z":0},"lightRange":80,"lightBrightness":0.8,"flareScale":0,"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.2, "y":0.8, "z":0},"flareScale":0,"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":"pilot25_spadie_headlight_L"},
         ["hl1l",0.549,-2.051,0.695],
         ["hl2l",0.737,-1.856,0.77],
         ["hl3l",0.823,-1.78,0.716],
         ["hl4l",0.792,-1.879,0.572],
         ["hl5l",0.633,-1.82,0.644, {"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},
          {"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":"pilot25_spadie_headlight_L"},
            {"dragCoef":5},
            ["hl4l", "hl3l", "hl2l"],
            ["hl4l", "hl2l", "hl1l"],
            ["hl5l", "hl2l", "hl3l"],
            ["hl4l", "hl5l", "hl3l"],
            ["hl4l", "hl1l", "hl5l"],
            ["hl1l", "hl2l", "hl5l"],
            {"group":""},
    ],
},
"tograc_headlight_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Tograc Right Headlight",
        "value":260,
    },
    "slotType" : "pilot25_spadie_headlight_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["tograc_headlight_frame_R", ["pilot25_spadie_headlight_R"]],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["tograc_headlightglass_R", ["pilot25_spadie_headlight_R"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>extglassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"pilot25_spadie_lights", "deformMaterialDamaged":"pilot25_spadie_lights"},
         ["tograc_headlight_R", ["pilot25_spadie_headlight_R"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "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"        , "hl2r", "hl1r", "hl3r", {"x":-40, "y":22, "z":-15} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":-0.1, "z":-0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0,"lightOuterAngle":80,"deformGroup":"headlightglass_R_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl2r", "hl1r", "hl3r", {"x":-35, "y":0, "z":-35} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":-0.1, "z":-0.03},"lightRange":80,"lightBrightness":0.8,"flareScale":0,"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":-20, "y":0, "z":150} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.45, "y":1.1, "z":0},"flareScale":0,"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":"pilot25_spadie_headlight_R"},
         ["hl1r",-0.572,-2.00,0.74],
         ["hl2r",-0.732,-1.9,0.72],
         ["hl3r",-0.633,-1.82,0.644, {"selfCollision":false}],
         ["hl4r",-0.695,-1.69,0.87],
         {"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},
          {"deformLimitExpansion":1.2},
          ["hl4r", "hl2r"],
          ["hl2r", "hl1r"],
          ["hl1r", "hl4r"],
          ["hl4r", "hl3r"],
          ["hl2r", "hl3r"],
          ["hl1r", "hl3r"],

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

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl2r", "f15"],
          ["hl2r", "f15rr"],
          ["hl1r", "f15rr"],
          ["hl4r", "f13rr"],
          ["hl2r", "f13rr"],
          ["hl1r", "f13rr"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl4r", "fe4r"],
          ["hl2r", "fe5r"],
          ["hl1r", "fe5r"],
          ["hl2r", "fb3rr"],
          ["hl1r", "fb3r"],
          ["hl1r", "fb1"],
          ["hl2r", "fb2rrr"],
          ["hl2r", "fb3rrr"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //right headlight
            {"groundModel":"plastic"},
            {"group":"pilot25_spadie_headlight_R"},
            {"dragCoef":5},
            ["hl4r", "hl2r", "hl1r"],
            ["hl2r", "hl3r", "hl1r"],
            ["hl4r", "hl1r", "hl3r"],
            ["hl4r", "hl3r", "hl2r"],
            {"group":""},
    ],
},
"tograc_headlight_L": {
    "information":{
        "authors":"BeamNG",
        "name":"Tograc Left Headlight",
        "value":260,
    },
    "slotType" : "pilot25_spadie_headlight_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["tograc_headlight_frame_L", ["pilot25_spadie_headlight_L"]],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["tograc_headlightglass_L", ["pilot25_spadie_headlight_L"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>extglassbreaksound3", "deformVolume":0.4}],

         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"pilot25_spadie_lights", "deformMaterialDamaged":"pilot25_spadie_lights"},
         ["tograc_headlight_L", ["pilot25_spadie_headlight_L"]],
         {"deformGroup":""},
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "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"        , "hl2l", "hl1l", "hl3l", {"x":200, "y":-10, "z":45} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":-0.1, "z":0.03},"lightRange":50,"lightBrightness":0.7,"flareScale":0,"lightOuterAngle":80,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,         "SPOTLIGHT"        , "hl2l", "hl1l", "hl3l", {"x":205, "y":-10, "z":35} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":-0.1, "z":0.03},"lightRange":80,"lightBrightness":0.8,"flareScale":0,"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":-20, "y":0, "z":30} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.45, "y":1.1, "z":0},"flareScale":0,"lightBrightness":0.04,"deformGroup":"headlightglass_L_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--HEADLIGHT--
         //left
         {"selfCollision":true},
         {"collision":true},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"frictionCoef":0.5},
         {"nodeWeight":0.6},
         {"group":"pilot25_spadie_headlight_L"},
         ["hl1l",0.572,-2.00,0.74],
         ["hl2l",0.732,-1.9,0.72],
         ["hl3l",0.633,-1.82,0.644, {"selfCollision":false}],
         ["hl4l",0.695,-1.69,0.87],
         {"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},
          {"deformLimitExpansion":1.2},
          ["hl4l", "hl2l"],
          ["hl2l", "hl1l"],
          ["hl1l", "hl4l"],
          ["hl4l", "hl3l"],
          ["hl2l", "hl3l"],
          ["hl1l", "hl3l"],

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

          //headlight support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":601000,"beamDamp":90},
          {"beamDeform":13000,"beamStrength":330000},
          ["hl2l", "f15"],
          ["hl2l", "f15ll"],
          ["hl1l", "f15ll"],
          ["hl4l", "f13ll"],
          ["hl2l", "f13ll"],
          ["hl1l", "f13ll"],
          {"beamSpring":101000,"beamDamp":20},
          ["hl4l", "fe4l"],
          ["hl2l", "fe5l"],
          ["hl1l", "fe5l"],
          ["hl2l", "fb3ll"],
          ["hl1l", "fb3l"],
          ["hl1l", "fb1"],
          ["hl2l", "fb2rll"],
          ["hl2l", "fb3rll"],
          {"optional":false},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //left headlight
            {"groundModel":"plastic"},
            {"group":"pilot25_spadie_headlight_L"},
            {"dragCoef":5},
            ["hl2l", "hl4l", "hl1l"],
            ["hl3l", "hl2l", "hl1l"],
            ["hl1l", "hl4l", "hl3l"],
            ["hl3l", "hl4l", "hl2l"],
            {"group":""},
    ],
},
}