{
"E34_gauges": {
    "information":{
        "authors":"BeamNG",
        "name":"518i-520i/Diesel Instrument",
        "value":150,
    },
    "slotType" : "skin_gauges",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_gauges_diesel", ["E34_dash"]],
         ["E34_gauge_bordure", ["E34_dash"]],
         ["E34_decals_gauges", ["E34_dash"]],
         ["E34_decals_gauges_diesel", ["E34_dash"]],
     ],
    "slots": [
        ["type", "default", "description"],
        ["E34_speed_old","E34_speed", "Speed gauge", {"coreSlot":true}],
        ["E34_rpm","E34_rpm", "RPM gauge", {"coreSlot":true}],
        ["E34_water","E34_water", "Water temp gauge", {"coreSlot":true}],
        ["E34_fuel","E34_fuel", "Fuel gauge", {"coreSlot":true}],
        ["E34_gaugeright","E34_gaugeright", "Under RPM gauge", {"coreSlot":true}],
        ["skin_needle","E34_skin_needle_white", "Needles Color", {"coreSlot":true}],
    ],
    "glowMap":{

            "battery":{"simpleFunction":"battery", "off":"invis", "on":"decals_gauges"},
            "parkingbrake":{"simpleFunction":"parkingbrake", "off":"invis", "on":"E34_decals_on"},
            "lowpressure":{"simpleFunction":"lowpressure", "off":"invis", "on":"invis"},
            "abs":{"simpleFunction":"abs", "off":"invis", "on":"E34_decals_on"},
            "oil":{"simpleFunction":"oil", "off":"invis", "on":"decals_gauges"},
            "fog":{"simpleFunction":{"fog":1}, "off":"invis", "on":"decals_gauges", "on_intense":"decals_gauges"},

    },
},
"E34_gauges_alt": {
    "information":{
        "authors":"BeamNG",
        "name":"Instrument",
        "value":150,
    },
    "slotType" : "skin_gauges",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_gauges", ["E34_dash"]],
         ["E34_gauge_bordure", ["E34_dash"]],
         ["E34_decals_gauges", ["E34_dash"]],
         ["E34_decals_gauges_new", ["E34_dash"]],
     ],
    "slots": [
        ["type", "default", "description"],
        ["E34_speed","E34_speedm", "Speed gauge", {"coreSlot":true}],
        ["E34_rpm","E34_rpm", "RPM gauge", {"coreSlot":true}],
        ["E34_water","E34_water", "Water temp gauge", {"coreSlot":true}],
        ["E34_fuel","E34_fuel", "Fuel gauge", {"coreSlot":true}],
        ["E34_gaugeright","E34_gaugeright", "Under RPM gauge", {"coreSlot":true}],
        ["E34_badge","", "Gauges Badge"],
        ["E34_obdgauges","E34_obdgauges", "On Board Diagnostic (Gauges)", {"coreSlot":true}],
        ["skin_needle","E34_skin_needle_white", "Needles Color", {"coreSlot":true}],
    ],
    "glowMap":{
            "parkingbrake":{"simpleFunction":"parkingbrake", "off":"invis", "on":"E34_decals_on"},
            "abs":{"simpleFunction":"abs", "off":"invis", "on":"E34_decals_on"},
            "fog":{"simpleFunction":{"fog":1}, "off":"invis", "on":"decals_gauges", "on_intense":"decals_gauges"},
    },
},
"E34_gauges_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Displate",
        "value":500,
    },
    "slotType" : "skin_gauges",
    "slots":[
        ["type", "default", "description"],
        ["digidash_screen_logic","digidash_screen_logic_bng", "Screen", {"coreSlot":true}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_gauges_race", ["E34_dash"]],
        //digidash
        ["digidash", ["E34_dash"], [],         {"pos":{"x": 0.382, "y":-0.497, "z":0.947}, "rot":{"x":12, "y":0, "z":0}, "scale":{"x":1.0, "y":1.0, "z":1.0}}],
        ["digidash_screen", ["E34_dash"], [],  {"pos":{"x": 0.382, "y":-0.497, "z":0.947}, "rot":{"x":12, "y":0, "z":0}, "scale":{"x":1.0, "y":1.0, "z":1.0}}],

        ],
    "controller": [
        ["fileName"],
        ["shiftLights"],
    ],
    "shiftLights": {
        "engineName":"mainEngine",
        "maxEngineRPMOffset": 500,
        "rpmRange": 3000,
        "keepLEDsActive": true,
        "hasStallWarning": true,
        "outputElectrics": ["led0", "led1", "led2", "led3", "led4", "led5"],
        "flashingOutputElectrics": ["led0", "led1", "led2", "led3", "led4", "led5"],
        "flashingAlternateOutputElectrics": [],
    },
    "glowMap":{
        "shiftlight_multi_l0":     {"simpleFunction":{"led0":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "shiftlight_multi_l1":     {"simpleFunction":{"led1":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "shiftlight_multi_l2":     {"simpleFunction":{"led2":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "shiftlight_multi_l3":     {"simpleFunction":{"led3":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "shiftlight_multi_l4":     {"simpleFunction":{"led4":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "shiftlight_multi_l5":     {"simpleFunction":{"led5":1}, "off":"shiftlight_off", "on":"shiftlight_on"},
        "screen_gps":{"simpleFunction":{"ignitionLevel":0.5}, "off":"screen_off","on":"beamnav_naviscreen_accessory", "on_intense":"screen_gps"},
    },
},
"E34_speed": {
    "information":{
        "authors":"BeamNG",
        "name":"Metric up to 240 km/h gauge",
        "value":100,
    },
    "slotType" : "E34_speed_old",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_speeddiesel", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["wheelspeed", "E34_needle_speedo", "f1l","f1r","f6l",        {"x":-76, "y":0, "z":180}, {"x":0, "y":0, "z":-3.45}, {"x":0, "y":0, "z":0}, 0, 73, -35.0, 1.05],
    ],
    "controller": [
        ["fileName"],
        ["gauges/analogOdometer", {"name":"analogOdometer" }],
    ],
    "analogOdometer": {
        "configuration": {
            "materialName": "@E34_gauges_odo",
            "htmlPath": "local://local/vehicles/BMW_E34/analogOdo.html",
            "displayWidth":512,
            "displayHeight":32,
            "odometerDigits":7,
            "odometerHasDecimalSeparator":false,
            "tripHasDecimalSeparator":false,
            "unit":"metric",
            "floatStyle":{"color":"#A5260A"},
            "bodyStyle":{
                "font-family": "DS-DIGITAL",
                "font-size": "32px",
                "color": "#A5260A",
                "letter-spacing": "12.5px",
                "margin": "-4.5px 10.5px",
                "transform": "scaleX(1.26)",
                "transform-origin": "left",
            },
            "tripDivStyle":{
                "margin-left": "20px",
                "position": "fixed",
                "letter-spacing": "10px"
            }
        },
    },
},
"E34_speedm": {
    "information":{
        "authors":"BeamNG",
        "name":"Metric up to 300 km/h gauge",
        "value":180,
    },
    "slotType" : "E34_speed",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_speedm", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["wheelspeed", "E34_needle_speedo", "f1l","f1r","f6l",        {"x":-76, "y":0, "z":180}, {"x":0, "y":0, "z":-3.45}, {"x":0, "y":0, "z":0}, 0, 78, -39, 0.93],
    ],
},
"E34_speedusa": {
    "information":{
        "authors":"BeamNG",
        "name":"Imperial up to 160 mp/h gauge",
        "value":150,
    },
    "slotType" : "E34_speed",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_speedusa", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["wheelspeed", "E34_needle_speedo", "f1l","f1r","f6l",        {"x":-76, "y":0, "z":180}, {"x":0, "y":0, "z":-3.45}, {"x":0, "y":0, "z":0}, 0, 73, -38, 0.90],
    ],
},
"E34_rpm": {
    "information":{
        "authors":"BeamNG",
        "name":"6000-6500 RPM gauge",
        "value":100,
    },
    "slotType" : "E34_rpm",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_rpm6000", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["rpm",        "E34_needle_tacho",  "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-0.03}, {"x":0, "y":0, "z":0}, 0, 7400, -3650, 1.01],
    ],
},
"E34_rpm_diesel": {
    "information":{
        "authors":"BeamNG",
        "name":"5000 RPM gauge",
        "value":80,
    },
    "slotType" : "E34_rpm",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_rpm5000", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["rpm",        "E34_needle_tacho",  "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-0.04}, {"x":0, "y":0, "z":0}, 0, 6000, -2990, 0.95],
    ],
},
"E34_rpmm": {
    "information":{
        "authors":"BeamNG",
        "name":"7000 RPM gauge",
        "value":150,
    },
    "slotType" : "E34_rpm",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_rpm7000", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["rpm",        "E34_needle_tacho",  "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-0.03}, {"x":0, "y":0, "z":0}, 0, 7000, -3650, 0.91],
    ],
},
"E34_water": {
    "information":{
        "authors":"BeamNG",
        "name":"Water temp gauge",
        "value":50,
    },
    "slotType" : "E34_water",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_water", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["watertemp",  "E34_needle_temp",   "f1l","f1r","f6l",        {"x":-62, "y":0, "z":180}, {"x":0, "y":0, "z":-3},     {"x":0, "y":0, "z":0}, 10, 120, 95.5, 0.3],
    ],
},
"E34_fuel_diesel": {
    "information":{
        "authors":"BeamNG",
        "name":"80L Diesel fuel gauge",
        "value":50,
    },
    "slotType" : "E34_fuel",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_fuel_diesel", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["fuel",       "E34_needle_fuel",   "f1l","f1r","f6l",        {"x":-73, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -0.22, 0.45],    ],
},
"E34_fuel": {
    "information":{
        "authors":"BeamNG",
        "name":"90L Gasoline fuel gauge",
        "value":50,
    },
    "slotType" : "E34_fuel",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_fuel", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["fuel",       "E34_needle_fuel",   "f1l","f1r","f6l",        {"x":-73, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -0.22, 0.45],
    ],
},
"E34_fuel_usa": {
    "information":{
        "authors":"BeamNG",
        "name":"USA Gasoline fuel gauge",
        "value":50,
    },
    "slotType" : "E34_fuel",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_fuel_usa", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        ["fuel",       "E34_needle_fuel",   "f1l","f1r","f6l",        {"x":-73, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -0.22, 0.45],    ],
},
"E34_gaugeright": {
    "information":{
        "authors":"BeamNG",
        "name":"Oil temp gauge",
        "value":50,
    },
    "slotType" : "E34_gaugeright",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_oil", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        //["oil",       "E34_needle_oil",   "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -1.04, 1],
    ],
},
"E34_gaugeright_gallon": {
    "information":{
        "authors":"BeamNG",
        "name":"Miles per Gallon gauge",
        "value":50,
    },
    "slotType" : "E34_gaugeright",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_gallon", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        //["oil",       "E34_needle_oil",   "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -1.04, 1],
    ],
},
"E34_gaugeright_litter": {
    "information":{
        "authors":"BeamNG",
        "name":"Litter per 100km gauge",
        "value":50,
    },
    "slotType" : "E34_gaugeright",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_liter", ["E34_dash"]],
    ],
    "props": [
        ["func",       "mesh",               "idRef:", "idX:", "idY:", "baseRotation",            "rotation",                "translation",         "min", "max", "offset", "multiplier"]
        //needles
        //["oil",       "E34_needle_oil",   "f1l","f1r","f6l",        {"x":-78, "y":0, "z":180}, {"x":0, "y":0, "z":-195},  {"x":0, "y":0, "z":0}, 0, 1, -1.04, 1],
    ],
},
"E34_badge": {
    "information":{
        "authors":"BeamNG",
        "name":"M Badge",
        "value":50,
    },
    "slotType" : "E34_badge",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_badge_m", ["E34_dash"]],
    ],
},
"E34_obdgauges": {
    "information":{
        "authors":"BeamNG",
        "name":"Metric OBD",
        "value":500,
    },
    "slotType" : "E34_obdgauges",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_obdgauges", ["E34_dash"]],
         ["E34_obdgauges_km", ["E34_dash"]],
    ],
    "controller": [
        ["fileName"],
        ["gauges/analogOdometer", {"name":"analogOdometer" }],
    ],
    "analogOdometer": {
        "configuration": {
            "materialName": "@E34_gauges_odo",
            "htmlPath": "local://local/vehicles/BMW_E34/analogOdo.html",
            "displayWidth":512,
            "displayHeight":32,
            "odometerDigits":8,
            "odometerHasDecimalSeparator":false,
            "tripHasDecimalSeparator":false,
            "unit":"metric",
            "floatStyle":{"color":"black"},
            "bodyStyle":{
                "background": "#501119",
                "font-family": "DS-DIGITAL",
                "font-size": "28px",
                "color": "#f8ee4e",
                "letter-spacing": "17px",
                "margin": "-1.5px 15.5px",
                "transform": "scaleX(1.26)",
                "transform-origin": "left",
            },
            "tripDivStyle":{
                "margin-left": "-2px",
                "position": "fixed",
                "letter-spacing": "12px"
            }
        },
    },
},
"E34_obdgauges_imperial": {
    "information":{
        "authors":"BeamNG",
        "name":"Imperial OBD",
        "value":500,
    },
    "slotType" : "E34_obdgauges",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["E34_obdgauges", ["E34_dash"]],
         ["E34_obdgauges_miles", ["E34_dash"]],
    ],
    "controller": [
        ["fileName"],
        ["gauges/analogOdometer", {"name":"analogOdometer" }],
    ],
    "analogOdometer": {
        "configuration": {
            "materialName": "@E34_gauges_odo",
            "htmlPath": "local://local/vehicles/BMW_E34/analogOdo.html",
            "displayWidth":512,
            "displayHeight":32,
            "odometerDigits":8,
            "odometerHasDecimalSeparator":false,
            "tripHasDecimalSeparator":false,
            "unit":"imperial",
            "floatStyle":{"color":"black"},
            "bodyStyle":{
                "background": "#501119",
                "font-family": "DS-DIGITAL",
                "font-size": "28px",
                "color": "#f8ee4e",
                "letter-spacing": "17px",
                "margin": "-1.5px 15.5px",
                "transform": "scaleX(1.26)",
                "transform-origin": "left",
            },
            "tripDivStyle":{
                "margin-left": "-2px",
                "position": "fixed",
                "letter-spacing": "12px"
            }
        },
    },
}
}