mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e73a2ddec0
Also convert to cba settings Close #6119
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
// CBA Settings [ADDON: ace_nightVision]:
|
|
|
|
[
|
|
QGVAR(effectScaling), "SLIDER",
|
|
[LSTRING(effectScaling_DisplayName), LSTRING(effectScaling_Description)],
|
|
localize LSTRING(Category),
|
|
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(effectScaling), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|
|
[
|
|
QGVAR(fogScaling), "SLIDER",
|
|
[LSTRING(fogScaling_DisplayName), LSTRING(fogScaling_Description)],
|
|
localize LSTRING(Category),
|
|
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(fogScaling), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(noiseScaling), "SLIDER",
|
|
[LSTRING(noiseScaling_DisplayName), LSTRING(noiseScaling_Description)],
|
|
localize LSTRING(Category),
|
|
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(noiseScaling), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(aimDownSightsBlur), "SLIDER",
|
|
[LSTRING(aimDownSightsBlur_DisplayName)],
|
|
localize LSTRING(Category),
|
|
[0,2,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(aimDownSightsBlur), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(disableNVGsWithSights), "CHECKBOX",
|
|
[LSTRING(DisableNVGsWithSights_DisplayName), LSTRING(DisableNVGsWithSights_description)],
|
|
localize LSTRING(Category),
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(disableNVGsWithSights), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(shutterEffects), "CHECKBOX",
|
|
[LSTRING(shutterEffects_DisplayName), LSTRING(shutterEffects_description)],
|
|
localize LSTRING(Category),
|
|
true, // default value
|
|
false, // isGlobal
|
|
{[QGVAR(shutterEffects), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_settings_fnc_init;
|