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

         {"deformGroup":"windshield_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_int"},
         ["uteetk800_windshield_int", ["etk800_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"},
         ["uteetk800_windshield_dmg", ["etk800_windshield"]],
         {"deformGroup":""},
         ["etk800_wipers", ["etk800_body", "etk800_engine_bay"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":"etk800_windshield"},
         ["wi1", 0.00000, -0.52000, 1.20000{"group":["etk800_windshield","gps"]}],
         {"group":""},

         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--

         //windshield
         //a pillar
         {"nodeWeight":2.5},
         {"group":"etk800_body"},
         ["p1r", -0.62000, -0.42000, 1.16000, {"group":["etk800_body","etk800_windshield"]}],
         ["p1l", 0.62000, -0.42000, 1.16000, {"group":["etk800_body","etk800_windshield"]}],
         //roof
         {"nodeWeight":3.2},
         ["rf1r", -0.59500, -0.07982, 1.32000, {"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         ["rf1", 0.00000, -0.19982, 1.35000, {"nodeWeight":2.7,"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         ["rf1l", 0.59500, -0.07982, 1.32000, {"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         //firewall
         {"nodeWeight":8.4},
         ["f6rr", -0.78000, -0.77000, 0.95000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_dash"]}],
         ["f6r", -0.33000, -0.94000, 0.98000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_strutbar","etk800_dash"]}],
         ["f6l", 0.33000, -0.94000, 0.98000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_strutbar","etk800_dash"]}],
         ["f6ll", 0.78000, -0.77000, 0.95000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_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},

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

         {"deformGroup":"windshield_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_int"},
         ["uteetk800_windshield_int", ["etk800_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"},
         ["uteetk800_windshield_dmg", ["etk800_windshield"]],
         {"deformGroup":""},
         ["uteetk800_wipers_rhd", ["etk800_body", "etk800_engine_bay"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true},
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":2.0},
         {"group":"etk800_windshield"},
         ["wi1", 0.00000, -0.52000, 1.20000{"group":["etk800_windshield","gps"]}],
         {"group":""},

         {"nodeMaterial":"|NM_METAL"},

         //--ADD WEIGHT--

         //windshield
         //a pillar
         {"nodeWeight":2.5},
         {"group":"etk800_body"},
         ["p1r", -0.62000, -0.42000, 1.16000, {"group":["etk800_body","etk800_windshield"]}],
         ["p1l", 0.62000, -0.42000, 1.16000, {"group":["etk800_body","etk800_windshield"]}],
         //roof
         {"nodeWeight":3.2},
         ["rf1r", -0.59500, -0.07982, 1.32000, {"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         ["rf1", 0.00000, -0.19982, 1.35000, {"nodeWeight":2.7,"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         ["rf1l", 0.59500, -0.07982, 1.32000, {"group":["etk800_body","etk800_windshield","etk800_roof"]}],
         //firewall
         {"nodeWeight":8.4},
         ["f6rr", -0.78000, -0.77000, 0.95000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_dash"]}],
         ["f6r", -0.33000, -0.94000, 0.98000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_strutbar","etk800_dash"]}],
         ["f6l", 0.33000, -0.94000, 0.98000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_strutbar","etk800_dash"]}],
         ["f6ll", 0.78000, -0.77000, 0.95000, {"group":["etk800_engine_bay","gps","etk800_windshield","etk800_body","etk800_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},

    ],
},
"etk800_quarterglass_R_ute": {
    "information":{
        "authors":"BeamNG",
        "name":"Right Quarter Glass",
        "value":100,
    },
    "slotType" : "etk800_quarterglass_R_ute",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"sideglass_R_break", "deformMaterialBase":"etk800_glass", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_quarterglass_R", ["etk800_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"sideglass_R_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_quarterglass_R_int", ["etk800_body"]],

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

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

         ["rf3r", -0.55500, 0.61071, 1.35500, {"group":["etk800_body","etk800_roof"]}],
         ["p8r", -0.70500, 0.43000, 1.10000],
         ["p6r", -0.78000, 0.39000, 0.91000],

    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamSpring":1470600,"beamDamp":120},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1350600,"beamDamp":60},
          //side glass
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamDeform":4800,"beamStrength":8800},
          {"deformGroup":"sideglass_R_break", "deformationTriggerRatio":0.03},
          {"breakGroup":"sideglass_R"},
          ["rf3r","p8r"],
          ["rf3r","p6r"],
          ["p8r","p6r"],
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.1},

    ],
},
"etk800_quarterglass_L_ute": {
    "information":{
        "authors":"BeamNG",
        "name":"Left Quarter Glass",
        "value":100,
    },
    "slotType" : "etk800_quarterglass_L_ute",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"sideglass_L_break", "deformMaterialBase":"etk800_glass", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_quarterglass_L", ["etk800_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"sideglass_L_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_quarterglass_L_int", ["etk800_body"]],

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

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

         ["rf3l", 0.55500, 0.61071, 1.35500, {"group":["etk800_body","etk800_roof"]}],
         ["p8l", 0.70500, 0.43000, 1.10000],
         ["p6l", 0.78000, 0.39000, 0.91000],

    ],

    "beams": [
          ["id1:", "id2:"],
          {"beamSpring":1470600,"beamDamp":120},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //brittle glass beams
          {"beamSpring":1350600,"beamDamp":60},
          //side glass
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"beamDeform":4800,"beamStrength":8800},
          {"deformGroup":"sideglass_L_break", "deformationTriggerRatio":0.03},
          {"breakGroup":"sideglass_L"},
          ["rf3l","p6l"],
          ["rf3l","p8l"],
          ["p6l","p8l"],
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.1},

    ],
},
"etk800_doorglass_FR_ute": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Right Door Glass",
        "value":60,
    },
    "slotType" : "etk800_doorglass_FR_ute",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"etk800_glass", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_doorglass_FR", ["etk800_door_FR"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound5", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FR_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_doorglass_FR_int", ["etk800_door_FR"]],
         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"etk800_door_FR"},
         {"nodeWeight":1.8},
         ["d10r", -0.73000, -0.27000, 1.16000],
         ["d11r", -0.65000, -0.05982, 1.29000],
         ["d12r", -0.63000, 0.42000, 1.33000],
         ["d13r", -0.74000, 0.37000, 1.14000],
         {"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},
    ],
},
"etk800_doorglass_FL_ute": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Left Door Glass",
        "value":60,
    },
    "slotType" : "etk800_doorglass_FL_ute",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"etk800_glass", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_doorglass_FL", ["etk800_door_FL"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound6", "deformVolume":0.7}],
         {"deformGroup":"doorglass_FL_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_doorglass_FL_int", ["etk800_door_FL"]],
         {"deformGroup":""},
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--DOOR--
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"selfCollision":true},
         {"collision":true},
         {"group":"etk800_door_FL"},
         {"nodeWeight":1.8},
         ["d10l", 0.73000, -0.27000, 1.16000],
         ["d11l", 0.65000, -0.05982, 1.29000],
         ["d12l", 0.63000, 0.42000, 1.33000],
         ["d13l", 0.74000, 0.37000, 1.14000],
         {"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},
    ],
},
"etk800_rearglass_ute": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Window",
        "value":120,
    },
    "slotType" : "etk800_rearglass_ute",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         {"deformGroup":"rearglass_ute_break", "deformMaterialBase":"etk800_glass", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_rearglass", ["etk800_body"],[]{"deformSound":"event:>Destruction>Vehicle>Glass>glassbreaksound10", "deformVolume":0.8}],
         {"deformGroup":"rearglass_ute_break", "deformMaterialBase":"etk800_glass_int", "deformMaterialDamaged":"etk800_glass_dmg"},
         ["uteetk800_rearglass_int", ["etk800_body"]],
         {"deformGroup":""},
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
         //--BODY--
         {"collision":true},
         {"selfCollision":true},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"etk800_body"},
         {"nodeWeight":2.25},
         ["p9l", 0.70000, 0.62288, 1.04002],
         ["rf3l", 0.55500, 0.61071, 1.35500, {"group":["etk800_body","etk800_roof"]}],
         ["rf3r", -0.55500, 0.61071, 1.35500, {"group":["etk800_body","etk800_roof"]}],
         ["rf3r", -0.55500, 0.61071, 1.35500, {"group":["etk800_body","etk800_roof"]}],
         {"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":"rearglass"},
          {"deformGroup":"rearglass_ute_break", "deformationTriggerRatio":0.02},
          {"deformLimitExpansion":""},
          ["rf3l","rf3"],
          ["rf3l","p9l"],
          ["p9l","rf3"],
          ["rf3r","rf3"],
          ["rf3r","p9r"],
          ["p9r","rf3"],
          {"breakGroup":""},
          {"deformGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformLimitExpansion":1.1},
    ],
},
}