{
"BBModsAMV_bumper_F": {
  "information":{
  "authors":"BeamNG",
  "name":"Chrome Front Bumper",
  "value":350,
  },
  "slotType" : "BBModsAMV_bumper_F_1",
  "slots": [
    ["type", "default", "description"],
    ["BBModsAMV_licenseplate_F","", "Front License Plate"],
  ],
  "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["BBModsAMV_bumper_F", ["BBModsAMV_bumper_F"]],
    {"deformGroup":"bumpersignal_FL_break", "deformMaterialBase":"BBModsAMV_lights", "deformMaterialDamaged":"BBModsAMV_lights_dmg"},
    ["BBModsAMV_bumpersignal_FL_a", ["BBModsAMV_bumper_F"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound2", "deformVolume":0.3}],
    {"deformGroup":"bumpersignal_FR_break", "deformMaterialBase":"BBModsAMV_lights", "deformMaterialDamaged":"BBModsAMV_lights_dmg"},
    ["BBModsAMV_bumpersignal_FR_a", ["BBModsAMV_bumper_F"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound1", "deformVolume":0.3}],
    {"deformGroup":"bumpersignal_FL_break", "deformMaterialBase":"BBModsAMV_lights", "deformMaterialDamaged":"BBModsAMV_lights_dmg"},
    ["BBModsAMV_bumpersignal_FL_b", ["BBModsAMV_bumper_F"]],
    {"deformGroup":"bumpersignal_FR_break", "deformMaterialBase":"BBModsAMV_lights", "deformMaterialDamaged":"BBModsAMV_lights_dmg"},
    ["BBModsAMV_bumpersignal_FR_b", ["BBModsAMV_bumper_F"]],
    {"deformGroup":""},
  ],
  "props": [
    ["func", "mesh", "idRef:", "idX:", "idY:", "baseRotation", "rotation", "translation", "min", "max", "offset", "multiplier"],
    {
    "lightInnerAngle":0,
    "lightOuterAngle":120,
    "lightRange":8,
    "lightColor":{"r":255, "g":255, "b":0, "a":255},
    "lightAttenuation":{"x":0, "y":1, "z":1},
    "lightCastShadows":false,
    "flareName":"vehicleBrakeLightFlare",
    "cookieName":"art/special/BNG_light_cookie_headlight.dds"
    "texSize":512,
    "shadowSoftness":0.1,
    },
    //side bumper signals
    ["signal_R" ,  "SPOTLIGHT", "fb4rr", "fb2rr", "fb3rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":1.25, "z":0.01},"flareScale":0.0,"lightBrightness":0.03,"deformGroup":"bumpersignal_FR_break"}],
    ["signal_L" ,  "SPOTLIGHT", "fb4ll", "fb2ll", "fb3ll", {"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.2, "y":1.25, "z":-0.01},"flareScale":0.0,"lightBrightness":0.03,"deformGroup":"bumpersignal_FL_break"}],
    ["lowhighbeam" , "SPOTLIGHT", "fb4rr", "fb2rr", "fb3rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":1.25, "z":0.01},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FR_break"}],
    ["lowhighbeam" , "SPOTLIGHT", "fb4ll", "fb2ll", "fb3ll", {"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.2, "y":1.25, "z":-0.01},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FL_break"}],
    ["parking" ,  "SPOTLIGHT", "fb4rr", "fb2rr", "fb3rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.2, "y":1.25, "z":0.01},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FR_break"}],
    ["parking" ,  "SPOTLIGHT", "fb4ll", "fb2ll", "fb3ll", {"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.2, "y":1.25, "z":-0.01},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FL_break"}],

    //front
    ["signal_R" ,  "SPOTLIGHT", "fb2rr", "fb2r", "fb1rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.55, "y":0.07, "z":0.02},"flareScale":0.0,"lightBrightness":0.03,"deformGroup":"bumpersignal_FR_break"}],
    ["signal_L" ,  "SPOTLIGHT", "fb2ll", "fb2l", "fb1ll", {"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.55, "y":0.07, "z":-0.02},"flareScale":0.0,"lightBrightness":0.03,"deformGroup":"bumpersignal_FL_break"}],
    ["lowhighbeam" ,  "SPOTLIGHT", "fb2rr", "fb2r", "fb1rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.55, "y":0.07, "z":0.02},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FR_break"}],
    ["lowhighbeam" ,  "SPOTLIGHT", "fb2ll", "fb2l", "fb1ll", {"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.55, "y":0.07, "z":-0.02},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FL_break"}],
    ["parking" ,  "SPOTLIGHT", "fb2rr", "fb2r", "fb1rr", {"x":180, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.55, "y":0.07, "z":0.02},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FR_break"}],
    ["parking" ,  "SPOTLIGHT", "fb2ll", "fb2l", "fb1ll", {"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.55, "y":0.07, "z":-0.02},"flareScale":0.0,"lightBrightness":0.01,"deformGroup":"bumpersignal_FL_break"}],
  ],
  "nodes": [
    ["id", "posX", "posY", "posZ"],
    {"nodeMaterial":"|NM_METAL"},
    {"frictionCoef":0.5},
    {"collision":true},
    {"selfCollision":true},
    {"nodeWeight":1.5},
    {"group":"BBModsAMV_bumper_F"},
    //bumper
    ["fb1rr",-0.84, -2.2021, 0.4661],
    ["fb1r",-0.48, -2.2886, 0.4661],
    ["fb1", 0.0, -2.3365, 0.4661],
    ["fb1l", 0.48, -2.2886, 0.4661],
    ["fb1ll", 0.84, -2.2021, 0.4661],
    ["fb2rr",-0.84, -2.164, 0.405],
    ["fb2r",-0.48, -2.2631, 0.405],
    ["fb2", 0.0, -2.2984, 0.405],
    ["fb2l", 0.48, -2.2631, 0.405],
    ["fb2ll", 0.84, -2.164, 0.405],
    ["fb3rr",-0.89, -1.8278, 0.4573],
    ["fb3r",-0.48, -2.1615, 0.4661],
    ["fb3", 0.0, -2.2094, 0.4661],
    ["fb3l", 0.48, -2.1615, 0.4661],
    ["fb3ll", 0.89, -1.8278, 0.4573],
    ["fb4rr",-0.87, -1.8103, 0.4103],
    ["fb4r",-0.48, -2.1488, 0.3914],
    ["fb4", 0.0, -2.1967, 0.388],
    ["fb4l", 0.48, -2.1488, 0.3914],
    ["fb4ll", 0.87, -1.8103, 0.4103],
    {"group":""},
  ],
  "beams": [
    ["id1:", "id2:"],
    //--BUMPER--
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    {"beamSpring":1401000,"beamDamp":100},
    {"beamDeform":22250,"beamStrength":"FLT_MAX"},
    {"deformLimitExpansion":1.1},
    //main shape
    {"deformationTriggerRatio":0.03},
    {"deformGroup":"bumpersignal_FR_break"},
    ["fb1rr","fb1r"],
    ["fb2rr","fb2r"],
    ["fb3rr","fb3r", {"beamDeform":8500}],
    ["fb4rr","fb4r", {"beamDeform":8500}],
    ["fb4rr","fb2rr"],
    ["fb3rr","fb1rr"],

    {"deformGroup":"bumpersignal_FL_break"},
    ["fb1l","fb1ll"],
    ["fb2l","fb2ll"],
    ["fb3l","fb3ll", {"beamDeform":8500}],
    ["fb4l","fb4ll", {"beamDeform":8500}],
    ["fb4ll","fb2ll"],
    ["fb3ll","fb1ll"],
    {"deformGroup":""},

    ["fb1r","fb1"],
    ["fb1","fb1l"],
    ["fb2r","fb2"],
    ["fb2","fb2l"],
    ["fb3r","fb3"],
    ["fb3","fb3l"],
    ["fb4r","fb4"],
    ["fb4","fb4l"],

    //vert
    {"beamDeform":29750,"beamStrength":"FLT_MAX"},
    {"deformGroup":"bumpersignal_FR_break"},
    ["fb1rr","fb2rr"],
    ["fb1r","fb2r"],
    ["fb2r","fb4r"],
    ["fb1r","fb3r"],
    {"deformGroup":"bumpersignal_FL_break"},
    ["fb1l","fb2l"],
    ["fb1ll","fb2ll"],
    ["fb2l","fb4l"],
    ["fb1l","fb3l"],
    {"deformGroup":""},

    ["fb1","fb2"],
    ["fb1","fb3"],
    ["fb2","fb4"],
    ["fb3rr","fb4rr"],
    ["fb3ll","fb4ll"],
    ["fb3", "fb4"],
    ["fb3l", "fb4l"],
    ["fb3r", "fb4r"],

    {"deformLimitExpansion":""},
    //surficial crossing
    {"beamDeform":5100,"beamStrength":"FLT_MAX"},
    {"deformGroup":"bumpersignal_FR_break"},
    ["fb1rr","fb2r"],
    ["fb1r","fb2rr"],
    ["fb3rr","fb2rr"],
    ["fb4rr","fb1rr"],
    ["fb1rr","fb3r"],
    ["fb1r","fb3rr"],
    ["fb2r","fb4rr"],
    ["fb2rr","fb4r"],
    ["fb3r","fb4rr"],
    ["fb3rr","fb4r"],

    {"deformGroup":"bumpersignal_FL_break"},
    ["fb1l","fb2ll"],
    ["fb1ll","fb2l"],
    ["fb3ll","fb2ll"],
    ["fb4ll","fb1ll"],
    ["fb1ll","fb3l"],
    ["fb1l","fb3ll"],
    ["fb2l","fb4ll"],
    ["fb2ll","fb4l"],
    ["fb3l","fb4ll"],
    ["fb3ll","fb4l"],
    {"deformGroup":""},

    ["fb1r","fb2"],
    ["fb1","fb2r"],
    ["fb1","fb2l"],
    ["fb1l","fb2"],

    ["fb1r","fb3"],
    ["fb1","fb3r"],
    ["fb1","fb3l"],
    ["fb1l","fb3"],

    ["fb2r","fb4"],
    ["fb2","fb4r"],
    ["fb2","fb4l"],
    ["fb2l","fb4"],

    ["fb3l", "fb4"],
    ["fb4l", "fb3"],
    ["fb3", "fb4r"],
    ["fb4", "fb3r"],

    //vertical
    {"beamDeform":29750,"beamStrength":"FLT_MAX"},
    ["fb3r","fb2r"],
    ["fb3","fb2"],
    ["fb3l","fb2l"],

    ["fb4r","fb1r"],
    ["fb4","fb1"],
    ["fb4l","fb1l"],

    //rigids
    {"beamSpring":1101000,"beamDamp":100},
    {"beamDeform":3180.13,"beamStrength":"FLT_MAX"},
    ["fb4rr","fb1"],
    ["fb4ll","fb1"],

    ["fb3rr","fb2"],
    ["fb3ll","fb2"],

    ["fb1r","fb2l"],
    ["fb1l","fb2r"],

    //attach
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    {"beamSpring":401000,"beamDamp":350},
    {"beamDeform":6750,"beamStrength":29750},
    {"breakGroup":"bumper_F_a_R"},
    {"deformGroup":"bumpersignal_FR_break"},
    ["fb1r","s5r"],
    ["fb2r","s5r"],
    ["fb1","s5r"],
    ["fb2","s5r"],

    ["fb1r","s5rr"],
    ["fb2r","s5rr"],
    ["fb1rr","s5rr"],
    ["fb2rr","s5rr"],

    ["fb1r","s5rrr"],
    ["fb2r","s5rrr"],
    ["fb1rr","s5rrr"],
    ["fb2rr","s5rrr"],

    ["fb2rr", "ra1rr", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb4rr", "ra1rr", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb2rr", "s3rr", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb1rr", "s3rr", {"beamSpring":0,"beamDamp":750,"optional":true}],

    {"deformGroup":"bumpersignal_FL_break"},
    {"breakGroup":"bumper_F_a_L"},
    ["fb1l","s5l"],
    ["fb2l","s5l"],
    ["fb1","s5l"],
    ["fb2","s5l"],

    ["fb1l","s5ll"],
    ["fb2l","s5ll"],
    ["fb1ll","s5ll"],
    ["fb2ll","s5ll"],

    ["fb1l","s5lll"],
    ["fb2l","s5lll"],
    ["fb1ll","s5lll"],
    ["fb2ll","s5lll"],

    ["fb2ll", "ra1ll", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb4ll", "ra1ll", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb2ll", "s3ll", {"beamSpring":0,"beamDamp":750,"optional":true}],
    ["fb1ll", "s3ll", {"beamSpring":0,"beamDamp":750,"optional":true}],
    {"deformGroup":""},
    {"breakGroup":""},

    //front bumper support beams
    {"beamType":"|SUPPORT", "beamLongBound":10},
    {"beamDeform":5500,"beamStrength":95000},
    {"beamSpring":451000,"beamDamp":180},
    //fender
    {"beamPrecompression":0.98},
    {"optional":true},
    ["fb2rr","fe10r"],
    ["fb2ll","fe10l"],
    ["fb1rr","fe13r"],
    ["fb1ll","fe13l"],

    ["fb2rr","fe22r"],
    ["fb2ll","fe22l"],

    //rad support
    {"beamPrecompression":0.75,"beamLongBound":3},
    ["fb1","ra5"],
    ["fb2","ra3"],

    //suspension/wheels
    {"beamDeform":12750,"beamStrength":95000},
    {"beamSpring":201000,"beamDamp":200},
    {"beamPrecompression":0.55,"beamLongBound":3},
    ["fb3rr","fw1rr"],
    ["fb3rr","fw1r"],
    ["fb3ll","fw1ll"],
    ["fb3ll","fw1l"],

    {"optional":false},
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  ],
  "triangles": [
    ["id1:","id2:","id3:"],
    {"group":"BBModsAMV_bumper_F"},
    {"dragCoef":7},
    ["fb1rr","fb3rr","fb4rr"],
    ["fb1rr","fb4rr","fb2rr"],

    ["fb1rr","fb2rr","fb1r"],
    ["fb2rr","fb2r","fb1r"],
    ["fb1r","fb2r","fb1"],
    ["fb2r","fb2","fb1"],
    ["fb2l","fb1l","fb1"],
    ["fb2l","fb1","fb2"],
    ["fb2ll","fb1ll","fb1l"],
    ["fb2ll","fb1l","fb2l"],

    ["fb3ll","fb1ll","fb4ll"],
    ["fb4ll","fb1ll","fb2ll"],

    ["fb3rr","fb1rr","fb1r"],
    ["fb3rr","fb1r","fb3r"],
    ["fb3r","fb1r","fb1"],
    ["fb3r","fb1","fb3"],
    ["fb1l","fb3l","fb1"],
    ["fb3l","fb3","fb1"],
    ["fb1ll","fb3ll","fb1l"],
    ["fb3ll","fb3l","fb1l"],

    ["fb2rr","fb4rr","fb2r"],
    ["fb2r","fb4rr","fb4r"],
    ["fb2r","fb4r","fb4"],
    ["fb2","fb2r","fb4"],
    ["fb4l","fb2l","fb4"],
    ["fb4","fb2l","fb2"],
    ["fb4l","fb4ll","fb2l"],
    ["fb4ll","fb2ll","fb2l"],

    //back
    {"dragCoef":0},
    ["fb3ll", "fb4l", "fb3l"],
    ["fb3r", "fb4r", "fb3rr"],

    ["fb3l", "fb4l", "fb3"],
    ["fb4l", "fb4", "fb3"],
    ["fb4", "fb4r", "fb3r"],
    ["fb4", "fb3r", "fb3"],

    ["fb4r", "fb4rr", "fb3rr"],
    ["fb4ll", "fb4l", "fb3ll"],
    {"group":""},
  ],
  },
}