{
"xc90": {
    "information":{
        "authors":"FastLane",
        "name":"Volvo XC90",
    },
    "slotType" : "main",
    "slots": [
        ["type", "default", "description"],
        ["xc90_body","xc90_body", "Body", {"coreSlot":true}],
        ["paint_design","", "Paint Design"],
        ["licenseplate_design_2_1","","License Plate Design"],
        ["xc90_mod", "", "Additional Modification"],
    ],

    "scaledragCoef":1.7,
	"scalenodeWeight":1.41,
	"scalebeamSpring":1.41,
	"scalebeamDamp":1.41,
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$brakestrength", "range", "", "Brakes", 1, 0.6, 1.0, "Brake Force Multiplier", "Scales the overall brake torque for this setup", {"minDis":60, "maxDis":100}],
        ["$ffbstrength", "range", "", "Chassis", 1, 0.5, 1.5, "Setup-Specific Force Feedback Multiplier", "Scales the force feedback strength for THIS SETUP ONLY", {"minDis":50, "maxDis":150}],
    ],
    "glowMap":{
            "xc90_taillights":{"simpleFunction":{"lowhighbeam":0.49}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_on"},
            "xc90_rearfog":{"simpleFunction":{"fog":0.49}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_on"},
            "xc90_reflector":{"simpleFunction":{"lowhighbeam":0.49}, "off":"xc90_reflector", "on":"xc90_reflector_on", "on_intense":"xc90_reflector_on"},
            "xc90_signal_L":{"simpleFunction":{"signal_L":0.49}, "off":"xc90_lights", "on":"xc90_lights_signal_on", "on_intense":"xc90_lights_signal_on"},
            "xc90_signal_L_usdm":{"simpleFunction":{"signal_L":0.49}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_on"},
            "xc90_signal_R":{"simpleFunction":{"signal_R":0.49}, "off":"xc90_lights", "on":"xc90_lights_signal_on", "on_intense":"xc90_lights_signal_on"},
            "xc90_signal_R_usdm":{"simpleFunction":{"signal_R":0.49}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_on"},
            "xc90_chmsl":{"simpleFunction":{"brakelights":1}, "off":"xc90_lights", "on":"xc90_lights_on_intense", "on_intense":"xc90_lights_on_intense"},
            "xc90_lowbeam":{"simpleFunction":{"lowbeam":0.49,"highbeam":0.49}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_on_intense"},
            "xc90_drl_signal_L":{"simpleFunction":{"running":0.1,"lowhighbeam":-0.1,"signal_L":1.0}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_signal_on"},
            "xc90_drl_signal_R":{"simpleFunction":{"running":0.1,"lowhighbeam":-0.1,"signal_R":1.0}, "off":"xc90_lights", "on":"xc90_lights_on", "on_intense":"xc90_lights_signal_on"},
            "xc90_highbeam":{"simpleFunction":{"highbeam":1}, "off":"xc90_lights", "on":"xc90_lights_on_intense", "on_intense":"xc90_lights_on_intense"},
            "xc90_reverselight":{"simpleFunction":{"reverse":0.49}, "off":"xc90_lights", "on":"xc90_lights_on_intense", "on_intense":"xc90_lights_on_intense"},
		    "xc90_symbols2":{"simpleFunction":{"ignitionLevel":0.5}, "off":"xc90_symbols2","on":"xc90_symbols2_on", "on_intense":"xc90_symbols2_on"},
			
			//decals gauges
			
			"signal_L":{"simpleFunction":"signal_L", "off":"invis", "on":"bastion_decals_gauges"},
            "signal_R":{"simpleFunction":"signal_R", "off":"invis", "on":"bastion_decals_gauges"},
            "esc":{"simpleFunction":{"esc":0.49,"tcs":0.49}, "off":"invis", "on":"bastion_decals_gauges"},
            "lights":{"simpleFunction":{"lowbeam":1}, "off":"invis", "on":"bastion_decals_gauges"},
            "highbeam":{"simpleFunction":"highbeam", "off":"invis", "on":"bastion_decals_gauges"},
            "parkingbrake":{"simpleFunction":"parkingbrake", "off":"invis", "on":"bastion_decals_gauges"},
            "checkengine":{"simpleFunction":"checkengine", "off":"invis", "on":"bastion_decals_gauges"},
    },
    "controller": [
        ["fileName"],
        ["beamNavigator", {"screenMaterialName": "@xc90_gps_screen", "name":"xc90_navi", "htmlFilePath": "local://local/vehicles/xc90/volvo_navi_screen.html", "textureWidth":256, "textureHeight":256}],
        ["gauges/genericGauges", {"name":"gauge" }],
        ["gauges/customModules/environmentData"],
        ["gauges/customModules/combustionEngineData"],
    ],
    "gauge": {
        "configuration": {
            "materialName": "@etk800_gauges_screen"
            "htmlPath": "local://local/vehicles/xc90/gauges_screen/gauges_screen.html"
            "displayWidth":512
            "displayHeight":256
        }
		
        "displayData": {
            "electrics": [
                "signal_L",
                "signal_R",
                "lights",
                "highbeam",
                "fog",
                "lowpressure",
                "lowfuel",
                "parkingbrake",
                "checkengine",
                "gear",//
                "fuel",
                "wheelspeed",//
                "esc",
                "escActive",
                "tcs",
                "tcsActive"
            ]
            "powertrain": [
                ["deviceName", "property"]
                //["mainEngine", "outputTorque1"]
                //["mainEngine", "outputAV1"]
                //["gearbox", "outputAV1"]
            ]
            "customModules": [
                ["moduleName", "property"]
                ["combustionEngineData", "fuelDisplay"]
                ["combustionEngineData", "fuelConsumption"]
                ["environmentData", "temperatureEnv"]
                ["environmentData", "time"]
            ]
        }
    }
},
"xc90_gauges_metric": {
    "information":{
        "authors":"BeamNG",
        "name":"Metric Gauges",
        "value":200,
    },
    "slotType" : "skin_gauges",
    "gauge": {
        "configuration_units": {
            "unit": "metric",
        }
    },
    "props": [
        ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"],
        //needles
        ["wheelspeed", "xc90_needle_speedo", "f1l","f1r","f6l", {"x":-59, "y":0, "z":180}, {"x":0, "y":0, "z":-3.25}     , {"x":0, "y":0, "z":0}, 0, 85, -41.5, 1.25],
        ["rpm",         "xc90_needle_tacho", "f1l","f1r","f6l", {"x":-59, "y":0, "z":180}, {"x":0, "y":0, "z":-0.03}     , {"x":0, "y":0, "z":0}, 0, 7500, -4200, 1.08],
    ],
    "skinName" : "metric",
},
}
