{
"Kamaz_headlight": {
    "information":{
        "authors":"BeamNG",
        "name":"Headlights",
        "value":180,
    },
    "slotType" : "Kamaz_headlights",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["Kamaz_headlight_R", ["Kamaz_bumper_F"]],
         ["Kamaz_headlight_L", ["Kamaz_bumper_F"]],
    ],
    "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"        , "dc5rr", "dc3r", "dc3rr", {"x":5,"y":-170,"z":-170}, {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":-0.55, "z":-0.16},"lightRange":150,"lightBrightness":1.4,"lightOuterAngle":115,"flareScale":0.12,"deformGroup":"headlightglass_R_break"}],
        ["lowbeam"    , "SPOTLIGHT"        , "dc5ll", "dc3l", "dc3ll", {"x":175,"y":-170,"z":170}, {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":-0.55, "z":0.16},"lightRange":150,"lightBrightness":1.4,"lightOuterAngle":115,"flareScale":0.12,"deformGroup":"headlightglass_L_break"}],
        //high beams
        ["highbeam" ,   "SPOTLIGHT"        , "dc5rr", "dc3r", "dc3rr", {"x":5,"y":-170,"z":-170}, {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":-0.55, "z":-0.16},"lightRange":180,"lightBrightness":2,"lightOuterAngle":120,"flareScale":0.14,"deformGroup":"headlightglass_R_break"}],
        ["highbeam" ,   "SPOTLIGHT"        , "dc5ll", "dc3l", "dc3ll", {"x":175,"y":-170,"z":170}, {"x":0, "y":0, "z":0}    , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":-0.55, "z":0.16},"lightRange":180,"lightBrightness":2,"lightOuterAngle":120,"flareScale":0.14,"deformGroup":"headlightglass_L_break"}],
     ],
},
}