{
"Zil130_headlight": {
    "information":{
        "authors":"BeamNG",
        "name":"Headlights Pre-Facelift",
        "value":180,
    },
    "slotType" : "Zil130_headlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //lights
         ["Zil130_headlights_frame", ["Zil130_fascia"]],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_R", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_L", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_L", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.6}],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_R", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.6}],

         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightColor":{"r":255, "g":255, "b":170, "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 angled right slightly to avoid blinding oncoming traffic
        ["lowbeam"    , "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_R_break"}],
        ["lowbeam"    , "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":-0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,   "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_R_break"}],
        ["highbeam" ,   "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":-0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_L_break"}],
     ],
},
"Zil130_headlight_chrome": {
    "information":{
        "authors":"BeamNG",
        "name":"Headlights Pre-Facelift Chrome",
        "value":180,
    },
    "slotType" : "Zil130_headlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //lights
         ["Zil130_headlights_frame_chrome", ["Zil130_fascia"]],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_R", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_L", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_L", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.6}],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_R", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.6}],

         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightColor":{"r":255, "g":255, "b":170, "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 angled right slightly to avoid blinding oncoming traffic
        ["lowbeam"    , "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_R_break"}],
        ["lowbeam"    , "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":-0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,   "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_R_break"}],
        ["highbeam" ,   "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":-0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_L_break"}],
     ],
},
"Zil130_headlight_rest_old": {
    "information":{
        "authors":"BeamNG",
        "name":"Headlights Facelift Rannie",
        "value":180,
    },
    "slotType" : "Zil130_headlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //lights
         ["Zil130_headlights_frame_pozdnold", ["Zil130_fascia"]],
         ["Zil130_headlights_povorotniki", ["Zil130_fascia"]],
         ["Zil130_headlightglass_povorotnik_R", ["Zil130_fascia"]],
         ["Zil130_headlightglass_povorotnik_L", ["Zil130_fascia"]],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_R", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_L", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_L_pozdn", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.6}],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_R_pozdn", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.6}],

         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightColor":{"r":255, "g":255, "b":170, "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 angled right slightly to avoid blinding oncoming traffic
        ["lowbeam"    , "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_R_break"}],
        ["lowbeam"    , "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":-0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,   "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_R_break"}],
        ["highbeam" ,   "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":-0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_L_break"}],
     ],
},
"Zil130_headlight_rest": {
    "information":{
        "authors":"BeamNG",
        "name":"Headlights Facelift",
        "value":180,
    },
    "slotType" : "Zil130_headlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //lights
         ["Zil130_headlights_frame_pozdn", ["Zil130_fascia"]],
         ["Zil130_headlights_povorotniki_rest", ["Zil130_fascia"]],
         ["Zil130_headlightglass_povorotnik", ["Zil130_fascia"]],

         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_R", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_lights", "deformMaterialDamaged":"Zil130_lights_dmg"},
         ["Zil130_headlights_L", ["Zil130_fascia"]],
         {"deformGroup":"headlightglass_L_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_L_pozdn", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound3", "deformVolume":0.6}],
         {"deformGroup":"headlightglass_R_break", "deformMaterialBase":"Zil130_glass", "deformMaterialDamaged":"Zil130_glass_dmg"},
         ["Zil130_headlightglass_R_pozdn", ["Zil130_fascia"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound4", "deformVolume":0.6}],

         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightInnerAngle":0,
            "lightOuterAngle":120,
            "lightColor":{"r":255, "g":255, "b":170, "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 angled right slightly to avoid blinding oncoming traffic
        ["lowbeam"    , "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_R_break"}],
        ["lowbeam"    , "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":10} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.45, "z":-0.01},"lightRange":50,"lightBrightness":0.4,"lightOuterAngle":95,"flareScale":0.07,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,   "SPOTLIGHT"        , "he1rr", "h15rr", "he2rr", {"x":190, "y":65, "z":-5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_R_break"}],
        ["highbeam" ,   "SPOTLIGHT"        , "he1ll", "h15ll", "he2ll", {"x":-20, "y":65, "z":5} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.4, "y":0.7, "z":-0.01},"lightRange":80,"lightBrightness":0.8,"lightOuterAngle":80,"flareScale":0.08,"deformGroup":"headlightglass_L_break"}],
     ],
},
}