{
"fullsize_fender_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Right Fender",
        "value":60,
    }
    "slotType" : "fullsize_fender_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["fullsize_fender_R", ["fullsize_fender_R"]],
         ["fullsize_signalframe_R", ["fullsize_fender_R"]],
         {"deformGroup":"fendersignal_R_break", "deformMaterialBase":"fullsize_lights", "deformMaterialDamaged":"fullsize_lights_dmg"}
         ["fullsize_signal_R", ["fullsize_fender_R"],[]{"deformSound":"GlassBreakSound2", "deformVolume":0.4}],
         {"deformGroup":""}
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
        {
            "lightInnerAngle":0
            "lightOuterAngle":150
            "lightBrightness":0.06
            "lightRange":25
            "lightColor":{"r":255, "g":205, "b":0, "a":255}
            "lightAttenuation":{"x":0, "y":1, "z":1}
            "lightCastShadows":false
            "flareName":"vehicleBrakeLightFlare"
            "flareScale":0.1
        }
        //turn signal
        ["signal_R" ,         "SPOTLIGHT"        , "fe6r", "fe11r", "fe10r", {"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.25, "y":0.85, "z":-0.0},"deformGroup":"fendersignal_R_break"}],
        ["lowhighbeam" ,         "SPOTLIGHT"        , "fe6r", "fe11r", "fe10r", {"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.25, "y":0.85, "z":-0.0},"deformGroup":"fendersignal_R_break"}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--FENDER--
         //r
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"collision":true}
         {"selfCollision":true},
         {"group":"fullsize_fender_R"},
         {"nodeWeight":1.24},
         ["fe1r", -0.94, -0.83, 0.25],
         ["fe2r", -0.94, -1.04, 0.25],
         ["fe3r", -0.98, -0.84, 0.60],
         ["fe4r", -0.97, -1.45, 0.71],
         ["fe5r", -0.94, -1.81, 0.58],
         ["fe6r", -0.91, -1.99, 0.58],
         ["fe7r", -0.91, -0.80, 0.95],
         ["fe8r", -0.89, -1.47, 0.91],
         ["fe9r", -0.86, -1.87, 0.85],
         ["fe10r", -0.81, -2.13, 0.77],
         ["fe11r", -0.78, -2.12, 0.33],

         //rigidifier
         {"group":""},
         {"collision":false}
         {"selfCollision":false},
         ["fe12r", -0.60, -1.45, 0.6],
    ],
    "beams": [
          ["id1:", "id2:"],
          //--FENDER--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":1350750,"beamDamp":146},
          {"beamDeform":16250,"beamStrength":"FLT_MAX"},
          //fender main shape
          ["fe1r","fe2r"],
          ["fe3r","fe4r"],
          ["fe4r","fe5r"],
          ["fe5r","fe6r"],
          ["fe7r","fe8r"],
          ["fe8r","fe9r"],

          {"deformGroup":"fendersignal_R_break","deformationTriggerRatio":0.1},
          ["fe9r","fe10r"],
          {"deformGroup":""},

          ["fe1r","fe3r"],
          ["fe2r","fe4r"],
          ["fe3r","fe7r"],
          ["fe4r","fe8r"],
          ["fe5r","fe9r"],

          {"deformGroup":"fendersignal_R_break"},
          ["fe6r","fe10r"],
          {"deformGroup":""},

          ["fe5r","fe11r"],
          ["fe6r","fe11r"],

          //surficial crossing
          {"beamDeform":9540,"beamStrength":"FLT_MAX"},
          ["fe1r","fe4r"],
          ["fe2r","fe3r"],
          ["fe3r","fe8r"],
          ["fe4r","fe7r"],
          ["fe4r","fe9r"],
          ["fe5r","fe8r"],

          {"deformGroup":"fendersignal_R_break"},
          ["fe5r","fe10r"],
          ["fe6r","fe9r"],
          {"deformGroup":""},

          //corner rigids
          {"beamDeform":7020,"beamStrength":"FLT_MAX"},
          ["fe1r","fe7r"],
          ["fe2r","fe8r"],
          ["fe7r","fe9r"],

          {"deformGroup":"fendersignal_R_break"},
          ["fe8r","fe10r"],
          ["fe11r","fe10r"],
          {"deformGroup":""},

          ["fe3r","fe5r"],
          ["fe4r","fe6r"],
          ["fe2r","fe6r"],
          ["fe11r","fe9r"],
          ["fe11r","fe4r"],

          //rigidifier
          {"beamSpring":1350750,"beamDamp":219},
          {"beamDeform":4500,"beamStrength":"FLT_MAX"},
          ["fe1r","fe12r"],
          ["fe2r","fe12r"],
          ["fe3r","fe12r"],
          ["fe4r","fe12r"],
          ["fe5r","fe12r"],
          ["fe6r","fe12r"],
          ["fe7r","fe12r"],
          ["fe8r","fe12r"],
          ["fe9r","fe12r"],

          {"deformGroup":"fendersignal_R_break"},
          ["fe10r","fe12r"],
          ["fe11r","fe12r"],
          {"deformGroup":""},

          //attach
          //firewall
          {"disableTriangleBreaking":true}
          {"beamDeform":42660,"beamStrength":101000},
          {"breakGroup":"fender_a_R"},
          ["fe2r","f5r"],
          ["fe2r","f5rr"],
          ["fe3r","f5rr"],
          ["fe7r","f6rr"],
          ["fe1r","f1rr"],
          ["fe2r","f1rr"],

          //middle
          {"beamDeform":18900,"beamStrength":101000},
          {"breakGroup":"fender_b_R"},
          ["fe8r","f14rr"],
          ["fe4r","f14rr"],

          //front
          {"beamDeform":13860,"beamStrength":101000},
          {"deformGroup":"fendersignal_R_break"},
          {"breakGroup":"fender_c_R"},
          ["fe10r","f15rr"],
          ["fe9r","f15rr"],
          ["fe6r","f15rr"],
          ["fe5r","f15rr"],
          ["fe6r","f11rr"],
          ["fe5r","f11rr"],
          ["fe6r","f13rr"],
          ["fe5r","f13rr"],
          ["fe11r","f12rr"],
          ["fe11r","f10rr"],
          ["fe11r","f13rr"],
          ["fe11r","f11rr"],
          {"deformGroup":""},
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":1350750,"beamDamp":146},
          {"beamDeform":23760,"beamStrength":429000},
          ["fe1r","f2rr"],
          ["fe1r","f1r"],
          ["fe2r","f1r"],
          {"beamDeform":11880,"beamStrength":429000},
          ["fe4r","f5r"],
          ["fe4r","f6r"],
          ["fe8r","f6r"],
          ["fe7r","f6r"],
          ["fe8r","f6rr"],
          ["fe5r","f15r"],
          ["fe10r","f15r"],
          ["fe8r","f6r"],
          ["fe7r","p1r"],
          ["fe7r","p2r"],
          ["fe7r","p2rr"],
          ["fe3r","f1rr"],
          ["fe3r","f6rr"],
          ["fe7r","f1rr"],
          ["fe4r","f5r"],
          ["fe4r","f6r"],
          ["fe8r","f5r"],
          ["fe4r","f5r"],
          ["fe8r","fs1r"],
          ["fe8r","f15r"],
          ["fe11r","f13"],
          ["fe11r","f11"],

          //inter part triangle breaking triggers
          {"beamType":"|SUPPORT", "beamLongBound":1.0},
          {"beamSpring":0,"beamDamp":0},
          {"beamDeform":1000,"beamStrength":1000},
          {"breakGroup":"fender_bumper_R"},
          {"optional":true}
          ["fb1rr","fe6r"],
          {"breakGroup":"fender_body_R"},
          ["f15r","fe11r"],
          ["f5rr","fe3r"],
          {"breakGroup":"fender_door_R"},
          ["d5r","fe3r"],
          {"breakGroup":""},
          {"disableTriangleBreaking":false}
          {"optional":false}
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //right fender
            {"groundModel":"metal"},
            {"group":"fullsize_fender_R"},
            {"dragCoef":8},
            ["fe3r","fe1r","fe2r"],
            ["fe3r","fe2r","fe4r"],
            ["fe7r","fe3r","fe4r"],
            ["fe7r","fe4r","fe8r"],
            ["fe8r","fe4r","fe5r"],
            ["fe8r","fe5r","fe9r"],
            ["fe9r","fe5r","fe6r"],
            ["fe9r","fe6r","fe10r"],
            ["fe6r","fe5r","fe11r"],
            ["fe10r","fe6r","fe11r"],

            //{"breakGroup":"fender_body_R"},
            //["f15rr", "fe10r", "f13rr"],
            //["fe10r", "fe11r", "f13rr"],
            //["f13rr", "fe11r", "f11rr"],
            //["fx3r", "fe4r", "fx4r"],
            //["fx4r", "fe4r", "fe2r"],
            //["fx2r", "fx4r", "fe2r"],
            //["fe4r", "fx3r", "fe5r"],
            //["f11rr","fe5r", "fx3r"],
            //["fe11r", "fe5r", "f11rr"],
            //
            //{"optional":true}
            //{"breakGroup":"fender_door_R"},
            //["d7r", "fe3r", "fe7r"],
            //["d7r", "d4r", "fe3r"],
            //["d4r", "d1r", "fe3r"],
            //["fe3r", "d1r", "fe1r"],
            //{"optional":false}
            //{"breakGroup":""},
            {"group":""},
    ],
}
"fullsize_fender_L": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Left Fender",
        "value":60,
    }
    "slotType" : "fullsize_fender_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["fullsize_fender_L", ["fullsize_fender_L"]],
         ["fullsize_signalframe_L", ["fullsize_fender_L"]],
         {"deformGroup":"fendersignal_L_break", "deformMaterialBase":"fullsize_lights", "deformMaterialDamaged":"fullsize_lights_dmg"}
         ["fullsize_signal_L", ["fullsize_fender_L"],[]{"deformSound":"GlassBreakSound1", "deformVolume":0.4}],
         {"deformGroup":""}
    ],
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
        {
            "lightInnerAngle":0
            "lightOuterAngle":150
            "lightBrightness":0.06
            "lightRange":25
            "lightColor":{"r":255, "g":205, "b":0, "a":255}
            "lightAttenuation":{"x":0, "y":1, "z":1}
            "lightCastShadows":false
            "flareName":"vehicleBrakeLightFlare"
            "flareScale":0.1
        }
        //turn signal
        ["signal_L" ,         "SPOTLIGHT"        , "fe6l", "fe11l", "fe10l", {"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.25, "y":0.85, "z":0.0},"deformGroup":"fendersignal_L_break"}],
        ["lowhighbeam" ,         "SPOTLIGHT"        , "fe6l", "fe11l", "fe10l", {"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.25, "y":0.85, "z":0.0},"deformGroup":"fendersignal_L_break"}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--FENDER--
         //l
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"collision":true}
         {"selfCollision":true},
         {"group":"fullsize_fender_L"},
         {"nodeWeight":1.24},
         ["fe1l", 0.94, -0.83, 0.25],
         ["fe2l", 0.94, -1.04, 0.25],
         ["fe3l", 0.98, -0.84, 0.60],
         ["fe4l", 0.97, -1.45, 0.71],
         ["fe5l", 0.94, -1.81, 0.58],
         ["fe6l", 0.91, -1.99, 0.58],
         ["fe7l", 0.91, -0.80, 0.95],
         ["fe8l", 0.89, -1.47, 0.91],
         ["fe9l", 0.86, -1.87, 0.85],
         ["fe10l", 0.81, -2.13, 0.77],
         ["fe11l", 0.78, -2.12, 0.33],

         //rigidifier
         {"group":""},
         {"collision":false}
         {"selfCollision":false},
         ["fe12l", 0.60, -1.45, 0.6],
    ],
    "beams": [
          ["id1:", "id2:"],
          //--FENDER--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":1350750,"beamDamp":146},
          {"beamDeform":16250,"beamStrength":"FLT_MAX"},
          //fender main shape
          ["fe1l","fe2l"],
          ["fe3l","fe4l"],
          ["fe4l","fe5l"],
          ["fe5l","fe6l"],
          ["fe7l","fe8l"],
          ["fe8l","fe9l"],

          {"deformGroup":"fendersignal_L_break","deformationTriggerRatio":0.1},
          ["fe9l","fe10l"],
          {"deformGroup":""},

          ["fe1l","fe3l"],
          ["fe2l","fe4l"],
          ["fe3l","fe7l"],
          ["fe4l","fe8l"],
          ["fe5l","fe9l"],

          {"deformGroup":"fendersignal_L_break"},
          ["fe6l","fe10l"],
          {"deformGroup":""},

          ["fe5l","fe11l"],
          ["fe6l","fe11l"],

          //surficial crossing
          {"beamDeform":9540,"beamStrength":"FLT_MAX"},
          ["fe1l","fe4l"],
          ["fe2l","fe3l"],
          ["fe3l","fe8l"],
          ["fe4l","fe7l"],
          ["fe4l","fe9l"],
          ["fe5l","fe8l"],

          {"deformGroup":"fendersignal_L_break"},
          ["fe5l","fe10l"],
          ["fe6l","fe9l"],
          {"deformGroup":""},

          //corner rigids
          {"beamDeform":7020,"beamStrength":"FLT_MAX"},
          ["fe1l","fe7l"],
          ["fe2l","fe8l"],
          ["fe7l","fe9l"],

          {"deformGroup":"fendersignal_L_break"},
          ["fe8l","fe10l"],
          ["fe11l","fe10l"],
          {"deformGroup":""},

          ["fe3l","fe5l"],
          ["fe4l","fe6l"],
          ["fe2l","fe6l"],
          ["fe11l","fe9l"],
          ["fe11l","fe4l"],

          //rigidifier
          {"beamSpring":1350750,"beamDamp":219},
          {"beamDeform":4500,"beamStrength":"FLT_MAX"},
          ["fe1l","fe12l"],
          ["fe2l","fe12l"],
          ["fe3l","fe12l"],
          ["fe4l","fe12l"],
          ["fe5l","fe12l"],
          ["fe6l","fe12l"],
          ["fe7l","fe12l"],
          ["fe8l","fe12l"],
          ["fe9l","fe12l"],

          {"deformGroup":"fendersignal_L_break"},
          ["fe10l","fe12l"],
          ["fe11l","fe12l"],
          {"deformGroup":""},

          //attach
          //firewall
          {"disableTriangleBreaking":true}
          {"beamDeform":42660,"beamStrength":101000},
          {"breakGroup":"fender_a_L"},
          ["fe2l","f5l"],
          ["fe2l","f5ll"],
          ["fe3l","f5ll"],
          ["fe7l","f6ll"],
          ["fe1l","f1ll"],
          ["fe2l","f1ll"],

          //middle
          {"beamDeform":18900,"beamStrength":101000},
          {"breakGroup":"fender_b_L"},
          ["fe8l","f14ll"],
          ["fe4l","f14ll"],

          //front
          {"beamDeform":13860,"beamStrength":101000},
          {"breakGroup":"fender_c_L"},
          {"deformGroup":"fendersignal_L_break"},
          ["fe10l","f15ll"],
          ["fe9l","f15ll"],
          ["fe6l","f15ll"],
          ["fe5l","f15ll"],
          ["fe6l","f11ll"],
          ["fe5l","f11ll"],
          ["fe6l","f13ll"],
          ["fe5l","f13ll"],
          ["fe11l","f12ll"],
          ["fe11l","f10ll"],
          ["fe11l","f13ll"],
          ["fe11l","f11ll"],
          {"deformGroup":""},
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":1350750,"beamDamp":146},
          {"beamDeform":23760,"beamStrength":429000},
          ["fe1l","f2ll"],
          ["fe1l","f1l"],
          ["fe2l","f1l"],
          {"beamDeform":11880,"beamStrength":429000},
          ["fe4l","f5l"],
          ["fe4r","f6l"],
          ["fe8l","f6l"],
          ["fe7l","f6l"],
          ["fe8l","f6ll"],
          ["fe5l","f15l"],
          ["fe10l","f15l"],
          ["fe8l","f6l"],
          ["fe7l","p1l"],
          ["fe7l","p2l"],
          ["fe7l","p2ll"],
          ["fe3l","f1ll"],
          ["fe3l","f6ll"],
          ["fe7l","f1ll"],
          ["fe4l","f5l"],
          ["fe4l","f6l"],
          ["fe8l","f5l"],
          ["fe4l","f5l"],
          ["fe8l","fs1l"],
          ["fe8l","f15l"],
          ["fe11l","f13"],
          ["fe11l","f11"],

          //inter part triangle breaking triggers
          {"beamType":"|SUPPORT", "beamLongBound":1.0},
          {"beamSpring":0,"beamDamp":0},
          {"beamDeform":1000,"beamStrength":1000},
          {"breakGroup":"fender_bumper_L"},
          {"optional":true}
          ["fb1ll","fe6l"],
          {"breakGroup":"fender_body_L"},
          ["f15l","fe11l"],
          ["f5ll","fe3l"],
          {"breakGroup":"fender_door_L"},
          ["d5l","fe3l"],
          {"breakGroup":""},
          {"disableTriangleBreaking":false}
          {"optional":false}
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //left fender
            {"groundModel":"metal"},
            {"group":"fullsize_fender_L"},
            {"dragCoef":8},
            ["fe1l","fe3l","fe2l"],
            ["fe2l","fe3l","fe4l"],
            ["fe3l","fe7l","fe4l"],
            ["fe4l","fe7l","fe8l"],
            ["fe4l","fe8l","fe5l"],
            ["fe5l","fe8l","fe9l"],
            ["fe5l","fe9l","fe6l"],
            ["fe6l","fe9l","fe10l"],
            ["fe5l","fe6l","fe11l"],
            ["fe10l","fe11l","fe6l"],

            //{"breakGroup":"fender_body_L"},
            //["f15ll", "f13ll", "fe10l"],
            //["fe10l", "f13ll", "fe11l"],
            //["f13ll", "f11ll", "fe11l"],
            //["fe4l", "fx3l", "fx4l"],
            //["fe4l", "fx4l", "fe2l"],
            //["fx4l", "fx2l", "fe2l"],
            //["fx3l", "fe4l", "fe5l"],
            //["fe5l", "f11ll", "fx3l"],
            //["fe5l", "fe11l", "f11ll"],
            //
            //{"optional":true}
            //{"breakGroup":"fender_door_L"},
            //["fe7l", "fe3l", "d7l"],
            //["d7l", "fe3l", "d4l"],
            //["fe3l", "fe1l", "d1l"],
            //["fe3l", "d1l", "d4l"],
            //{"optional":false}
            //{"breakGroup":""},
            {"group":""},
    ],
}
}