{
"s4b8_flashers": {
    "information":{
        "authors":"BeamNG",
        "name":"Blue Flashers",
        "value":200,
    },
    "slotType" : "s4b8_flashers",
    "controller": [
        ["fileName"],
        ["lightbar", {
            "defaultModeIndex": 1,
            "name":"flashers",
            "modes": [
                ["name", "config"],
                ["Chase", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 1, 0.1],
                        ["lightbar_b", 0, 0.1],
                        ["lightbar_b", 1, 0.05],
                        ["lightbar_b", 0, 0.05],
                        ["lightbar_b", 1, 0.2],
                        ["lightbar_b", 0, 0.35],
                    ],
                    ]
                    ["Scene", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 1, 0.1],
                        ["lightbar_b", 0, 0.1],
                        ["lightbar_b", 1, 0.05],
                        ["lightbar_b", 0, 0.05],
                        ["lightbar_b", 1, 0.2],
                        ["lightbar_b", 0, 0.35],
                    ],
                    ],
            ],
        }],
    ],
    "glowMap":{
            "generic_flasher_led_L":                   {"simpleFunction":"lightbar_b", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
            "generic_flasher_led_R":                   {"simpleFunction":"lightbar_b", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
        },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
        "lightInnerAngle":0,
            "lightOuterAngle":90,
            "lightBrightness":1.0,
            "lightRange":10,
            "lightColor":{"r":0, "g":0, "b":255, "a":255}
            "flareName":"vehicleBrakeLightFlare",
            "lightCastShadows":false,
            "texSize":64,
            "shadowSoftness":1,
            "flareScale":0.01,
            "cookieName":"/art/special/BNG_light_cookie_lightbar.dds"
        }
        ["lightbar_b"    , "SPOTLIGHT"        , "fb2", "fb2r", "fb1", {"x":-50, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.37, "y":2.0, "z":0.02},"deformGroup":"frontflashers_break"}],
        ["lightbar_b"    , "SPOTLIGHT"        , "fb2", "fb2l", "fb1", {"x":-50, "y":0, "z":180} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.37, "y":2.0, "z":-0.02},"deformGroup":"frontflashers_break"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        {"deformGroup":"frontflashers_break", "deformMaterialBase":"policeparts_lights_white", "deformMaterialDamaged":"policeparts_lights_white"},
        ["generic_flasher_led_R", ["s4b8_bumper_F"], [], {"pos":{"x": -0.23, "y":-2.19, "z":0.61}, "rot":{"x":-15, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
        ["generic_flasher_led_L", ["s4b8_bumper_F"], [], {"pos":{"x": 0.23, "y":-2.19, "z":0.61}, "rot":{"x":-15, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
        {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
    ],
},
"s4b8_flashers_us": {
    "information":{
        "authors":"BeamNG",
        "name":"Blue & Red Flashers",
        "value":200,
    },
    "slotType" : "s4b8_flashers",
    "controller": [
        ["fileName"],
        ["lightbar", {
            "defaultModeIndex": 1,
            "name":"flashers",
            "modes": [
                ["name", "config"],
                ["Chase", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 1, 0.1],
                        ["lightbar_b", 0, 0.1],
                        ["lightbar_b", 1, 0.05],
                        ["lightbar_b", 0, 0.05],
                        ["lightbar_b", 1, 0.2],
                        ["lightbar_b", 0, 0.35],
                        ["lightbar_c", 0, 0.1],
                        ["lightbar_c", 1, 0.1],
                        ["lightbar_c", 0, 0.05],
                        ["lightbar_c", 1, 0.05],
                        ["lightbar_c", 0, 0.2],
                        ["lightbar_c", 1, 0.35],
                    ],
                    ]
                    ["Scene", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 1, 0.1],
                        ["lightbar_b", 0, 0.1],
                        ["lightbar_b", 1, 0.05],
                        ["lightbar_b", 0, 0.05],
                        ["lightbar_b", 1, 0.2],
                        ["lightbar_b", 0, 0.35],
                        ["lightbar_c", 1, 0.1],
                        ["lightbar_c", 0, 0.1],
                        ["lightbar_c", 1, 0.05],
                        ["lightbar_c", 0, 0.05],
                        ["lightbar_c", 1, 0.2],
                        ["lightbar_c", 0, 0.35],
                    ],
                    ],
                    ["Left Signal", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 0, 0],
                        ["lightbar_c", 0, 0],
                    ],
                    ],
                    ["Right Signal", [
                    ["electric", "value", "duration"],
                        ["lightbar_b", 0, 0],
                        ["lightbar_c", 0, 0],
                    ],
                    ],
            ],
        }],
    ],
    "glowMap":{
            "generic_flasher_led_L":                   {"simpleFunction":"lightbar_b", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
            "generic_flasher_led_R":                   {"simpleFunction":"lightbar_c", "off":"policeparts_lights_red", "on":"policeparts_lights_red_on"},
        },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
        "lightInnerAngle":0,
            "lightOuterAngle":90,
            "lightBrightness":1.0,
            "lightRange":10,
            "lightColor":{"r":255, "g":0, "b":0, "a":255}
            "flareName":"vehicleBrakeLightFlare",
            "lightCastShadows":false,
            "texSize":64,
            "shadowSoftness":1,
            "flareScale":0.01,
            "cookieName":"/art/special/BNG_light_cookie_lightbar.dds"
        }
        ["lightbar_c"    , "SPOTLIGHT"        , "fb2", "fb2r", "fb1", {"x":-50, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.37, "y":2.0, "z":0.02},"deformGroup":"frontflashers_break"}],
        {"lightColor":{"r":0, "g":0, "b":255, "a":255}},
        ["lightbar_b"    , "SPOTLIGHT"        , "fb2", "fb2l", "fb1", {"x":-50, "y":0, "z":180} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.37, "y":2.0, "z":-0.02},"deformGroup":"frontflashers_break"}],
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        {"deformGroup":"frontflashers_break", "deformMaterialBase":"policeparts_lights_white", "deformMaterialDamaged":"policeparts_lights_white"},
        ["generic_flasher_led_R", ["s4b8_bumper_F"], [], {"pos":{"x": -0.23, "y":-2.19, "z":0.61}, "rot":{"x":-15, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
        ["generic_flasher_led_L", ["s4b8_bumper_F"], [], {"pos":{"x": 0.23, "y":-2.19, "z":0.61}, "rot":{"x":-15, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
        {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
    ],
},
"s4b8_flashers_us_alt": {
    "information":{
        "authors":"BeamNG",
        "name":"Blue & Red Concealed Flashers",
        "value":200,
    },
    "slotType" : "s4b8_lightbar",
    "slots": [
        ["type", "default", "description"],
        ["s4b8_flashers","s4b8_flashers_us", "Bumper Flashers"],
        ["soundscape_siren","soundscape_siren_20", "Siren Audio"],
    ],
    "soundscape": [
        ["name", "src"],
        //affects siren location because siren soundscape part is loaded after
        {"node:":"f13ll"}
    ],
    "controller": [
        ["fileName"],
        ["lightbar", {
          "defaultModeIndex": 1,
          "modes": [
              ["name", "config"],
              ["Chase", [
                  ["electric", "value", "duration"],
                    ["blue_4", 1, 0.2],
                    ["blue_4", 0, 0.1],
                    ["blue_4", 1, 0.05],
                    ["blue_4", 0, 0.1],
                    ["blue_4", 1, 0.05],
                    ["blue_4", 0, 0.2],

                    ["red_4", 0, 0.1],
                    ["red_4", 1, 0.1],
                    ["red_4", 0, 0.1],
                    ["red_4", 1, 0.3],
                  ],
              ],
              ["Scene", [
                  ["electric", "value", "duration"],
                    ["blue_4", 1, 0.3],
                    ["blue_4", 0, 0.3],
                    ["blue_4", 1, 0.3],
                    ["blue_4", 0, 0.3],

                    ["red_4", 0, 0.3],
                    ["red_4", 1, 0.3],
                    ["red_4", 0, 0.3],
                    ["red_4", 1, 0.3],
                  ],
              ],
              ["Left Signal", [
                  ["electric", "value", "duration"],
                    ["red_4", 1, 0.2],
                    ["blue_4", 0, 0.2],
                    ["red_4", 0, 0.2],
                    ["blue_4", 1, 0.2],
                  ],
              ],
              ["Right Signal", [
                  ["electric", "value", "duration"],
                    ["red_4", 1, 0.2],
                    ["blue_4", 0, 0.2],
                    ["red_4", 0, 0.2],
                    ["blue_4", 1, 0.2],
                  ],
              ]
          ]
        }]
    ],
    "glowMap":{
          "generic_flasher_led_L_b":                   {"simpleFunction":"red_4", "off":"policeparts_lights_red", "on":"policeparts_lights_red_on"},
          "generic_flasher_led_R_b":                   {"simpleFunction":"blue_4", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        {"deformGroup":"windshield_break", "deformMaterialBase":"policeparts_lights_white", "deformMaterialDamaged":"policeparts_lights_white"},
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.47,  "y":-0.255, "z":1.306}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.405, "y":-0.255, "z":1.308}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.340, "y":-0.255, "z":1.31}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.47,  "y":-0.255, "z":1.306}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.405, "y":-0.255, "z":1.308}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.340, "y":-0.255, "z":1.31}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}]
        {"deformGroup":""},
    ]
    "props": [
       ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
       {
          "lightInnerAngle":0,
          "lightOuterAngle":70,
          "lightBrightness":1.0,
          "lightRange":15,
          "lightColor":{"r":0, "g":0, "b":255, "a":250}
          "flareName":"vehicleBrakeLightFlare",
          "lightCastShadows":false,
          "texSize":64,
          "shadowSoftness":1,
          "flareScale":0.04,
          "cookieName":"/art/special/BNG_light_cookie_lightbar.dds",
       }
       ["blue_4"    , "SPOTLIGHT"        , "rf1", "rf1l", "rf2", {"x":-100, "y":0, "z":180} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.2, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.68, "y":-0.15, "z":0.05},"deformGroup":"windshield_break"}],
       {
           "lightColor":{"r":255, "g":0, "b":0, "a":250}
       },
       ["red_4"    , "SPOTLIGHT"        , "rf1", "rf1r", "rf2", {"x":-100, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.2, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.68, "y":-0.15, "z":-0.05},"deformGroup":"windshield_break"}],
   ],
},
"s4b8_flashers_alt": {
    "information":{
        "authors":"BeamNG",
        "name":"Blue Concealed Flashers",
        "value":200,
    },
    "slotType" : "s4b8_lightbar",
    "slots": [
        ["type", "default", "description"],
        ["s4b8_flashers","s4b8_flashers", "Bumper Flashers"],
        ["soundscape_siren","soundscape_siren_20", "Siren Audio"],
    ],
    "soundscape": [
        ["name", "src"],
        //affects siren location because siren soundscape part is loaded after
        {"node:":"f13ll"}
    ],
    "controller": [
        ["fileName"],
        ["lightbar", {
          "defaultModeIndex": 1,
          "modes": [
              ["name", "config"],
              ["Chase", [
                  ["electric", "value", "duration"],
                    ["blue_4", 1, 0.2],
                    ["blue_4", 0, 0.1],
                    ["blue_4", 1, 0.05],
                    ["blue_4", 0, 0.1],
                    ["blue_4", 1, 0.05],
                    ["blue_4", 0, 0.2],

                    ["red_4", 0, 0.1],
                    ["red_4", 1, 0.1],
                    ["red_4", 0, 0.1],
                    ["red_4", 1, 0.3],
                  ],
              ],
              ["Scene", [
                  ["electric", "value", "duration"],
                    ["blue_4", 1, 0.3],
                    ["blue_4", 0, 0.3],
                    ["blue_4", 1, 0.3],
                    ["blue_4", 0, 0.3],

                    ["red_4", 0, 0.3],
                    ["red_4", 1, 0.3],
                    ["red_4", 0, 0.3],
                    ["red_4", 1, 0.3],
                  ],
              ],
              ["Left Signal", [
                  ["electric", "value", "duration"],
                    ["red_4", 1, 0.2],
                    ["blue_4", 0, 0.2],
                    ["red_4", 0, 0.2],
                    ["blue_4", 1, 0.2],
                  ],
              ],
              ["Right Signal", [
                  ["electric", "value", "duration"],
                    ["red_4", 1, 0.2],
                    ["blue_4", 0, 0.2],
                    ["red_4", 0, 0.2],
                    ["blue_4", 1, 0.2],
                  ],
              ]
          ]
        }]
    ],
    "glowMap":{
          "generic_flasher_led_L_b":                   {"simpleFunction":"red_4", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
          "generic_flasher_led_R_b":                   {"simpleFunction":"blue_4", "off":"policeparts_lights_blue", "on":"policeparts_lights_blue_on"},
    },
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        {"deformGroup":"windshield_break", "deformMaterialBase":"policeparts_lights_white", "deformMaterialDamaged":"policeparts_lights_white"},
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.47,  "y":-0.255, "z":1.306}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.405, "y":-0.255, "z":1.308}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_L_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x":-0.340, "y":-0.255, "z":1.31}, "rot":{"x":0, "y":-2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.47,  "y":-0.255, "z":1.306}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.405, "y":-0.255, "z":1.308}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}],
        ["generic_flasher_led_R_b", ["s4b8_body", "s4b8_roof"], [], {"pos":{"x": 0.340, "y":-0.255, "z":1.31}, "rot":{"x":0, "y":2, "z":0}, "scale":{"x":1.0, "y":1.0, "z":0.5}}]
        {"deformGroup":""},
    ]
    "props": [
       ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
       {
          "lightInnerAngle":0,
          "lightOuterAngle":70,
          "lightBrightness":1.0,
          "lightRange":15,
          "lightColor":{"r":0, "g":0, "b":255, "a":250}
          "flareName":"vehicleBrakeLightFlare",
          "lightCastShadows":false,
          "texSize":64,
          "shadowSoftness":1,
          "flareScale":0.04,
          "cookieName":"/art/special/BNG_light_cookie_lightbar.dds",
       }
       ["blue_4"    , "SPOTLIGHT"        , "rf1", "rf1l", "rf2", {"x":-100, "y":0, "z":180} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.2, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.68, "y":-0.15, "z":0.05},"deformGroup":"windshield_break"}],
       ["red_4"    , "SPOTLIGHT"        , "rf1", "rf1r", "rf2", {"x":-100, "y":0, "z":0} , {"x":0, "y":0, "z":0}    , {"x":0, "y":0.2, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.68, "y":-0.15, "z":-0.05},"deformGroup":"windshield_break"}],
   ],
},
"s4b8_roofflashers_blue": {
    "information":{
        "authors":"BeamNG",
        "name":"Blue Roof Flashers",
        "value":1600
    },
    "slotType" : "s4b8_lightbar",
    "slots": [
        ["type", "default", "description"],
        ["s4b8_flashers","s4b8_flashers", "Concealed Flashers"],
        ["soundscape_siren","soundscape_siren_25", "Siren Audio"],
    ],
    "soundscape": [
        ["name", "src"],
        //affects siren location because siren soundscape part is loaded after
        {"node:":"f13ll"},
    ],
    "controller": [
        ["fileName"],
        ["lightbar", {
            "name":"roofflashers",
            "defaultModeIndex": 1,
            "modes": [
                ["name", "config"],
                ["Chase", [
                    ["electric", "value", "duration"],
                        ["roofflasher_L", 1, 0.15],
                        ["roofflasher_L", 0, 0.15],
                        ["roofflasher_L", 0, 0.25],
                        ["roofflasher_R", 0, 0.25],
                        ["roofflasher_R", 1, 0.15],
                        ["roofflasher_R", 0, 0.15],
                    ],
                ],
            ],
        }],
    ],
    "glowMap":{
        "mod_beacon_light":   {"simpleFunction":"roofflasher_L", "off":"policeparts_lights_blue","on":"policeparts_lights_blue_on"},
        "mod_beacon_glass":   {"simpleFunction":"roofflasher_L", "off":"policeparts_glass_blue", "on":"policeparts_glass_blue"},
        "mod_beacon_light_b": {"simpleFunction":"roofflasher_R", "off":"policeparts_lights_blue","on":"policeparts_lights_blue_on"},
        "mod_beacon_glass_b": {"simpleFunction":"roofflasher_R", "off":"policeparts_glass_blue", "on":"policeparts_glass_blue"},
    },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightRange":7,
            "lightBrightness": 0.5,
            "lightColor":{"r":0, "g":0, "b":455, "a":125},
            "flareName":"vehicleBrakeLightFlare",
            "lightCastShadows":false,
            "texSize":32,
            "shadowSoftness":1,
            "flareScale":0.0,
            "cookieName":"/art/special/BNG_light_cookie_lightbar.dds"
        },
        ["roofflasher_L", "POINTLIGHT",  "lbl2r","lbl2l","lbl1r", {"x": 60, "y":90, "z": 2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":-0.1},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_L", "POINTLIGHT",  "lbl2l","lbl2r","lbl1l", {"x":-60, "y":90, "z":-2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z": 0.1},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2r","rbl2l","rbl1r", {"x": 60, "y":90, "z": 2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":-0.1},"deformGroup":"beaconlight_R_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2l","rbl2r","rbl1l", {"x":-60, "y":90, "z":-2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z": 0.1},"deformGroup":"beaconlight_R_break"}],
        {
            "lightRange":0,
            "flareScale":0.1,
        },
        ["roofflasher_L", "POINTLIGHT",  "lbl2r","lbl2l","lbl1r", {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":0.05},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2r","rbl2l","rbl1r", {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":0.05},"deformGroup":"beaconlight_R_break"}],
        {
            "cookieName":""
        },
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["mod_beacon_base", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        ["mod_beacon_base", ["beaconlight_R"], [], {"pos":{"x":-0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_L_break", "deformMaterialBase":"policeparts_lights_blue", "deformMaterialDamaged":"policeparts_lights_blue"},
        ["mod_beacon_light", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_R_break", "deformMaterialBase":"policeparts_lights_blue", "deformMaterialDamaged":"policeparts_lights_blue"},
        ["mod_beacon_light", ["beaconlight_R"], [], {"pos":{"x":-0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12},"materialOverride":[["mod_beacon_light","mod_beacon_light_b"]]}],
        {"deformGroup":"beaconlight_L_break", "deformMaterialBase":"policeparts_glass_blue", "deformMaterialDamaged":"policeparts_glass_blue_dmg"},
        ["mod_beacon_glass", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_R_break", "deformMaterialBase":"policeparts_glass_blue", "deformMaterialDamaged":"policeparts_glass_blue_dmg"},
        ["mod_beacon_glass", ["beaconlight_R"], [], {"pos":{"x":-0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12},"materialOverride":[["mod_beacon_glass","mod_beacon_glass_b"]]}],
        {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
    ],
     "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"nodeWeight":0.741},
         {"frictionCoef":0.7},
         {"nodeMaterial":"|NM_METAL"},

         {"group":"beaconlight_L"},
         ["lbl1l", 0.4867, 0.42, 1.38],
         ["lbl2l", 0.4867, 0.58, 1.38],
         ["lbl3", 0.4, 0.5, 1.44],
         ["lbl1r", 0.3133, 0.42, 1.39],
         ["lbl2r", 0.3133, 0.58, 1.39],
         {"group":"beaconlight_R"},
         ["rbl1r", -0.4867, 0.42, 1.38],
         ["rbl2r", -0.4867, 0.58, 1.38],
         ["rbl3", -0.4, 0.5, 1.44],
         ["rbl1l", -0.3133, 0.42, 1.39],
         ["rbl2l", -0.3133, 0.58, 1.39],
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":102500,"beamDamp":20},
          {"beamDeform":7605,"beamStrength":"FLT_MAX"},
          //Main shape
          {"deformationTriggerRatio":0.01},
          {"deformLimitExpansion":1.2},
          {"deformGroup":"beaconlight_L_break"},
          ["lbl1r","lbl1l"],
          ["lbl2r","lbl2l"],
          ["lbl1r","lbl2r"],
          ["lbl1l","lbl2l"],
          ["lbl1r","lbl2l"],
          ["lbl1l","lbl2r"],
          ["lbl1r","lbl3"],
          ["lbl2r","lbl3"],
          ["lbl1l","lbl3"],
          ["lbl2l","lbl3"],
          {"deformGroup":"beaconlight_R_break"},
          ["rbl1r","rbl1l"],
          ["rbl2r","rbl2l"],
          ["rbl1r","rbl2r"],
          ["rbl1l","rbl2l"],
          ["rbl1r","rbl2l"],
          ["rbl1l","rbl2r"],
          ["rbl1r","rbl3"],
          ["rbl2r","rbl3"],
          ["rbl1l","rbl3"],
          ["rbl2l","rbl3"],

          //attach
          {"beamSpring":102500,"beamDamp":20},
          {"beamDeform":3042,"beamStrength":3802.5},
          {"deformLimitExpansion":""},

          {"deformGroup":"beaconlight_L_break"},
          {"breakGroup":"beaconlight_L"},
          ["lbl2r","rf2"],
          ["lbl2l","rf2l"],
          ["lbl1r","rf2"],
          ["lbl1l","rf2l"],
          ["lbl2r","rf1"],
          ["lbl2l","rf1l"],
          ["lbl1r","rf1"],
          ["lbl1l","rf1l"],
          ["lbl2r","rf3"],
          ["lbl2l","rf3l"],
          ["lbl3","rf2"],
          ["lbl3","rf2l"],
          ["lbl2r","rf2"],
          ["lbl2l","rf2l"],
          ["lbl1r","rf2"],
          ["lbl1l","rf2l"],
          ["lbl3","rf3"],
          ["lbl3","rf3l"],
          ["lbl1r","rf7"],
          ["lbl1l","rf7"],
          ["lbl2r","rf7"],
          ["lbl2l","rf7"],
          ["lbl3","rf7"],

          {"deformGroup":"beaconlight_R_break"},
          {"breakGroup":"beaconlight_R"},
          ["rbl2r","rf2r"],
          ["rbl2l","rf2"],
          ["rbl1r","rf2r"],
          ["rbl1l","rf2"],
          ["rbl2r","rf1r"],
          ["rbl2l","rf1"],
          ["rbl1r","rf1r"],
          ["rbl1l","rf1"],
          ["rbl2r","rf3r"],
          ["rbl2l","rf3"],
          ["rbl3","rf2r"],
          ["rbl3","rf2"],
          ["rbl2r","rf2r"],
          ["rbl2l","rf2"],
          ["rbl1r","rf2r"],
          ["rbl1l","rf2"],
          ["rbl3","rf3r"],
          ["rbl3","rf3"],
          ["rbl1r","rf7"],
          ["rbl1l","rf7"],
          ["rbl2r","rf7"],
          ["rbl2l","rf7"],
          ["rbl3","rf7"],

          {"deformGroup":""},
          {"breakGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"group":"beaconlights"},
            {"dragCoef":2.1},
            ["lbl3","lbl2r","lbl1r"],
            ["lbl3","lbl2l","lbl2r"],
            ["lbl3","lbl1l","lbl2l"],
            ["lbl3","lbl1r","lbl1l"],
            ["lbl1r","lbl2r","lbl2l"],
            ["lbl1r","lbl2l","lbl1l"],
            ["rbl3","rbl2r","rbl1r"],
            ["rbl3","rbl2l","rbl2r"],
            ["rbl3","rbl1l","rbl2l"],
            ["rbl3","rbl1r","rbl1l"],
            ["rbl1r","rbl2r","rbl2l"],
            ["rbl1r","rbl2l","rbl1l"],
    ]
},
"s4b8_roofflashers_amber": {
    "information":{
        "authors":"BeamNG",
        "name":"Amber Roof Flashers",
        "value":1600
    },
    "slotType" : "s4b8_lightbar",
    "controller": [
        ["fileName"],
        ["lightbar", {
            "name":"roofflashers",
            "defaultModeIndex": 1,
            "modes": [
                ["name", "config"],
                ["General", [
                    ["electric", "value", "duration"],
                        ["roofflasher_L", 1, 0.15],
                        ["roofflasher_L", 0, 0.15],
                        ["roofflasher_L", 0, 0.25],
                        ["roofflasher_R", 0, 0.25],
                        ["roofflasher_R", 1, 0.15],
                        ["roofflasher_R", 0, 0.15],
                    ],
                ],
            ],
        }],
    ],
    "glowMap":{
        "mod_beacon_light":   {"simpleFunction":"roofflasher_L", "off":"policeparts_lights_orange","on":"policeparts_lights_orange_on"},
        "mod_beacon_glass":   {"simpleFunction":"roofflasher_L", "off":"policeparts_glass_orange", "on":"policeparts_glass_orange"},
        "mod_beacon_light_b": {"simpleFunction":"roofflasher_R", "off":"policeparts_lights_orange","on":"policeparts_lights_orange_on"},
        "mod_beacon_glass_b": {"simpleFunction":"roofflasher_R", "off":"policeparts_glass_orange", "on":"policeparts_glass_orange"},
    },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        {
            "lightRange":7,
            "lightBrightness": 0.5,
            "lightColor":{"r":255, "g":150, "b":0, "a":125},
            "flareName":"vehicleBrakeLightFlare",
            "lightCastShadows":false,
            "texSize":32,
            "shadowSoftness":1,
            "flareScale":0.0,
            "cookieName":"/art/special/BNG_light_cookie_lightbar.dds"
        },
        ["roofflasher_L", "POINTLIGHT",  "lbl2r","lbl2l","lbl1r", {"x": 60, "y":90, "z": 2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":-0.1},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_L", "POINTLIGHT",  "lbl2l","lbl2r","lbl1l", {"x":-60, "y":90, "z":-2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z": 0.1},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2r","rbl2l","rbl1r", {"x": 60, "y":90, "z": 2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":-0.1},"deformGroup":"beaconlight_R_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2l","rbl2r","rbl1l", {"x":-60, "y":90, "z":-2.50}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z": 0.1},"deformGroup":"beaconlight_R_break"}],
        {
            "lightRange":0,
            "flareScale":0.1,
        },
        ["roofflasher_L", "POINTLIGHT",  "lbl2r","lbl2l","lbl1r", {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":0.05},"deformGroup":"beaconlight_L_break"}],
        ["roofflasher_R", "POINTLIGHT",  "rbl2r","rbl2l","rbl1r", {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.5, "y":0.5, "z":0.05},"deformGroup":"beaconlight_R_break"}],
        {
            "cookieName":""
        },
    ],
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["mod_beacon_base", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        ["mod_beacon_base", ["beaconlight_R"], [], {"pos":{"x": -0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_L_break", "deformMaterialBase":"policeparts_lights_orange", "deformMaterialDamaged":"policeparts_lights_orange"},
        ["mod_beacon_light", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_R_break", "deformMaterialBase":"policeparts_lights_orange", "deformMaterialDamaged":"policeparts_lights_orange"},
        ["mod_beacon_light", ["beaconlight_R"], [], {"pos":{"x": -0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12},"materialOverride":[["mod_beacon_light","mod_beacon_light_b"]]}],
        {"deformGroup":"beaconlight_L_break", "deformMaterialBase":"policeparts_glass_orange", "deformMaterialDamaged":"policeparts_glass_orange_dmg"},
        ["mod_beacon_glass", ["beaconlight_L"], [], {"pos":{"x": 0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y": 5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12}}],
        {"deformGroup":"beaconlight_R_break", "deformMaterialBase":"policeparts_glass_orange", "deformMaterialDamaged":"policeparts_glass_orange_dmg"},
        ["mod_beacon_glass", ["beaconlight_R"], [], {"pos":{"x": -0.4, "y":0.6, "z":1.42}, "rot":{"x":0, "y":-5, "z":0}, "scale":{"x":1.12, "y":1.12, "z":1.12},"materialOverride":[["mod_beacon_glass","mod_beacon_glass_b"]]}],
        {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
    ],
     "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"nodeWeight":0.741},
         {"frictionCoef":0.7},
         {"nodeMaterial":"|NM_METAL"},

         {"group":"beaconlight_L"},
         ["lbl1l", 0.4867, 0.42, 1.38],
         ["lbl2l", 0.4867, 0.58, 1.38],
         ["lbl3", 0.4, 0.5, 1.44],
         ["lbl1r", 0.3133, 0.42, 1.39],
         ["lbl2r", 0.3133, 0.58, 1.39],
         {"group":"beaconlight_R"},
         ["rbl1r", -0.4867, 0.42, 1.38],
         ["rbl2r", -0.4867, 0.58, 1.38],
         ["rbl3", -0.4, 0.5, 1.44],
         ["rbl1l", -0.3133, 0.42, 1.39],
         ["rbl2l", -0.3133, 0.58, 1.39],
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":102500,"beamDamp":20},
          {"beamDeform":7605,"beamStrength":"FLT_MAX"},
          //Main shape
          {"deformationTriggerRatio":0.01},
          {"deformLimitExpansion":1.2},
          {"deformGroup":"beaconlight_L_break"},
          ["lbl1r","lbl1l"],
          ["lbl2r","lbl2l"],
          ["lbl1r","lbl2r"],
          ["lbl1l","lbl2l"],
          ["lbl1r","lbl2l"],
          ["lbl1l","lbl2r"],
          ["lbl1r","lbl3"],
          ["lbl2r","lbl3"],
          ["lbl1l","lbl3"],
          ["lbl2l","lbl3"],
          {"deformGroup":"beaconlight_R_break"},
          ["rbl1r","rbl1l"],
          ["rbl2r","rbl2l"],
          ["rbl1r","rbl2r"],
          ["rbl1l","rbl2l"],
          ["rbl1r","rbl2l"],
          ["rbl1l","rbl2r"],
          ["rbl1r","rbl3"],
          ["rbl2r","rbl3"],
          ["rbl1l","rbl3"],
          ["rbl2l","rbl3"],

          //attach
          {"beamSpring":102500,"beamDamp":20},
          {"beamDeform":3042,"beamStrength":3802.5},
          {"deformLimitExpansion":""},

          {"deformGroup":"beaconlight_L_break"},
          {"breakGroup":"beaconlight_L"},
          ["lbl2r","rf2"],
          ["lbl2l","rf2l"],
          ["lbl1r","rf2"],
          ["lbl1l","rf2l"],
          ["lbl2r","rf1"],
          ["lbl2l","rf1l"],
          ["lbl1r","rf1"],
          ["lbl1l","rf1l"],
          ["lbl2r","rf3"],
          ["lbl2l","rf3l"],
          ["lbl3","rf2"],
          ["lbl3","rf2l"],
          ["lbl2r","rf2"],
          ["lbl2l","rf2l"],
          ["lbl1r","rf2"],
          ["lbl1l","rf2l"],
          ["lbl3","rf3"],
          ["lbl3","rf3l"],
          ["lbl1r","rf7"],
          ["lbl1l","rf7"],
          ["lbl2r","rf7"],
          ["lbl2l","rf7"],
          ["lbl3","rf7"],

          {"deformGroup":"beaconlight_R_break"},
          {"breakGroup":"beaconlight_R"},
          ["rbl2r","rf2r"],
          ["rbl2l","rf2"],
          ["rbl1r","rf2r"],
          ["rbl1l","rf2"],
          ["rbl2r","rf1r"],
          ["rbl2l","rf1"],
          ["rbl1r","rf1r"],
          ["rbl1l","rf1"],
          ["rbl2r","rf3r"],
          ["rbl2l","rf3"],
          ["rbl3","rf2r"],
          ["rbl3","rf2"],
          ["rbl2r","rf2r"],
          ["rbl2l","rf2"],
          ["rbl1r","rf2r"],
          ["rbl1l","rf2"],
          ["rbl3","rf3r"],
          ["rbl3","rf3"],
          ["rbl1r","rf7"],
          ["rbl1l","rf7"],
          ["rbl2r","rf7"],
          ["rbl2l","rf7"],
          ["rbl3","rf7"],

          {"deformGroup":""},
          {"breakGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"group":"beaconlights"},
            {"dragCoef":2.1},
            ["lbl3","lbl2r","lbl1r"],
            ["lbl3","lbl2l","lbl2r"],
            ["lbl3","lbl1l","lbl2l"],
            ["lbl3","lbl1r","lbl1l"],
            ["lbl1r","lbl2r","lbl2l"],
            ["lbl1r","lbl2l","lbl1l"],
            ["rbl3","rbl2r","rbl1r"],
            ["rbl3","rbl2l","rbl2r"],
            ["rbl3","rbl1l","rbl2l"],
            ["rbl3","rbl1r","rbl1l"],
            ["rbl1r","rbl2r","rbl2l"],
            ["rbl1r","rbl2l","rbl1l"],
    ]
},

}