{
"inf21tahoe_interior": {
    "information":{
        "authors":"BeamNG",
        "name":"Dashboard",
        "value":1000,
    },
    "slotType" : "inf21tahoe_interior",
    "slots": [
        ["type", "default", "description"],
        ["inf21tahoe_steer","inf21tahoe_steer","Steering Wheel"],
        ["inf21tahoe_shifter","inf21tahoe_shifter_A","Shifter"],
        ["inf21tahoe_shifter_T","inf21tahoe_ashtray","Low Range Selector"],
        ["inf21tahoe_interior_accessory","","Interior Accessory"],
    ],
    "camerasInternal":[
        ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
        {"nodeWeight":2.35},
        {"beamSpring":846, "beamDamp":94},
        {"selfCollision":true},
        {"collision":true},
        //dash cam
        ["dash", 0.46, 0.22, 1.54, 55, "b1rr","b1ll","b3rr","b3ll","b6rr","b6ll", {"beamDeform":2800560,"beamStrength":"FLT_MAX"}],
    ],
    "soundscape": [
        ["name", "src"],
        //indicator7
        {"node:":"int_strw"},
        ["indicatorStart", "event:>Vehicle>Interior>Indicator>MER_On"],
        ["indicatorStop", "event:>Vehicle>Interior>Indicator>MER_Off"],
        ["indLoop1", "event:>Vehicle>Interior>Indicator>FIPA_Click"],
        ["indLoop2", "event:>Vehicle>Interior>Indicator>FIPA_Clack"],
        //lights3
        ["LightOn", "event:>Vehicle>Interior>Light>BM318_Light_On"],
        ["LightOff", "event:>Vehicle>Interior>Light>BM318_Light_Off"],
        //handbrake2
        {"node:":"int_pbrk"},
        ["handbrakeDisengaged","event:>Vehicle>Interior>Handbrake_Pedal>Pedal_05_Unlock"],
        ["handbrakeEngaging","event:>Vehicle>Interior>Handbrake_Pedal>Pedal_05_Lock"],
        //affects horn location because horn soundscape is loaded after
        {"node:":"b6l"},
    ],
    "props": [
        ["func",         "mesh",                 "idRef:","idX:","idY:", "baseRotation",           "rotation",                  "translation",           "min", "max", "offset", "multiplier"],
        //speedometer
        ["wheelspeed",   "inf21tahoe_needle_speedo", "dshl","dsh","int_strw",       {"x":163.602 "y":-160.207, "z":-15.496}, {"x":0, "y":0, "z":-4.15},   {"x":0, "y":0, "z":0},   0, 52, -26.1, 0.97],
        //tachometer
        ["rpm",          "inf21tahoe_needle_tacho",  "dshl","dsh","int_strw",       {"x":155.361 "y":-178.360, "z":14.386}, {"x":0, "y":0, "z":-0.0335}, {"x":0, "y":0, "z":0},   0, 9000, -4000, 1.15],
        //fuel gauge
        ["fuel",         "inf21tahoe_needle_fuel",   "dshl","dsh","int_strw",       {"x":165 "y":180, "z":0}, {"x":0, "y":0, "z":-70},     {"x":0, "y":0, "z":0},   0, 5, -1, 1.78],
        //water temp
        ["watertemp",    "inf21tahoe_needle_temp",   "dshl","dsh","int_strw",     {"x":162.781 "y":-156.296, "z":-21.333}, {"x":0, "y":0, "z":-1},      {"x":0, "y":0, "z":0},   60, 120, -90, 1.2],
        //pedals
        ["brake",        "inf21tahoe_brakepedal",    "b1l","b1r","b5l",    {"x":176.099, "y":180, "z":0},   {"x":-25, "y":0, "z":0},     {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        ["throttle",     "inf21tahoe_gaspedal",      "b1l","b1r","b5l",    {"x":-172.786, "y":180, "z":0},   {"x":-25, "y":0, "z":0},     {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        ["parkingbrake", "inf21tahoe_parkingbrake",  "b1l","b1r","b5l",    {"x":176.099, "y":180, "z":0},   {"x":-25, "y":0, "z":0},     {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],
        //turn signal stalk
        ["turnsignal",   "inf21tahoe_signalstalk",   "dshl","dsh","int_strw",      {"x":-105 "y":180, "z":0}, {"x":0, "y":-15, "z":-2},     {"x":0, "y":0, "z":0},   -1, 1, -1, 1],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //interior
         ["inf21tahoe_dash", ["inf21tahoe_dash"]],
         ["inf21tahoe_sunvisor", ["inf21tahoe_body"]],
         ["inf21tahoe_gauges", ["inf21tahoe_dash"]],
         ["inf21tahoe_decals_gauges", ["inf21tahoe_dash"]],
         ["inf21tahoe_console", ["inf21tahoe_floor", "inf21tahoe_dash"]],
    ],
    "controller": [
        ["fileName"],
        ["gauges/analogOdometer", {"name":"analogOdometer" }],
    ],
    "analogOdometer": {
        "configuration": {
            "materialName": "@generic_gauges_odo",
            "htmlPath": "local://local/vehicles/common/analogOdo.html",
            "displayWidth":512,
            "displayHeight":32,
            "odometerDigits":7,
            "odometerHasDecimalSeparator":true,
            "tripHasDecimalSeparator":true,
            "unit":"imperial",
            "floatStyle":{"color":"black"},
            "bodyStyle":{
                "background": "url('/vehicles/common/odometer_analog_b.cef_color.png')",
                "font-family": "OpenSans",
                "font-size": "28px",
                "color": "white",
                "letter-spacing": "15.5px",
                "margin": "-4.5px 10.5px",
                "transform": "scaleX(1.26)",
                "transform-origin": "left",
            },
            "tripDivStyle":{
                "margin-left": "-3px",
                "position": "fixed",
                "letter-spacing": "32px"
            }
        },
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"collision":true},
         {"selfCollision":true},

         //dash nodes
         {"group":["inf21tahoe_dash"]},
         {"nodeWeight":0.752},
         ["dshr",-0.46, -0.626, 1.090],
         ["dsh",  0.000, -0.626, 1.090],
         ["dshl", 0.46, -0.626, 1.090],
         ["dsh2", 0.0, -0.57, 0.85],
         ["dsh3", 0.0, 0.32, 0.96],
         {"collision":false},
         {"selfCollision":false},
         ["int_strw", 0.46, -0.45, 1.168],
         {"nodeWeight":0.2},
         {"group":""},
         ["int_pbrk", 0.66, -0.93, 0.86],
         {"group":""},
    ],
    "triggers":[
        ["id", "label", "idRef:", "idX:", "idY:", "type", "size", "baseRotation", "rotation", "translation", "baseTranslation"],
        ["hood_int", "Hood Release", "dshl","dsh","b1ll", "box", {"x":0.045, "y":0.04, "z":0.04}, {"x":25, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0},{"x":-0.042, "y":0.29, "z":-0.04}],
    ],
    "torsionbars":[
       ["id1:", "id2:", "id3:", "id4:"],
        //rigify the column
        {"spring":20000, "damp":1, "deform":18000, "strength":28000},
        ["int_strw", "dshl", "dsh", "b5l"],

    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //dash board
          {"beamSpring":869146.6,"beamDamp":142.73},
          {"beamDeform":12400,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["dshr","b5r"],
          ["dshl","b5l"],
          ["dshr","b6r"],
          ["dshl","b6l"],
          ["dshr","b1r"],
          ["dshl","b1l"],
          ["dshr","b5rr"],
          ["dshl","b5ll"],
          ["dshr","b6rr"],
          ["dshl","b6ll"],
          ["dshl","dshr"],
          ["dsh","b5r"],
          ["dsh","b5l"],
          ["dsh","b6r"],
          ["dsh","b6l"],
          ["dsh","b1r"],
          ["dsh","b1l"],
          ["dshl","dsh"],
          ["dshr","dsh"],
          ["dsh","int_strw"],
          ["dshl","int_strw"],
          {"beamDeform":4400,"beamStrength":"FLT_MAX"},
          ["dshl","dsh2"],
          ["dshr","dsh2"],
          ["b1l","dsh2"],
          ["b1r","dsh2"],
          ["b2l","dsh2"],
          ["b2r","dsh2"],
          ["b2l","dsh3"],
          ["b2r","dsh3"],
          ["b3l","dsh3"],
          ["b3r","dsh3"],
          ["dsh2","dsh3"],
          {"beamSpring":160100,"beamDamp":142.73},
          {"beamDeform":70300,"beamStrength":"FLT_MAX"},
          ["int_pbrk","dshl"],
          ["int_pbrk","b5ll"],
          ["int_pbrk","b5l"],
          ["int_pbrk","b1lll"],
          //--BLEED DEFORM LIMIT TO OTHER PARTS--
          {"deformLimitExpansion":1.2},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //sides
            {"dragCoef":0},
            {"group":"inf21tahoe_dash"},
            ["b6ll", "dshl", "b6l"],
            ["dshl", "dsh", "b6l"],
            ["dsh", "dshr", "b6r"],
            ["b6r", "b6l", "dsh"],
            ["dshr", "b6rr", "b6r"],
            ["dshr", "b5rr", "b6rr"],

            ["dshl", "b6ll", "b5ll"],
            ["b5ll", "b5l", "dshl"],
            ["b5rr", "dshr", "b5r"],

            ["dshl", "b5l", "dsh"],
            ["dsh", "b5r", "dshr"],
            ["dsh", "dsh2", "b5r"],
            ["b5l", "dsh2", "dsh"],
            ["dsh2", "b1r", "b5r"],
            ["dsh2", "b5l", "b1l"],
            ["dsh2", "b1l", "b2l"],
            ["dsh2", "b2r", "b1r"],
            ["dsh3", "b3r", "b2r"],
            ["dsh3", "b2r", "dsh2"],
            ["b2l", "b3l", "dsh3"],
            ["dsh3", "dsh2", "b2l"],
            ["dsh3", "b3l", "b3r"],
    ],
},
"inf21tahoe_seats_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Rear Bench Seats",
        "value":650,
    },
    "slotType" : "inf21tahoe_seats_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["inf21tahoe_seats_R", ["inf21tahoe_floor", "inf21tahoe_seats_R"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"group":"inf21tahoe_seats_R"},
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":1.88},
         ["sr3r",-0.6, 1.34, 1.5],
         ["sr3", 0.0, 1.34, 1.4],
         ["sr3l", 0.6, 1.34, 1.5],

         ["sr2r",-0.66, 1.15, 0.9],
         ["sr2", 0.0, 1.15, 0.9],
         ["sr2l", 0.66, 1.15, 0.9],

         ["sr1r",-0.66, 0.76, 0.92],
         ["sr1", 0.0, 0.76, 0.92],
         ["sr1l", 0.66, 0.76, 0.92],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          //main shape
          {"beamSpring":2350940,"beamDamp":282},
          {"beamDeform":7000,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":1.2},
          ["sr1r", "sr1"],
          ["sr1", "sr1l"],
          ["sr2r", "sr2"],
          ["sr2", "sr2l"],
          ["sr3r", "sr3"],
          ["sr3", "sr3l"],
          ["sr1r", "sr2r"],
          ["sr2r", "sr3r"],
          ["sr1", "sr2"],
          ["sr2", "sr3"],
          ["sr1l", "sr2l"],
          ["sr2l", "sr3l"],
          //crossing
          {"beamDeform":4900,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["sr3", "sr2r"],
          ["sr3r", "sr2"],
          ["sr2", "sr1r"],
          ["sr1", "sr2r"],
          ["sr2", "sr1l"],
          ["sr1", "sr2l"],
          ["sr2l", "sr3"],
          ["sr3l", "sr2"],
          //corners
          {"beamDeform":2100},
          ["sr3r", "sr1r"],
          ["sr3", "sr1"],
          ["sr3l", "sr1l"],

          //damper
          {"beamSpring":0,"beamDamp":752},
          ["sr3l", "tb3l"],
          ["sr3", "tb3l"],
          ["sr3", "tb3r"],
          ["sr3r", "tb3r"],

          //attach
          {"beamSpring":265080,"beamDamp":35.34},
          {"beamDeform":4200,"beamStrength":"FLT_MAX"},
          ["sr2", "b4r"],
          ["sr2", "b4l"],
          ["sr2", "tb1r"],
          ["sr2", "tb1l"],
          ["sr1", "b4r"],
          ["sr1", "b4l"],
          ["sr1r", "b4r"],
          ["sr2r", "b4r"],
          ["sr2r", "tb1r"],
          ["sr2r", "b4rr"],
          ["sr1r", "b4rr"],
          ["sr1l", "b4l"],
          ["sr2l", "b4l"],
          ["sr2l", "tb1l"],
          ["sr2l", "b4ll"],
          ["sr1l", "b4ll"],

          //limiter
          {"beamType":"|SUPPORT", "beamLongBound":5},
          {"beamSpring":441800,"beamDamp":132.54},
          {"beamPrecompression":0.9},
          {"beamDeform":4200,"beamStrength":"FLT_MAX"},
          {"optional":true},
          ["sr3", "p9r"],
          ["sr3", "rf4r"],
          ["sr3", "p9l"],
          ["sr3", "rf4l"],
          ["sr3r", "p9r"],
          ["sr3l", "p9l"],
          ["sr2", "b4rrr"],
          ["sr2", "b4lll"],
          ["sr1", "b4rr"],
          ["sr1", "b3rr"],
          ["sr1", "b4ll"],
          ["sr1", "b3ll"],
          {"optional":false},
          {"beamPrecompression":1},

          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":""},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"metal"},
        {"dragCoef":0},
        ["sr2", "sr2r", "sr1r"],
        ["sr1r", "sr1", "sr2"],
        ["sr2", "sr1", "sr1l"],
        ["sr1l", "sr2l", "sr2"],
        ["sr3r", "sr2r", "sr2"],
        ["sr2", "sr3", "sr3r"],
        ["sr3", "sr2", "sr3l"],
        ["sr3l", "sr2", "sr2l"],

    ],
},
"inf21tahoe_seat_FL": {
    "information":{
        "authors":"BeamNG",
        "name":"Driver Seat",
        "value":500,
    },
    "slotType" : "inf21tahoe_seat_FL",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["inf21tahoe_seat_FL", ["inf21tahoe_floor","inf21tahoe_seat_FL"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":false},
         {"nodeWeight":1.41},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         //seats flexbody
         {"group":"inf21tahoe_seat_FL"},
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":1.88},
         ["sf1l", 0.2, -0.3, 0.86],
         ["sf1ll", 0.7, -0.3, 0.86],
         ["sf2l", 0.2, 0.2, 0.8],
         ["sf2ll", 0.7, 0.2, 0.8],
         ["sf3l", 0.3, 0.4, 1.55],
         ["sf3ll", 0.6, 0.4, 1.55],
         {"group":""},
    ],
    "beams":[
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        //main shape
        {"beamSpring":2350940,"beamDamp":282},
        {"beamDeform":7000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":1.2},
        ["sf1l", "sf1ll"],
        ["sf2l", "sf2ll"],
        ["sf3l", "sf3ll"],
        ["sf1l", "sf2l"],
        ["sf2l", "sf3l"],
        ["sf1ll", "sf2ll"],
        ["sf2ll", "sf3ll"],
        //crossing
        {"beamDeform":4900,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":""},
        ["sf1ll", "sf2l"],
        ["sf2ll", "sf1l"],
        ["sf2l", "sf3ll"],
        ["sf3l", "sf2ll"],
        //corners
        {"beamDeform":2100},
        ["sf3l", "sf1l"],
        ["sf3ll", "sf1ll"],

        //damper
        {"beamSpring":0,"beamDamp":752},
        ["sf3ll", "tb2l"],
        ["sf3l", "tb2"],

        //attach
        {"beamSpring":265080,"beamDamp":35.34},
        {"beamDeform":4200,"beamStrength":"FLT_MAX"},
        ["sf2l", "b3l"],
        ["sf2l", "b2l"],
        ["sf2l", "b3ll"],
        ["sf2ll", "b3ll"],
        ["sf2ll", "b3l"],
        ["sf2ll", "b2ll"],
        ["sf1l", "b2l"],
        ["sf1l", "b2ll"],
        ["sf1l", "b3l"],
        ["sf1ll", "b2ll"],
        ["sf1ll", "b2l"],
        ["sf1ll", "b3ll"],

        //limiter
        {"beamType":"|SUPPORT", "beamLongBound":5},
        {"beamSpring":441800,"beamDamp":132.54},
        {"beamPrecompression":0.9},
        {"beamDeform":4200,"beamStrength":"FLT_MAX"},
        {"optional":true},
        ["sf3l", "p8l"],
        ["sf3l", "p7l"],
        ["sf3l", "rf2l"],
        ["sf2l", "p3l"],
        ["sf2l", "b2ll"],
        ["sf2l", "b1ll"],
        ["sf1l", "b1ll"],

        //to other seat
        {"beamPrecompression":0.7},
        ["sf1rr", "sf1ll"],
        ["sf2rr", "sf2ll"],
        ["sf3rr", "sf3ll"],
        {"optional":false},
        {"beamPrecompression":1},

        {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        {"deformLimitExpansion":""},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"metal"},
        {"dragCoef":0},
        //front seat
        ["sf2l",  "sf1l",  "sf1ll"],
        ["sf1ll", "sf2ll", "sf2l"],
        ["sf3l",  "sf2l",  "sf2ll"],
        ["sf2ll", "sf3ll", "sf3l"],
    ],
},
"inf21tahoe_seat_FR": {
    "information":{
        "authors":"BeamNG",
        "name":"Passenger Seat",
        "value":500,
    },
    "slotType" : "inf21tahoe_seat_FR",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["inf21tahoe_seat_FR", ["inf21tahoe_floor","inf21tahoe_seat_FR"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":1.41},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         //seats flexbody
         {"group":"inf21tahoe_seat_FR"},
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":1.88},
         ["sf1r", -0.2, -0.3, 0.86],
         ["sf1rr", -0.7, -0.3, 0.86],
         ["sf2r", -0.2, 0.2, 0.8],
         ["sf2rr", -0.7, 0.2, 0.8],
         ["sf3r", -0.3, 0.4, 1.55],
         ["sf3rr", -0.6, 0.4, 1.55],
         {"group":""},
    ],
    "beams":[
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        //main shape
        {"beamSpring":2350940,"beamDamp":282},
        {"beamDeform":7000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":1.2},
        ["sf1r", "sf1rr"],
        ["sf2r", "sf2rr"],
        ["sf3r", "sf3rr"],
        ["sf1r", "sf2r"],
        ["sf2r", "sf3r"],
        ["sf1rr", "sf2rr"],
        ["sf2rr", "sf3rr"],
        //crossing
        {"beamDeform":4900,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":""},
        ["sf1rr", "sf2r"],
        ["sf2rr", "sf1r"],
        ["sf2r", "sf3rr"],
        ["sf3r", "sf2rr"],
        //corners
        {"beamDeform":2100},
        ["sf3r", "sf1r"],
        ["sf3rr", "sf1rr"],

        //damper
        {"beamSpring":0,"beamDamp":752},
        ["sf3rr", "tb2r"],
        ["sf3r", "tb2"],

        //attach
        {"beamSpring":265080,"beamDamp":35.34},
        {"beamDeform":4200,"beamStrength":"FLT_MAX"},
        ["sf2r", "b3r"],
        ["sf2r", "b2r"],
        ["sf2r", "b3rr"],
        ["sf2rr", "b3rr"],
        ["sf2rr", "b3r"],
        ["sf2rr", "b2rr"],
        ["sf1r", "b2r"],
        ["sf1r", "b2rr"],
        ["sf1r", "b3r"],
        ["sf1rr", "b2rr"],
        ["sf1rr", "b2r"],
        ["sf1rr", "b3rr"],

        //limiter
        {"beamType":"|SUPPORT", "beamLongBound":5},
        {"beamSpring":441800,"beamDamp":132.54},
        {"beamPrecompression":0.9},
        {"beamDeform":4200,"beamStrength":"FLT_MAX"},
        {"optional":true},
        ["sf3r", "p8r"],
        ["sf3r", "p7r"],
        ["sf3r", "rf2r"],
        ["sf2r", "p3r"],
        ["sf2r", "b2rr"],
        ["sf2r", "b1rr"],
        ["sf1r", "b1rr"],
        //to other seat
        {"beamPrecompression":0.7},
        //["sf1rr", "sf1ll"],
        //["sf2rr", "sf2ll"],
        //["sf3rr", "sf3ll"],
        {"optional":false},
        {"beamPrecompression":1},

        {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        {"deformLimitExpansion":""},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"metal"},
        {"dragCoef":0},
        //front seat
        ["sf1r", "sf2r", "sf1rr"],
        ["sf2rr", "sf1rr", "sf2r"],
        ["sf2r", "sf3r", "sf2rr"],
        ["sf3rr", "sf2rr", "sf3r"],
    ],
},
}