{
"sprtg_dash_panoramic2": {
    "information":{
        "authors":"BeamNG",
        "name":"Interior",
        "value":400,
    },
    "slotType" : "sprtg_dash_panoramic2",
    "slots":[
        ["type", "default", "description"],
        ["sprtg_shifter","sprtg_shifter_A", "Shifter", {"coreSlot":true}],
        ["sprtg_screen_branding","sprtg_screen_branding_sprtg_ICE", "Screen Branding", {"coreSlot":true}],
        ["sprtg_gauges","sprtg_gauges_basic", "Gauge", {"coreSlot":true}],
        ["sprtg_shelf","sprtg_shelf", "Parcel Shelf"],
        ["sprtg_shiftlight","", "Shift Light"],
        ["soundscape_horn", "soundscape_horn_122", "Horn"],
    ],
    "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.3766, 0.244, 1.28, 55, "f1ll","f2r","f3ll","f4ll","f4r",[], {"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sprtg_carpet2", ["sprtg_body"]],
			["sprtg_carpet.001", ["sprtg_body"]],

         ["sprtg_panoramic_roof_int", ["sprtg_body"]],
         ["sprtg_dash", ["sprtg_dash"]],
         ["sprtg_dashbase", ["sprtg_dash"]],
         ["sprtg_console", ["sprtg_floor", "sprtg_console"]],
         ["sprtg_intermirror", ["sprtg_body"]],
         ["sprtg_footstep", ["sprtg_floor"]],
         ["sprtg_sunviser", ["sprtg_body"]],
         ["sprtg_display_frame_a", ["sprtg_dash"]],
         {"deformGroup":"display_break", "deformMaterialBase":"sprtg_gps_screen", "deformMaterialDamaged":"sprtg_gauges_break"},
         ["sprtg_display_screen", ["sprtg_dash"]],
		{"deformGroup":"display_break", "deformMaterialBase":"sprtg_gps_screen", "deformMaterialDamaged":"invis"},
         ["sprtg_dec", ["sprtg_dash"]],		 
         {"deformGroup":""},
    ],
    "mirrors": [
        ["mesh", "idRef:", "id1:", "id2:"],
        ["sprtg_intermirror","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.116,"y":-0.009,"z":-0.133},"baseRotationGlobal":{"x":0.4,"y":0.0,"z":-5.3}}],
		        ["sprtg_dec","rf1","rf1r","rf2",{"refBaseTranslation":{"x":0.01,"y":-0.04,"z":-0.12},"baseRotationGlobal":{"x":5,"y":0.0,"z":18}}],

    ],
    "controller": [
        ["fileName"],
        ["beamNavigator", {"screenMaterialName": "@sprtg_gps_screen", "name":"sprtg_navi", "htmlFilePath": "local://local/vehicles/sprtg/cherrier_navi_screen.html", "textureWidth":512, "textureHeight":256}],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:",  "baseRotation",            "rotation",               "translation",          "min", "max", "offset", "multiplier"],
        //steering column controls
        ["turnsignal", "sprtg_signalstalk", "dsh2l",  "dsh2r","dshl", {"x": 10, "y":0, "z":180}, {"x":0, "y":-10, "z":0},  {"x":0, "y":0, "z":0},  -1, 1, -0.0, 1],
        ["wipers",     "sprtg_wiperstalk",  "dsh2l",  "dsh2r","dshl", {"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",   "sprtg_pedal_gas",   "f1l","f1r","f6l",         {"x":0, "y":0, "z":180},   {"x":-25, "y":0, "z":0},  {"x":0.0, "y":0, "z":0}, 0, 1, 0,    1],
				        ["rpm",         "sprtg_tachometer_needle", "f1l","f1r","f6l", {"x":-87, "y":0, "z":180}, {"x":0, "y":0, "z":-0.03}     , {"x":0, "y":0, "z":0}, -4, 8200, -6980, 0.977],
						        ["wheelspeed", "sprtg_speedometer_needle", "f1l","f1r","f6l", {"x":-87, "y":0, "z":180}, {"x":0, "y":0, "z":-3.38}     , {"x":0, "y":0, "z":0}, 0, 75, -62.34, 1.16],


    ],
    "sounds": {
        "$+cabinFilterCoef": 0.12
    }
    "soundscape": [
        ["name", "src"],
        //indicator6,
        {"node:":"int_strw"},
        ["indicatorStart", "event:>Vehicle>Interior>Indicator>FIPA_On"],
        ["indicatorStop", "event:>Vehicle>Interior>Indicator>FIPA_Off"],
        ["indLoop1", "event:>Vehicle>Interior>Indicator>PEU_Click"],
        ["indLoop2", "event:>Vehicle>Interior>Indicator>PEU_Clack"],
        //lights11
        ["LightOn", "event:>Vehicle>Interior>Light>PETE2_On"],
        ["LightOff", "event:>Vehicle>Interior>Light>PETE2_Off"],
        //handbrake2
        {"node:":"int_pbrk"},
        ["handbrakeDisengaged","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Unlock"],
        ["handbrakeEngaging","event:>Vehicle>Interior>Handbrake_Electric>Electric_01_Lock"],
        //affects horn location because horn soundscape is loaded after
        {"node:":"f15"},
    ],
	"triggers2":[
        ["id", "label", "idRef:", "idX:", "idY:", "type", "size", "baseRotation", "rotation", "translation", "baseTranslation"],
        ["handbrake", "", "f5ll","f5l","f6ll", "box", {"x":0.04, "y":0.04, "z":0.042}, {"x":-12, "y":-17, "z":-7}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.13, "y":0.314, "z":-0.39}, {"deformGroup":"", "color": [0.03, 0.03, 0.037, 1]}],
        ["tailgateint", "", "f5ll","f5l","f6ll", "box", {"x":0.033, "y":0.024, "z":0.021}, {"x":-12, "y":-17, "z":-7}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.0314, "y":0.344, "z":-0.381}, {"deformGroup":"", "color": [0.03, 0.03, 0.037, 1]}],
        ["hazard", "", "f5ll","f5l","f6ll", "box", {"x":0.034, "y":0.025, "z":0.032}, {"x":-16, "y":-20, "z":-9}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.752, "y":0.19, "z":-0.43}, {"deformGroup":"", "color": [0.66, 0.0, 0.0, 1]}],
        ["start", "", "f5ll","f5l","f6ll", "sphere", 0.018, {"x":0, "y":-15, "z":-25}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.687, "y":0.03, "z":-0.6}, {"deformGroup":"", "color": [0.03, 0.03, 0.035, 1]}],
        ["esc", "", "f5ll","f5l","f6ll", "sphere", 0.018, {"x":0, "y":-15, "z":-25}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.70, "y":0.01, "z":-0.773}, {"deformGroup":"", "color": [0.03, 0.03, 0.035, 1]}],
        ["map", "", "f5ll","f5l","f6ll", "box", {"x":0.022, "y":0.022, "z":0.013}, {"x":-13, "y":-17, "z":-15}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.708, "y":0.15, "z":-0.461}, {"deformGroup":"", "color": [0.03, 0.03, 0.03, 0]}],
        ["nav", "", "f5ll","f5l","f6ll", "box", {"x":0.02, "y":0.022, "z":0.013}, {"x":-13, "y":-17, "z":-15}, {"x":0, "y":0, "z":0}, {"x":0, "y":0, "z":0}, {"x":0.732, "y":0.142, "z":-0.466}, {"deformGroup":"", "color": [0.03, 0.03, 0.03, 0]}],

	],
		    "triggerEventLinks":[
        ["triggerId:triggers", "action", "targetEventId:events"],
		        ["bardach", "action0", "bardach"],
		        ["hazard", "action0", "hazard"],
		        ["esc", "action0", "esc"],
		        ["handbrake", "action0", "handbrake"],
		        ["start", "action0", "activateStarterMotor"],
		        ["tailgateint", "action0", "tailgateLatch"],

				["nav", "action0", "navon_on"],
						        		        ["map", "action0", "mapon_on"],

		],
		   "events":[
        ["id", "title", "desc"],			
        ["hazard", "ui.inputActions.hazard.title", "ui.inputActions.hazard.description", {"onDown": "electrics.toggle_warn_signal()"}],
		["esc", "ui.inputActions.vehicle.toggle_escmodecycle.title", "ui.inputActions.vehicle.toggle_escmodecycle.description", {"onDown"  :"if controller.getController('driveModes') then controller.getController('driveModes').nextDriveMode() else controller.getControllerSafe('esc').toggleESCMode() end"}],
        ["handbrake", "ui.inputActions.handbrake.title", "ui.inputActions.handbrake.description", {"onDown": "input.toggleEvent('parkingbrake')"}],
				["activateStarterMotor", "", "", {"onDown"  :"electrics.toggleIgnitionLevelOnDown()", "onUp"  :"electrics.toggleIgnitionLevelOnUp()"}]
	 	["mapon_on", "mapon_on.title", "mapon_on.description", {"onChange":"electrics.values.mapon = 1", "onUp":"electrics.values.navon = 0"}],
	 	["navon_on", "mapon_on.title", "mapon_on.description", {"onChange":"electrics.values.navon = 1", "onUp":"electrics.values.mapon = 0"}],


	],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":false},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         //dashboard
         {"group":"sprtg_dash"},
         {"nodeWeight":11},
         ["dshr",-0.368,-0.706,1.02],
         ["dshl",0.368,-0.706,1.02],
         ["dsh2r",-0.368,-0.646,0.78],
         ["dsh2l",0.368,-0.646,0.78],
         ["int_strw",  0.368, -0.452, 0.851],
         {"group":""},
         {"nodeWeight":0.2},
         ["int_pbrk", 0.0, -0.18, 0.59],
         ["int_shft", 0.0, -0.31, 0.60],
         {"collision":true},
         {"selfCollision":true},
    ],
    "torsionbars":[
       ["id1:", "id2:", "id3:", "id4:"],
        //rigify the column
        {"spring":20000, "damp":10, "deform":18000, "strength":28000},
        ["int_strw", "dsh2l", "dsh2r", "f5l"],

    ],
    "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},
          ["dshl", "dshr"],
          ["dshl", "f6lll"],
          ["dshr", "f6rrr"],
          ["dsh2r", "dsh2l"],
          ["dsh2r", "dshr"],
          ["dsh2l", "dshl"],
          ["dsh2l", "f6lll"],
          ["dsh2r", "f6rrr"],
          ["dsh2r", "f5r"],
          ["dsh2l", "f5l"],
          ["dsh2l", "f5ll"],
          ["dsh2r", "f5rr"],
          ["dshr", "f6rr"],
          ["dshl", "f6ll"],
          ["dshl", "f6l"],
          ["dshr", "f6r"],
          ["f6r", "dshl"],
          ["dshr", "f6l"],
          ["dshr", "f5r"],
          ["dshl", "f5l"],
          ["dsh2l", "f6l"],
          ["dsh2r", "f6r"],
          ["dsh2r", "f5l"],
          ["dsh2l", "f5r"],
          ["dsh2r", "dshl"],
          ["dsh2l", "dshr"],
          ["dsh2r", "f6rr"],
          ["dsh2l", "f6ll"],
          ["dsh2l", "f7"],
          ["dshr", "f1r"],
          ["dshl", "f1l"],
          ["f7", "dsh2r"],
          ["dsh2r","int_strw"],
          ["dsh2l","int_strw"],
          {"beamSpring":160100,"beamDamp":142.73},
          {"beamDeform":70300,"beamStrength":"FLT_MAX"},
          ["int_pbrk","f5l"],
          ["int_pbrk","f5r"],
          ["int_pbrk","f2r"],
          ["int_pbrk","f2l"],
          ["int_shft","f5l"],
          ["int_shft","f5r"],
          ["int_shft","f2r"],
          ["int_shft","f2l"],
          {"deformGroup":""},
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":""},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"plastic"},
        //Dashboard
        {"dragCoef":0},
        ["f5rr", "f6rrr", "dsh2r"],
        ["f5rr", "dsh2r", "f5r"],
        ["f5ll", "dsh2l", "f6lll"],
        ["f5ll", "f5l", "dsh2l"],
        ["f6rrr", "f6rr", "f6r"],
        ["f6rrr", "f6r", "dshr"],
        ["f6lll", "f6l", "f6ll"],
        ["f6lll", "dshl", "f6l"],
        ["f6r", "f6l", "dshl"],
        ["f6r", "dshl", "dshr"],
        ["dshl", "f6lll", "dsh2l"],
        ["dshr", "dsh2r", "f6rrr"],
        ["dshr", "dshl", "dsh2l"],
        ["dshr", "dsh2l", "dsh2r"],
        ["dsh2r", "dsh2l", "f5l"],
        ["dsh2r", "f5l", "f5r"],
    ],
},
}