{
"s4b8_windshield": {
    "information":{
        "authors":"BeamNG",
        "name":"Windshield",
        "value":600,
    },
    "slotType" : "s4b8_windshield",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_dmg"},
         ["s4b8_windshield", ["s4b8_windshield"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>impact_glass_windscreen_01", "deformVolume":0.7}],

         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_int"},
         ["s4b8_windshield_int", ["s4b8_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"},
         ["s4b8_windshield_dmg", ["s4b8_windshield"]],
         {"deformGroup":""},
         ["s4b8_wipers", ["s4b8_body", "s4b8_engine_bay"]],
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":"s4b8_windshield"},
         ["wi1", 0, -0.52, 1.20{"group":["s4b8_windshield","gps"]}],
         {"group":""},

         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--

         //windshield
         //a pillar
         {"nodeWeight":2.5},
         {"group":"s4b8_body"},
         ["p1r", -0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         ["p1l", 0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         //roof
         {"nodeWeight":3.2},
         ["rf1r", -0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1", 0, -0.15, 1.35, {"nodeWeight":2.7,"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1l", 0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         //firewall
         {"nodeWeight":8.4},
         ["f6rr", -0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],
         ["f6r", -0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6l", 0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6ll", 0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamSpring":1470600,"beamDamp":120},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //weak windshield beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamDeform":10500,"beamStrength":"FLT_MAX"},
          {"deformGroup":"windshield_break","deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},

          ["rf1","wi1"],
          ["rf1r","wi1"],
          ["rf1l","wi1"],
          ["wi1","f6r"],
          ["wi1","f6l"],
          ["wi1","p1r"],
          ["wi1","p1l"],
          ["wi1","f6rr"],
          ["wi1","f6ll"],

          ["wi1","p2rr"],
          ["wi1","p2ll"],

          {"beamDeform":7500,"beamStrength":17500},
          ["rf1","f6r"],
          ["rf1","f6l"],

          ["p1r","p1l"],

          ["rf1r","f6r"],
          ["rf1l","f6l"],
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.1},

    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"groundModel":"glass"},
            {"group":"s4b8_roof"},
            {"dragCoef":3.5},
            ["rf1r", "p1r", "rf1"],
            ["p1r", "wi1", "rf1"],
            ["p1r", "f6rr", "f6r"],
            ["f6r", "wi1", "p1r"],
            ["wi1", "p1l", "rf1"],
            ["rf1", "p1l", "rf1l"],
            ["wi1", "f6l", "p1l"],
            ["p1l", "f6l", "f6ll"],
            ["wi1", "f6r", "f6l"],
            {"group":""},
    ],
},
"s4b8_quarterglass_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Right Quarter Glass",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RR_sedan", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RR_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9r", -0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_quarterglass_L": {
    "information":{
        "authors":"BeamNG",
        "name":"Left Quarter Glass",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RL_sedan", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RL_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9l", 0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_backlight": {
    "information":{
        "authors":"BeamNG",
        "name":"Backlight",
        "value":120,
    },
    "slotType" : "s4b8_backlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_dmg"},
         ["s4b8_rearglass_sedan", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound10", "deformVolume":0.8}],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_dmg"},
         ["s4b8_rearglass_sedan_int", ["s4b8_body"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    },
    "nodes": [
        ["id", "posX", "posY", "posZ"],
         //--TAILGATE--
         {"collision":true},
         {"selfCollision":true},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"s4b8_body"},
         {"nodeWeight":2.25},

         //trunk base
         {"nodeWeight":2.9},
         ["tb1r", -0.67, 1.75, 1.03],
         ["tb1", 0.0, 1.887, 1.02],
         ["tb1l", 0.67, 1.75, 1.03],

         //roof
         {"nodeWeight":3.0}
         ["rf4r", -0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],
         ["rf4", 0, 1.29, 1.311, {"nodeWeight":1.5,"group":["s4b8_body","s4b8_roof"]}],
         ["rf4l", 0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],

         //c pillar
         {"nodeWeight":2.3},
         ["p10r", -0.61, 1.456, 1.183],
         ["p10l", 0.61, 1.456, 1.183],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle rear glass
          {"beamSpring":1201000,"beamDamp":100},
          {"beamDeform":3600,"beamStrength":4000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"breakGroup":"tailgateglass"},
          {"deformGroup":"backlight_break", "deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},
          ["rf4l", "tb1r"],
          ["tb1l", "rf4r"],
          ["rf4", "tb1"],
          ["tb1", "rf4r"],
          ["rf4", "tb1r"],
          ["rf4", "tb1l"],
          ["tb1", "rf4l"],
          ["p10l", "p10r"],
          ["p10r", "tb1l"],
          ["p10r", "rf4l"],
          ["p10l", "tb1r"],
          ["p10l", "rf4r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FR": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Right Door Glass",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FR", ["s4b8_door_FR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FR_int", ["s4b8_door_FR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FR"},
         {"nodeWeight":1.8},
         ["d10r",-0.73, -0.27, 1.16],
         ["d11r",-0.65, -0.01, 1.29],
         ["d12r",-0.63, 0.42, 1.33],
         ["d13r",-0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FR"},
          {"deformLimitExpansion":""},
          ["d11r","d8r"],
          ["d12r","d8r"],
          ["d10r","d13r"],
          ["d10r","d9r"],
          ["d13r","d7r"],
          ["d9r","d11r"],
          ["d7r","d11r"],
          ["d9r","d12r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FL": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Left Door Glass",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FL", ["s4b8_door_FL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FL_int", ["s4b8_door_FL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FL"},
         {"nodeWeight":1.8},
         ["d10l", 0.73, -0.27, 1.16],
         ["d11l", 0.65, -0.01, 1.29],
         ["d12l", 0.63, 0.42, 1.33],
         ["d13l", 0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FL"},
          {"deformLimitExpansion":""},
          ["d11l","d8l"],
          ["d12l","d8l"],
          ["d10l","d13l"],
          ["d10l","d9l"],
          ["d13l","d7l"],
          ["d9l","d11l"],
          ["d7l","d11l"],
          ["d9l","d12l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RR": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Right Door Glass",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RR_sedan", ["s4b8_door_RR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound7", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RR_sedan_int", ["s4b8_door_RR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RR"},
         {"nodeWeight":1.7},
         ["d22r",-0.74, 0.40, 1.14],
         ["d23r",-0.63, 0.45, 1.33],
         ["d24r",-0.62, 0.74, 1.31],
         ["d25r",-0.63, 1.05, 1.25],
         ["d26r",-0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RR"},
          {"deformLimitExpansion":""},
          ["d22r","d21r"],
          ["d22r","d25r"],
          ["d24r","d20r"],
          ["d25r","d20r"],
          ["d23r","d20r"],
          ["d24r","d19r"],
          ["d21r","d24r"],
          ["d26r","d23r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RL": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Left Door Glass",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RL_sedan", ["s4b8_door_RL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound8", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RL_sedan_int", ["s4b8_door_RL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RL"},
         {"nodeWeight":1.7},
         ["d22l", 0.74, 0.40, 1.14],
         ["d23l", 0.63, 0.45, 1.33],
         ["d24l", 0.62, 0.74, 1.31],
         ["d25l", 0.63, 1.05, 1.25],
         ["d26l", 0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RL"},
          {"deformLimitExpansion":""},
          ["d22l","d21l"],
          ["d22l","d25l"],
          ["d24l","d20l"],
          ["d25l","d20l"],
          ["d23l","d20l"],
          ["d24l","d19l"],
          ["d21l","d24l"],
          ["d26l","d23l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_windshield.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Windshield (100%)",
        "value":600,
    },
    "slotType" : "s4b8_windshield",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_windshield.001", ["s4b8_windshield"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>impact_glass_windscreen_01", "deformVolume":0.7}],

         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_int"},
         ["s4b8_windshield_int", ["s4b8_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"},
         ["s4b8_glass_ton_dmg", ["s4b8_windshield"]],
         {"deformGroup":""},
         ["s4b8_wipers", ["s4b8_body", "s4b8_engine_bay"]],
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":"s4b8_windshield"},
         ["wi1", 0, -0.52, 1.20{"group":["s4b8_windshield","gps"]}],
         {"group":""},

         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--

         //windshield
         //a pillar
         {"nodeWeight":2.5},
         {"group":"s4b8_body"},
         ["p1r", -0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         ["p1l", 0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         //roof
         {"nodeWeight":3.2},
         ["rf1r", -0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1", 0, -0.15, 1.35, {"nodeWeight":2.7,"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1l", 0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         //firewall
         {"nodeWeight":8.4},
         ["f6rr", -0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],
         ["f6r", -0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6l", 0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6ll", 0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamSpring":1470600,"beamDamp":120},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //weak windshield beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamDeform":10500,"beamStrength":"FLT_MAX"},
          {"deformGroup":"windshield_break","deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},

          ["rf1","wi1"],
          ["rf1r","wi1"],
          ["rf1l","wi1"],
          ["wi1","f6r"],
          ["wi1","f6l"],
          ["wi1","p1r"],
          ["wi1","p1l"],
          ["wi1","f6rr"],
          ["wi1","f6ll"],

          ["wi1","p2rr"],
          ["wi1","p2ll"],

          {"beamDeform":7500,"beamStrength":17500},
          ["rf1","f6r"],
          ["rf1","f6l"],

          ["p1r","p1l"],

          ["rf1r","f6r"],
          ["rf1l","f6l"],
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.1},

    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"groundModel":"glass"},
            {"group":"s4b8_roof"},
            {"dragCoef":3.5},
            ["rf1r", "p1r", "rf1"],
            ["p1r", "wi1", "rf1"],
            ["p1r", "f6rr", "f6r"],
            ["f6r", "wi1", "p1r"],
            ["wi1", "p1l", "rf1"],
            ["rf1", "p1l", "rf1l"],
            ["wi1", "f6l", "p1l"],
            ["p1l", "f6l", "f6ll"],
            ["wi1", "f6r", "f6l"],
            {"group":""},
    ],
},
"s4b8_quarterglass_R.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Right Quarter Glass (100%)",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_quarterglass_RR_sedan.001", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_quarterglass_RR_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9r", -0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_quarterglass_L.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Left Quarter Glass (100%)",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_quarterglass_RL_sedan.001", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_quarterglass_RL_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9l", 0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_backlight.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Backlight (100%)",
        "value":120,
    },
    "slotType" : "s4b8_backlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_rearglass_sedan.001", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound10", "deformVolume":0.8}],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_rearglass_sedan_int", ["s4b8_body"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    },
    "nodes": [
        ["id", "posX", "posY", "posZ"],
         //--TAILGATE--
         {"collision":true},
         {"selfCollision":true},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"s4b8_body"},
         {"nodeWeight":2.25},

         //trunk base
         {"nodeWeight":2.9},
         ["tb1r", -0.67, 1.75, 1.03],
         ["tb1", 0.0, 1.887, 1.02],
         ["tb1l", 0.67, 1.75, 1.03],

         //roof
         {"nodeWeight":3.0}
         ["rf4r", -0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],
         ["rf4", 0, 1.29, 1.311, {"nodeWeight":1.5,"group":["s4b8_body","s4b8_roof"]}],
         ["rf4l", 0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],

         //c pillar
         {"nodeWeight":2.3},
         ["p10r", -0.61, 1.456, 1.183],
         ["p10l", 0.61, 1.456, 1.183],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle rear glass
          {"beamSpring":1201000,"beamDamp":100},
          {"beamDeform":3600,"beamStrength":4000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"breakGroup":"tailgateglass"},
          {"deformGroup":"backlight_break", "deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},
          ["rf4l", "tb1r"],
          ["tb1l", "rf4r"],
          ["rf4", "tb1"],
          ["tb1", "rf4r"],
          ["rf4", "tb1r"],
          ["rf4", "tb1l"],
          ["tb1", "rf4l"],
          ["p10l", "p10r"],
          ["p10r", "tb1l"],
          ["p10r", "rf4l"],
          ["p10l", "tb1r"],
          ["p10l", "rf4r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FR.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Front Right Door Glass (100%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_FR.001", ["s4b8_door_FR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_FR_int", ["s4b8_door_FR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FR"},
         {"nodeWeight":1.8},
         ["d10r",-0.73, -0.27, 1.16],
         ["d11r",-0.65, -0.01, 1.29],
         ["d12r",-0.63, 0.42, 1.33],
         ["d13r",-0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FR"},
          {"deformLimitExpansion":""},
          ["d11r","d8r"],
          ["d12r","d8r"],
          ["d10r","d13r"],
          ["d10r","d9r"],
          ["d13r","d7r"],
          ["d9r","d11r"],
          ["d7r","d11r"],
          ["d9r","d12r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FL.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Front Left Door Glass (100%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_FL.001", ["s4b8_door_FL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_FL_int", ["s4b8_door_FL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FL"},
         {"nodeWeight":1.8},
         ["d10l", 0.73, -0.27, 1.16],
         ["d11l", 0.65, -0.01, 1.29],
         ["d12l", 0.63, 0.42, 1.33],
         ["d13l", 0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FL"},
          {"deformLimitExpansion":""},
          ["d11l","d8l"],
          ["d12l","d8l"],
          ["d10l","d13l"],
          ["d10l","d9l"],
          ["d13l","d7l"],
          ["d9l","d11l"],
          ["d7l","d11l"],
          ["d9l","d12l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RR.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Rear Right Door Glass (100%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_RR_sedan.001", ["s4b8_door_RR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound7", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_RR_sedan_int", ["s4b8_door_RR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RR"},
         {"nodeWeight":1.7},
         ["d22r",-0.74, 0.40, 1.14],
         ["d23r",-0.63, 0.45, 1.33],
         ["d24r",-0.62, 0.74, 1.31],
         ["d25r",-0.63, 1.05, 1.25],
         ["d26r",-0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RR"},
          {"deformLimitExpansion":""},
          ["d22r","d21r"],
          ["d22r","d25r"],
          ["d24r","d20r"],
          ["d25r","d20r"],
          ["d23r","d20r"],
          ["d24r","d19r"],
          ["d21r","d24r"],
          ["d26r","d23r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RL.001": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Rear Left Door Glass (100%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_RL_sedan.001", ["s4b8_door_RL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound8", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_ton_dmg"},
         ["s4b8_doorglass_RL_sedan_int", ["s4b8_door_RL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RL"},
         {"nodeWeight":1.7},
         ["d22l", 0.74, 0.40, 1.14],
         ["d23l", 0.63, 0.45, 1.33],
         ["d24l", 0.62, 0.74, 1.31],
         ["d25l", 0.63, 1.05, 1.25],
         ["d26l", 0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RL"},
          {"deformLimitExpansion":""},
          ["d22l","d21l"],
          ["d22l","d25l"],
          ["d24l","d20l"],
          ["d25l","d20l"],
          ["d23l","d20l"],
          ["d24l","d19l"],
          ["d21l","d24l"],
          ["d26l","d23l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_windshield.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Windshield (50%)",
        "value":600,
    },
    "slotType" : "s4b8_windshield",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_windshield.002", ["s4b8_windshield"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>impact_glass_windscreen_01", "deformVolume":0.7}],

         {"deformGroup":"windshield_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_glass_int"},
         ["s4b8_windshield_int", ["s4b8_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"},
         ["s4b8_slight_tint_dmg", ["s4b8_windshield"]],
         {"deformGroup":""},
         ["s4b8_wipers", ["s4b8_body", "s4b8_engine_bay"]],
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":"s4b8_windshield"},
         ["wi1", 0, -0.52, 1.20{"group":["s4b8_windshield","gps"]}],
         {"group":""},

         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--

         //windshield
         //a pillar
         {"nodeWeight":2.5},
         {"group":"s4b8_body"},
         ["p1r", -0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         ["p1l", 0.62, -0.42, 1.16, {"group":["s4b8_body","s4b8_windshield"]}],
         //roof
         {"nodeWeight":3.2},
         ["rf1r", -0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1", 0, -0.15, 1.35, {"nodeWeight":2.7,"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         ["rf1l", 0.595, -0.03, 1.32, {"group":["s4b8_body","s4b8_windshield","s4b8_roof"]}],
         //firewall
         {"nodeWeight":8.4},
         ["f6rr", -0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],
         ["f6r", -0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6l", 0.33, -0.94, 0.98, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_strutbar","s4b8_dash"]}],
         ["f6ll", 0.78, -0.77, 0.95, {"group":["s4b8_engine_bay","gps","s4b8_windshield","s4b8_body","s4b8_dash"]}],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamSpring":1470600,"beamDamp":120},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //weak windshield beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamDeform":10500,"beamStrength":"FLT_MAX"},
          {"deformGroup":"windshield_break","deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},

          ["rf1","wi1"],
          ["rf1r","wi1"],
          ["rf1l","wi1"],
          ["wi1","f6r"],
          ["wi1","f6l"],
          ["wi1","p1r"],
          ["wi1","p1l"],
          ["wi1","f6rr"],
          ["wi1","f6ll"],

          ["wi1","p2rr"],
          ["wi1","p2ll"],

          {"beamDeform":7500,"beamStrength":17500},
          ["rf1","f6r"],
          ["rf1","f6l"],

          ["p1r","p1l"],

          ["rf1r","f6r"],
          ["rf1l","f6l"],
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.1},

    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            {"groundModel":"glass"},
            {"group":"s4b8_roof"},
            {"dragCoef":3.5},
            ["rf1r", "p1r", "rf1"],
            ["p1r", "wi1", "rf1"],
            ["p1r", "f6rr", "f6r"],
            ["f6r", "wi1", "p1r"],
            ["wi1", "p1l", "rf1"],
            ["rf1", "p1l", "rf1l"],
            ["wi1", "f6l", "p1l"],
            ["p1l", "f6l", "f6ll"],
            ["wi1", "f6r", "f6l"],
            {"group":""},
    ],
},
"s4b8_quarterglass_R.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Right Quarter Glass (50%)",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RR_sedan.002", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_R_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RR_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9r", -0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_quarterglass_L.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Left Quarter Glass (50%)",
        "value":50,
    },
    "slotType" : "s4b8_quarterglass_L",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RL_sedan.002", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"quarterglass_L_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_quarterglass_RL_sedan_int", ["s4b8_body"]],

         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--
         {"group":"s4b8_body"},

         //rear quarter windows
         //c pillar
         {"nodeWeight":2.5},
         ["p9l", 0.69, 1.148, 1.111],

         //windshield 12kg, rear window 10kg, coupe window 4kg, sedan window 3kg
         //1568kg

    ],
},
"s4b8_backlight.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Backlight (50%)",
        "value":120,
    },
    "slotType" : "s4b8_backlight",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_slight_tint_rear", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_rearglass_sedan.002", ["s4b8_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound10", "deformVolume":0.8}],
         {"deformGroup":"backlight_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_rearglass_sedan_int", ["s4b8_body"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    },
    "nodes": [
        ["id", "posX", "posY", "posZ"],
         //--TAILGATE--
         {"collision":true},
         {"selfCollision":true},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"s4b8_body"},
         {"nodeWeight":2.25},

         //trunk base
         {"nodeWeight":2.9},
         ["tb1r", -0.67, 1.75, 1.03],
         ["tb1", 0.0, 1.887, 1.02],
         ["tb1l", 0.67, 1.75, 1.03],

         //roof
         {"nodeWeight":3.0}
         ["rf4r", -0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],
         ["rf4", 0, 1.29, 1.311, {"nodeWeight":1.5,"group":["s4b8_body","s4b8_roof"]}],
         ["rf4l", 0.55, 1.226, 1.289, {"group":["s4b8_body","s4b8_roof"]}],

         //c pillar
         {"nodeWeight":2.3},
         ["p10r", -0.61, 1.456, 1.183],
         ["p10l", 0.61, 1.456, 1.183],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle rear glass
          {"beamSpring":1201000,"beamDamp":100},
          {"beamDeform":3600,"beamStrength":4000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"breakGroup":"tailgateglass"},
          {"deformGroup":"backlight_break", "deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},
          ["rf4l", "tb1r"],
          ["tb1l", "rf4r"],
          ["rf4", "tb1"],
          ["tb1", "rf4r"],
          ["rf4", "tb1r"],
          ["rf4", "tb1l"],
          ["tb1", "rf4l"],
          ["p10l", "p10r"],
          ["p10r", "tb1l"],
          ["p10r", "rf4l"],
          ["p10l", "tb1r"],
          ["p10l", "rf4r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FR.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Front Right Door Glass (50%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FR.002", ["s4b8_door_FR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FR_int", ["s4b8_door_FR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FR"},
         {"nodeWeight":1.8},
         ["d10r",-0.73, -0.27, 1.16],
         ["d11r",-0.65, -0.01, 1.29],
         ["d12r",-0.63, 0.42, 1.33],
         ["d13r",-0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FR"},
          {"deformLimitExpansion":""},
          ["d11r","d8r"],
          ["d12r","d8r"],
          ["d10r","d13r"],
          ["d10r","d9r"],
          ["d13r","d7r"],
          ["d9r","d11r"],
          ["d7r","d11r"],
          ["d9r","d12r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_FL.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Front Left Door Glass (50%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_FL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FL.002", ["s4b8_door_FL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_FL_int", ["s4b8_door_FL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_FL"},
         {"nodeWeight":1.8},
         ["d10l", 0.73, -0.27, 1.16],
         ["d11l", 0.65, -0.01, 1.29],
         ["d12l", 0.63, 0.42, 1.33],
         ["d13l", 0.74, 0.37, 1.14],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_FL"},
          {"deformLimitExpansion":""},
          ["d11l","d8l"],
          ["d12l","d8l"],
          ["d10l","d13l"],
          ["d10l","d9l"],
          ["d13l","d7l"],
          ["d9l","d11l"],
          ["d7l","d11l"],
          ["d9l","d12l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RR.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Rear Right Door Glass (50%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RR_sedan.002", ["s4b8_door_RR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound7", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RR_sedan_int", ["s4b8_door_RR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RR"},
         {"nodeWeight":1.7},
         ["d22r",-0.74, 0.40, 1.14],
         ["d23r",-0.63, 0.45, 1.33],
         ["d24r",-0.62, 0.74, 1.31],
         ["d25r",-0.63, 1.05, 1.25],
         ["d26r",-0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RR_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RR"},
          {"deformLimitExpansion":""},
          ["d22r","d21r"],
          ["d22r","d25r"],
          ["d24r","d20r"],
          ["d25r","d20r"],
          ["d23r","d20r"],
          ["d24r","d19r"],
          ["d21r","d24r"],
          ["d26r","d23r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
"s4b8_doorglass_RL.002": {
    "information":{
        "authors":"BeamNG",
        "name":"Tinted Rear Left Door Glass (50%)",
        "value":60,
    },
    "slotType" : "s4b8_doorglass_RL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RL_sedan.002", ["s4b8_door_RL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound8", "deformVolume":0.7}],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"s4b8_glass_int", "deformMaterialDamaged":"s4b8_slight_tint_dmg"},
         ["s4b8_doorglass_RL_sedan_int", ["s4b8_door_RL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //rear right door
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"s4b8_door_RL"},
         {"nodeWeight":1.7},
         ["d22l", 0.74, 0.40, 1.14],
         ["d23l", 0.63, 0.45, 1.33],
         ["d24l", 0.62, 0.74, 1.31],
         ["d25l", 0.63, 1.05, 1.25],
         ["d26l", 0.715, 1.13, 1.11],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RL_break", "deformationTriggerRatio":0.02},
          {"beamSpring":1401000,"beamDamp":90},
          {"beamDeform":8000,"beamStrength":7000},
          {"breakGroup":"doorglass_RL"},
          {"deformLimitExpansion":""},
          ["d22l","d21l"],
          ["d22l","d25l"],
          ["d24l","d20l"],
          ["d25l","d20l"],
          ["d23l","d20l"],
          ["d24l","d19l"],
          ["d21l","d24l"],
          ["d26l","d23l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
}