{
"pilot25_spadie_glass_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Windshield",
        "value":330,
    },
    "slotType" : "pilot25_spadie_glass_F",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"windshield_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_windshield", ["pilot25_spadie_windshield"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>impact_glass_windscreen_01", "deformVolume":0.7}],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_cracks"},
         ["pilot25_spadie_windshield_dmg", ["pilot25_spadie_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_int"},
         ["pilot25_spadie_windshield_int", ["pilot25_spadie_windshield"]],
         {"deformGroup":""},

         ["pilot25_spadie_windshield_frit", ["pilot25_spadie_windshield"],[]],
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":["pilot25_spadie_windshield","gps"]},
         ["wi1", 0, -0.79, 1.16],
         {"group":""},
         {"nodeMaterial":"|NM_METAL"},

         //--NODE WEIGHT ADD--
         //windshield
         {"group":"pilot25_spadie_body"},

         //a pillars
         {"nodeWeight":2.5},
         ["p2r",-0.75439, -0.64925, 1.23633, {"group":["pilot25_spadie_body","gps","pilot25_spadie_windshield"]}],
         ["p2l",0.75439, -0.64925, 1.23633, {"group":["pilot25_spadie_body","gps","pilot25_spadie_windshield"]}],

         //roof
         {"nodeWeight":2.9},
         ["rf1r",-0.63050, -0.32140, 1.51043, {"group":["pilot25_spadie_body","gps","pilot25_spadie_windshield"]}],
         ["rf1",0.00000, -0.39300, 1.51766, {"nodeWeight":2.4,"group":["pilot25_spadie_body","gps","pilot25_spadie_windshield"]}],
         ["rf1l",0.63050, -0.32140, 1.51043, {"group":["pilot25_spadie_body","gps","pilot25_spadie_windshield"]}],

         //firewall
         {"nodeWeight":6.1},
         {"group":["pilot25_spadie_engine_bay","pilot25_spadie_windshield","gps","pilot25_spadie_body","pilot25_spadie_dash"]},
         ["f6rr",-0.73500, -1.10380, 1.04980],
         ["f6r",-0.32500, -1.08436, 1.04310, {"group":["pilot25_spadie_engine_bay","pilot25_spadie_windshield","gps","pilot25_spadie_body","pilot25_spadie_strutbar","pilot25_spadie_dash"]}],
         ["f6l",0.32500, -1.08436, 1.04310, {"group":["pilot25_spadie_engine_bay","pilot25_spadie_windshield","gps","pilot25_spadie_body","pilot25_spadie_strutbar","pilot25_spadie_dash"]}],
         ["f6ll",0.73500, -1.10380, 1.04980],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //windshield
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamSpring":1001000,"beamDamp":50},
          {"beamDeform":4100,"beamStrength":"FLT_MAX"},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformGroup":"windshield_break","deformationTriggerRatio":0.03},
          ["rf1","wi1"],
          ["rf1r","wi1"],
          ["rf1l","wi1"],
          ["wi1","f6r"],
          ["wi1","f6l"],
          ["wi1","p1r"],
          ["wi1","p1l"],
          ["wi1","f6rr"],
          ["wi1","f6ll"],

          ["wi1","p2rr"],
          ["wi1","p2ll"],
          {"beamDeform":5550,"beamStrength":12750},
          ["rf1","f6r"],
          ["rf1","f6l"],

          ["p1r","p1l"],

          ["rf1r","f6r"],
          ["rf1l","f6l"],

          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"deformLimitExpansion":1.2},
    ],
},
"pilot25_spadie_quarterglass_RR": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Right Quarter Glass",
        "value":85,
    },
    "slotType" : "pilot25_spadie_quarterglass_RR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"quarterglass_RR_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_sideglass_RR", ["pilot25_spadie_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.6}],

         {"deformGroup":"quarterglass_RR_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_sideglass_RR_int", ["pilot25_spadie_body"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--NODE WEIGHT ADD--

         //rear quarter glass
         {"group":"pilot25_spadie_body"},
         //c/d pillar
         {"nodeWeight":4.0},
         ["p9r",-0.79156, 1.25254, 1.15300],
         ["p10r",-0.71699, 2.17717, 1.15300],
         {"group":""},
    ],
},
"pilot25_spadie_quarterglass_RL": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Left Quarter Glass",
        "value":85,
    },
    "slotType" : "pilot25_spadie_quarterglass_RL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"quarterglass_RL_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_sideglass_RL", ["pilot25_spadie_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.6}],

         {"deformGroup":"quarterglass_RL_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_sideglass_RL_int", ["pilot25_spadie_body"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.01
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--NODE WEIGHT ADD--

         //rear quarter glass
         {"group":"pilot25_spadie_body"},
         //c/d pillar
         {"nodeWeight":4.0},
         ["p9l",0.79156, 1.25254, 1.15300],
         ["p10l",0.71699, 2.17717, 1.15300],
         {"group":""},
    ],
},
"pilot25_spadie_doorglass_FR": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Right Door Glass",
        "value":50,
    },
    "slotType" : "pilot25_spadie_doorglass_FR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_FR", ["pilot25_spadie_door_FR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.7}],

         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_FR_int", ["pilot25_spadie_door_FR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         //front right door glass
         {"nodeWeight":1.2},
         {"collision":true},
         {"selfCollision":true},
         {"group":"pilot25_spadie_door_FR"},
         ["d10r", -0.78749, -0.55300, 1.19516],
         ["d11r", -0.70248, -0.19900, 1.39845],
         ["d12r", -0.67632, 0.30500, 1.47743],
         ["d13r", -0.78095, 0.27000, 1.26835],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1401000,"beamDamp":60},
          {"beamDeform":7000,"beamStrength":6000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FR_break", "deformationTriggerRatio":0.01},
          {"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.2},
    ],
},
"pilot25_spadie_doorglass_FL": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Left Door Glass",
        "value":50,
    },
    "slotType" : "pilot25_spadie_doorglass_FL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_FL", ["pilot25_spadie_door_FL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],

         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_FL_int", ["pilot25_spadie_door_FL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         //front left door glass
         {"nodeWeight":1.2},
         {"collision":true},
         {"selfCollision":true},
         {"group":"pilot25_spadie_door_FL"},
         ["d10l", 0.78628, -0.55300, 1.19516],
         ["d11l", 0.70127, -0.19900, 1.39845],
         ["d12l", 0.67511, 0.30500, 1.47743],
         ["d13l", 0.77974, 0.27000, 1.26835],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1401000,"beamDamp":60},
          {"beamDeform":7000,"beamStrength":6000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_FL_break", "deformationTriggerRatio":0.01},
          {"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.2},
    ],
},
"pilot25_spadie_doorglass_RR": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Right Door Glass",
        "value":50,
    },
    "slotType" : "pilot25_spadie_doorglass_RR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_RR", ["pilot25_spadie_door_RR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound7", "deformVolume":0.7}],

         {"deformGroup":"doorglass_RR_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_RR_int", ["pilot25_spadie_door_RR"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         //rear right door glass
         {"selfCollision":true},
         {"collision":true},
         {"group":"pilot25_spadie_door_RR"},
         {"nodeWeight":1.2},
         ["d23r", -0.76856, 0.30087, 1.29027],
         ["d24r", -0.66551, 0.33829, 1.47027],
         ["d25r", -0.67195, 0.69969, 1.46527],
         ["d26r", -0.67517, 1.06108, 1.44027],
         ["d27r", -0.76104, 1.20649, 1.27927],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1101000,"beamDamp":60},
          {"beamDeform":7000,"beamStrength":6000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RR_break", "deformationTriggerRatio":0.01},
          {"breakGroup":"doorglass_RR"},
          {"deformLimitExpansion":""},
          ["d21r", "d25r"],
          ["d23r", "d27r"],
          ["d26r", "d20r"],
          ["d24r", "d22r"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.2},
    ],
},
"pilot25_spadie_doorglass_RL": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Left Door Glass",
        "value":50,
    },
    "slotType" : "pilot25_spadie_doorglass_RL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_RL", ["pilot25_spadie_door_RL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound8", "deformVolume":0.7}],

         {"deformGroup":"doorglass_RL_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_doorglass_RL_int", ["pilot25_spadie_door_RL"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         //rear left door glass
         {"selfCollision":true},
         {"collision":true},
         {"group":"pilot25_spadie_door_RL"},
         {"nodeWeight":1.2},
         ["d23l", 0.76856, 0.30087, 1.29027],
         ["d24l", 0.66551, 0.33829, 1.47027],
         ["d25l", 0.67195, 0.69969, 1.46527],
         ["d26l", 0.67517, 1.06108, 1.44027],
         ["d27l", 0.76104, 1.20649, 1.27927],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamPrecompression":1, "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1101000,"beamDamp":60},
          {"beamDeform":7000,"beamStrength":6000},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"doorglass_RL_break", "deformationTriggerRatio":0.01},
          {"breakGroup":"doorglass_RL"},
          {"deformLimitExpansion":""},
          ["d21l", "d25l"],
          ["d23l", "d27l"],
          ["d26l", "d20l"],
          ["d24l", "d22l"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.2},
    ],
},
"pilot25_spadie_tailgateglass": {
    "information":{
        "authors":"BeamNG",
        "name":"Tailgate Glass",
        "value":80,
    },
    "slotType" : "pilot25_spadie_tailgateglass",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"tailgateglass_break", "deformMaterialBase":"pilot25_spadie_glass", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_tailgateglass", ["pilot25_spadie_tailgate"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound10", "deformVolume":0.8}],

         {"deformGroup":"tailgateglass_break", "deformMaterialBase":"pilot25_spadie_glass_int", "deformMaterialDamaged":"pilot25_spadie_glass_dmg"},
         ["pilot25_spadie_tailgateglass_int", ["pilot25_spadie_tailgate"]],
         {"deformGroup":""},
    ],
    "sounds": {
        "$+cabinFilterCoef": 0.04
    }
    "nodes": [
        ["id", "posX", "posY", "posZ"],
         //--TAILGATE--
         {"collision":true},
         {"selfCollision":true},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"pilot25_spadie_tailgate"},
         {"nodeWeight":2.0},
         ["t2rr", -0.80149, 2.16415, 1.19942],
         ["t2r", -0.67307, 2.21341, 1.48482],
         ["t2", 0.00000, 2.28561, 1.49396],
         ["t2l", 0.67307, 2.21341, 1.48482],
         ["t2ll", 0.80149, 2.16415, 1.19942],

         {"nodeWeight":1.3},
         ["t3rr", -0.70403, 2.44331, 1.05412],
         ["t3r", -0.35620, 2.53848, 1.03880],
         ["t3l", 0.35620, 2.53848, 1.03880],
         ["t3ll", 0.70403, 2.44331, 1.05412],

         {"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":"tailgateglass_break", "deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},
          ["t2", "t3l"],
          ["t2", "t3r"],
          ["t2l", "t3rr"],
          ["t2r", "t3ll"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.2},
    ],
},
}