{
"BBModsAMV": {
    "information":{
        "authors":"BBMods",
        "name":"Aston Martin",
    },
    "slotType" : "main",
    "slots": [
        ["type", "default", "description"],
        ["BBModsAMV_body","BBModsAMV_body", "Body", {"coreSlot":true}],
       // ["paint_design", "", "Paint Design"],
        ["licenseplate_design_2_1","","License Plate Design"],
        ["skin_glass","BBModsW447_skin_glass", "Glass Tinting", {"coreSlot":true}],
    ],

    "controller": [
        ["fileName"],
        ["vehicleController", {}],
    ],
    "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}],
    ],
	 "components": {
        "electrics": {
            "customValues": [
                ["electricsName", "electricsFunction"],
                ["lowbeam_filament","electrics.lowbeam * electrics.electricalLoadCoef"],
                ["highbeam_filament","electrics.highbeam * electrics.electricalLoadCoef"],
                ["lowhighbeam_filament","electrics.lowhighbeam * electrics.electricalLoadCoef"],
                ["customLight_lowhighBrakeSignal_L_filament","(electrics.lowhighbeam  + electrics.brakelight_signal_L) * electrics.electricalLoadCoef"],
                ["customLight_lowhighBrakeSignal_R_filament","(electrics.lowhighbeam  + electrics.brakelight_signal_R) * electrics.electricalLoadCoef"],
                ["taillight_filament","electrics.lowhighbeam * electrics.electricalLoadCoef"],
                ["brakelight_filament","electrics.brakelights * electrics.electricalLoadCoef"],
                ["brakelight_signal_L_filament","electrics.brakelight_signal_L * electrics.electricalLoadCoef"],
                ["brakelight_signal_R_filament","electrics.brakelight_signal_R * electrics.electricalLoadCoef"],
                ["lowhighbeam_signal_L_filament","electrics.lowhighbeam_signal_L * electrics.electricalLoadCoef"],
                ["lowhighbeam_signal_R_filament","electrics.lowhighbeam_signal_R * electrics.electricalLoadCoef"],
                ["reverselight_filament","electrics.reverse * electrics.electricalLoadCoef"],
                ["foglight_filament","electrics.fog * electrics.electricalLoadCoef"],
                ["signal_L_filament","electrics.signal_L * electrics.electricalLoadCoef"],
                ["signal_R_filament","electrics.signal_R * electrics.electricalLoadCoef"],
                ["police_flasher_filament","pwm(sign(electrics.lightbar), 0.5, 0.5) * electrics.electricalLoadCoef"],
            ]
            "smoothers": [
                ["electricsName", "smootherType", "params"],
                ["lowbeam_filament","temporalNonLinear", [10,10]],
                ["highbeam_filament","temporalNonLinear", [10,10]],
                ["lowhighbeam_filament","temporalNonLinear", [10,10]],
                ["taillight_signal_L_filament","temporalNonLinear", [15,15]],
                ["taillight_signal_R_filament","temporalNonLinear", [15,15]],
                ["customLight_lowhighBrakeSignal_L_filament","temporalNonLinear", [5,5]],
                ["customLight_lowhighBrakeSignal_R_filament","temporalNonLinear", [5,5]],
                ["taillight_filament","temporalNonLinear", [10,10]],
                ["brakelight_filament","temporalNonLinear", [10,10]],
                ["brakelight_signal_L_filament","temporalNonLinear", [15,15]],
                ["brakelight_signal_R_filament","temporalNonLinear", [15,15]],
                ["lowhighbeam_signal_L_filament","temporalNonLinear", [15,15]],
                ["lowhighbeam_signal_R_filament","temporalNonLinear", [15,15]],
                ["reverselight_filament","temporalNonLinear", [10,10]],
                ["foglight_filament","temporalNonLinear", [10,10]],
                ["signal_L_filament","temporalNonLinear", [15,15]],
                ["signal_R_filament","temporalNonLinear", [15,15]],
                ["police_flasher_filament","temporalNonLinear", [4,4]],
            ]
        }
    }
    "scaledragCoef":1.4,
    "glowMap":{
         
            "BBModsAMV_taillight_L":{"simpleFunction":{"signal_L":0.49,"lowhighbeam":0.49,"parking":0.49}, "off":"BBModsAMV_lights", "on":"BBModsAMV_lights_on", "on_intense":"BBModsAMV_lights_on_intense"},
            "BBModsAMV_taillight_R":{"simpleFunction":{"signal_R":0.49,"lowhighbeam":0.49,"parking":0.49}, "off":"BBModsAMV_lights", "on":"BBModsAMV_lights_on", "on_intense":"BBModsAMV_lights_on_intense"},

		/// NEW SYSTEM HEADLIGHTS
	    "BBModsAMV_speedotacho":{"simpleFunction":{"lowbeam":0.49,"highbeam":1}, "off":"BBModsAMV_21", "on":"BBModsAMV_21_on", "on_intense":"BBModsAMV_21_on"},
	    "BBModsAMV_headlight":{"simpleFunction":{"lowbeam_filament":0.49,"highbeam_filament":1}, "off":"BBModsAMV_headlight_off", "on":"BBModsAMV_headlight_on", "materialEmissiveScaling":{"on_max":0.8}},
	    "BBModsAMV_lamp":{"simpleFunction":{"lowbeam_filament":0.49,"highbeam_filament":1}, "off":"BBModsAMV_28", "on":"BBModsAMV_onik", "materialEmissiveScaling":{"on_max":0.8}},
	    "BBModsAMV_fog":{"simpleFunction":{"foglight_filament":0.49}, "off":"BBModsAMV_headlight_off", "on":"BBModsAMV_headlight_on", "on_intense":"BBModsAMV_headlight_on", "materialEmissiveScaling":{"on_max":0.49}},
	    "BBModsAMV_signal_L":{"simpleFunction":{"lowhighbeam_signal_L_filament":1}, "off":"BBModsAMV_svetorgi", "on":"BBModsAMV_orgi_on", "materialEmissiveScaling":{"on_max":1}}, 
	    "BBModsAMV_brakelight":{"simpleFunction":{"brakelight_filament":0.49}, "off":"BBModsAMV_svetred", "on":"BBModsAMV_redi_on", "on_intense":"BBModsAMV_redi_on", "materialEmissiveScaling":{"on_max":0.49}},
	    "BBModsAMV_signal_R":{"simpleFunction":{"lowhighbeam_signal_R_filament":1}, "off":"BBModsAMV_svetorgi", "on":"BBModsAMV_orgi_on", "materialEmissiveScaling":{"on_max":1}}, 
	    "BBModsAMV_reverselight":{"simpleFunction":{"reverselight_filament":0.49}, "off":"BBModsAMV_svet", "on":"BBModsAMV_revers_on", "on_intense":"BBModsAMV_revers_on", "materialEmissiveScaling":{"on_max":0.49}},
	    "BBModsAMV_symbolts":{"simpleFunction":{"lowbeam":0.49,"highbeam":1}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on", "on_intense":"BBModsAMV_symbolts_on"},
	    "BBModsAMV_zapek":{"simpleFunction":{"lowbeam":0.49,"highbeam":1}, "off":"invis", "on":"BBModsAMV_ems", "on_intense":"BBModsAMV_ems_int"},
	    "BBModsAMV_fogzap":{"simpleFunction":{"fog":1}, "off":"invis", "on":"BBModsAMV_ems", "on_intense":"BBModsAMV_ems"},
            "BBModsAMV_gauges":{"simpleFunction":{"lowhighbeam":0.6}, "off":"BBModsAMV_gauges", "on":"BBModsAMV_gauges_on"},
	    "BBModsAMV_pribka":{"simpleFunction":{"lowhighbeam":0.49}, "off":"BBModsAMV_gaugestime", "on":"BBModsAMV_gaugestime_onik", "on_intense":"BBModsAMV_gaugestime_onik"},
	    "BBModsAMV_numlight":{"simpleFunction":{"lowhighbeam":0.49}, "off":"BBModsAMV_28", "on":"BBModsAMV_28_onik", "on_intense":"BBModsAMV_28_onik"},

            //gauge lights
		
            "BBModsAMV_int_signal_L":{"simpleFunction":{"signal_L":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
	    "BBModsAMV_int_hazard":{"simpleFunction":"hazard", "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_signal_R":{"simpleFunction":{"signal_R":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_checkengine":{"simpleFunction":{"checkengine":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_highbeam":{"simpleFunction":{"highbeam":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_parkingbrake":{"simpleFunction":{"parkingbrake":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_lowfuel":{"simpleFunction":{"lowfuel":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_lowoil":{"simpleFunction":{"checkengine":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "BBModsAMV_int_lowcoolant":{"simpleFunction":{"checkengine":0.49}, "off":"BBModsAMV_symbolts", "on":"BBModsAMV_symbolts_on"},
            "signal_L":{"simpleFunction":"signal_L", "off":"invis", "on":"decals_gauges"},
            "signal_R":{"simpleFunction":"signal_R", "off":"invis", "on":"decals_gauges"},
    },
},
}