{
"xc90_dash": {
    "information":{
        "authors":"BeamNG",
        "name":"Interior",
        "value":400,
    },
    "slotType" : "xc90_dash",
    "slots":[
        ["type", "default", "description"],
        ["xc90_shelf","xc90_shelf", "Parcel Shelf"],
		["xc90_shifter","xc90_shifter_A", "Shifter", {"coreSlot":true}],
		["xc90_screen_branding","xc90_screen_branding_xc90_ICE", "Screen Branding", {"coreSlot":true}],
    ],
    "camerasInternal":[
        ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
        {"nodeWeight":1.9},
        {"beamSpring":800,"beamDamp":120},
        {"selfCollision":true},
        {"collision":true},
        //dash cam
        ["dash", 0.368, 0.2, 1.28, 55, "f1ll","f2r","f3ll","f4ll","f4r",[], {"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["xc90_ceiling", ["xc90_body"]],
		 ["xc90_ceiling2", ["xc90_body"]],
         ["xc90_interior", ["xc90_body"]],
         ["xc90_intermirror", ["xc90_body"]],
         ["xc90_dash", ["xc90_dash"]],
		 ["xc90_decals_gauges", ["xc90_dash"]],
		 ["xc90_speedometer", ["xc90_dash"],[],{"pos":{"x":0.0005, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
         ["xc90_interior_buttons", ["xc90_dash"]],
         ["xc90_interior_buttons_b", ["xc90_body"]],
         ["xc90_windshield_seal", ["xc90_body"]],
         ["xc90_gauge_cluster", ["xc90_dash"]],
         ["xc90_gauges_glass", ["xc90_dash"]],
    ],
    "mirrors": [
        ["mesh", "idRef:", "id1:", "id2:"],
        ["xc90_intermirror","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.02,"y":0.062,"z":-0.12},"baseRotationGlobal":{"x":6.5,"y":0.0,"z":23.6}}],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:",  "baseRotation",            "rotation",               "translation",          "min", "max", "offset", "multiplier"],
        //steering column controls
        ["turnsignal", "xc90_signalstalk", "int2l",  "int2r","int1l", {"x": 10, "y":0, "z":180}, {"x":0, "y":-10, "z":0},  {"x":0, "y":0, "z":0},  -1, 1, -0.0, 1],
        ["wipers",     "xc90_wiperstalk",  "int2l",  "int2r","int1l", {"x": 10, "y":0, "z":180}, {"x":0, "y":0, "z":0},    {"x":0, "y":0, "z":0},  -1, 1, -0.8, 1],
        //pedals
        ["throttle",   "xc90_pedal_gas",   "f1l","f1r","f6l",         {"x":-20, "y":0, "z":180},   {"x":10, "y":0, "z":0},  {"x":0.0, "y":0, "z":0}, 0, 1, 0,    1],
    ],
    "soundscape": [
        ["name", "src"],
        //indicator6,
        {"node:":"int1l"},
        ["indicatorStart", "event:>Vehicle>Interior>Indicator>PEU_On"],
        ["indicatorStop", "event:>Vehicle>Interior>Indicator>PEU_Off"],
        ["indLoop1", "event:>Vehicle>Interior>Indicator>PEU_Click"],
        ["indLoop2", "event:>Vehicle>Interior>Indicator>PEU_Clack"],
        //lights11
        ["LightOn", "event:>Vehicle>Interior>Light>POL_Light_On"],
        ["LightOff", "event:>Vehicle>Interior>Light>POL_Light_On"],
        //handbrake2
        {"node:":"f7"},
        ["handbrakeDisengaged","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Unlock"],
        ["handbrakeEngaging","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Lock"],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":false},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         //dashboard
         {"group":"xc90_dash"},
         {"nodeWeight":15},
         ["int1r", -0.39950, -0.62436, 1.10730],
         ["int1l", 0.39950, -0.62436, 1.10730],
         ["int2r", -0.39950, -0.55922, 0.75991],
         ["int2l", 0.39950, -0.55922, 0.75991],
         {"group":""},
    ],
    "beams":[
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //--DASHBOARD--
          {"beamSpring":7001000,"beamDamp":150},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          {"deformGroup":"display_break","deformationTriggerRatio":0.05},
          ["int1l", "int1r"],
          ["int1l", "f6lll"],
          ["int1r", "f6rrr"],
          ["int2r", "int2l"],
          ["int2r", "int1r"],
          ["int2l", "int1l"],
          ["int2l", "f6lll"],
          ["int2r", "f6rrr"],
          ["int2r", "f5r"],
          ["int2l", "f5l"],
          ["int2l", "f5ll"],
          ["int2r", "f5rr"],
          ["int1r", "f6rr"],
          ["int1l", "f6ll"],
          ["int1l", "f6l"],
          ["int1r", "f6r"],
          ["f6r", "int1l"],
          ["int1r", "f6l"],
          ["int1r", "f5r"],
          ["int1l", "f5l"],
          ["int2l", "f6l"],
          ["int2r", "f6r"],
          ["int2r", "f5l"],
          ["int2l", "f5r"],
          ["int2r", "int1l"],
          ["int2l", "int1r"],
          ["int2r", "f6rr"],
          ["int2l", "f6ll"],
          ["int2l", "f7"],
          ["int1r", "f1r"],
          ["int1l", "f1l"],
          ["f7", "int2r"],
          {"deformGroup":""},
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":""},
    ],
},
"xc90_dash_panoramic": {
    "information":{
        "authors":"BeamNG",
        "name":"Interior",
        "value":400,
    },
    "slotType" : "xc90_dash_panoramic",
    "slots":[
        ["type", "default", "description"],
        ["xc90_shelf","xc90_shelf", "Parcel Shelf"],
		["xc90_interior_rdesign","xc90_interior_rdesign", "Interior Badges"],
		["xc90_shifter","xc90_shifter_A", "Shifter", {"coreSlot":true}],
		["xc90_screen_branding","xc90_screen_branding_xc90_ICE", "Screen Branding", {"coreSlot":true}],
    ],
    "camerasInternal":[
        ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
        {"nodeWeight":1.9},
        {"beamSpring":800,"beamDamp":120},
        {"selfCollision":true},
        {"collision":true},
        //dash cam
        ["dash", 0.368, 0.2, 1.28, 55, "f1ll","f2r","f3ll","f4ll","f4r",[], {"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["xc90_ceiling_pano", ["xc90_body"]],
         ["xc90_interior", ["xc90_body"]],
         ["xc90_intermirror", ["xc90_body"]],
         ["xc90_dash", ["xc90_dash"]],
		 ["xc90_decals_gauges", ["xc90_dash"]],
		 ["xc90_speedometer", ["xc90_dash"],[],{"pos":{"x":0.0005, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
         ["xc90_interior_buttons", ["xc90_dash"]],
         ["xc90_interior_buttons_b", ["xc90_body"]],
         ["xc90_windshield_seal", ["xc90_body"]],
         ["xc90_gauge_cluster", ["xc90_dash"]],
         ["xc90_gauges_glass", ["xc90_dash"]],
    ],
    "mirrors": [
        ["mesh", "idRef:", "id1:", "id2:"],
        ["xc90_intermirror","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.02,"y":0.062,"z":-0.12},"baseRotationGlobal":{"x":6.5,"y":0.0,"z":23.6}}],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:",  "baseRotation",            "rotation",               "translation",          "min", "max", "offset", "multiplier"],
        //steering column controls
        ["turnsignal", "xc90_signalstalk", "int2l",  "int2r","int1l", {"x": 10, "y":0, "z":180}, {"x":0, "y":-10, "z":0},  {"x":0, "y":0, "z":0},  -1, 1, -0.0, 1],
        ["wipers",     "xc90_wiperstalk",  "int2l",  "int2r","int1l", {"x": 10, "y":0, "z":180}, {"x":0, "y":0, "z":0},    {"x":0, "y":0, "z":0},  -1, 1, -0.8, 1],
        //pedals
        ["throttle",   "xc90_pedal_gas",   "f1l","f1r","f6l",         {"x":-20, "y":0, "z":180},   {"x":10, "y":0, "z":0},  {"x":0.0, "y":0, "z":0}, 0, 1, 0,    1],
    ],
    "soundscape": [
        ["name", "src"],
        //indicator6,
        {"node:":"int1l"},
        ["indicatorStart", "event:>Vehicle>Interior>Indicator>PEU_On"],
        ["indicatorStop", "event:>Vehicle>Interior>Indicator>PEU_Off"],
        ["indLoop1", "event:>Vehicle>Interior>Indicator>PEU_Click"],
        ["indLoop2", "event:>Vehicle>Interior>Indicator>PEU_Clack"],
        //lights11
        ["LightOn", "event:>Vehicle>Interior>Light>POL_Light_On"],
        ["LightOff", "event:>Vehicle>Interior>Light>POL_Light_On"],
        //handbrake2
        {"node:":"f7"},
        ["handbrakeDisengaged","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Unlock"],
        ["handbrakeEngaging","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Lock"],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":false},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         //dashboard
         {"group":"xc90_dash"},
         {"nodeWeight":15},
         ["int1r", -0.39950, -0.62436, 1.10730],
         ["int1l", 0.39950, -0.62436, 1.10730],
         ["int2r", -0.39950, -0.55922, 0.75991],
         ["int2l", 0.39950, -0.55922, 0.75991],
         {"group":""},
    ],
    "beams":[
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //--DASHBOARD--
          {"beamSpring":7001000,"beamDamp":150},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          {"deformGroup":"display_break","deformationTriggerRatio":0.05},
          ["int1l", "int1r"],
          ["int1l", "f6lll"],
          ["int1r", "f6rrr"],
          ["int2r", "int2l"],
          ["int2r", "int1r"],
          ["int2l", "int1l"],
          ["int2l", "f6lll"],
          ["int2r", "f6rrr"],
          ["int2r", "f5r"],
          ["int2l", "f5l"],
          ["int2l", "f5ll"],
          ["int2r", "f5rr"],
          ["int1r", "f6rr"],
          ["int1l", "f6ll"],
          ["int1l", "f6l"],
          ["int1r", "f6r"],
          ["f6r", "int1l"],
          ["int1r", "f6l"],
          ["int1r", "f5r"],
          ["int1l", "f5l"],
          ["int2l", "f6l"],
          ["int2r", "f6r"],
          ["int2r", "f5l"],
          ["int2l", "f5r"],
          ["int2r", "int1l"],
          ["int2l", "int1r"],
          ["int2r", "f6rr"],
          ["int2l", "f6ll"],
          ["int2l", "f7"],
          ["int1r", "f1r"],
          ["int1l", "f1l"],
          ["f7", "int2r"],
          {"deformGroup":""},
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":""},
    ],
},
"xc90_interior_rdesign": {
    "information":{
        "authors":"BeamNG",
        "name":"R-Design Interior Badges",
        "value":50,
    },
    "slotType" : "xc90_interior_rdesign",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["xc90_interior_rdesign", ["xc90_body"], [],{"pos":{"x":0,"y":0,"z":0}}],
    ],
},
}