2018-02-10 02:31:22 +00:00
|
|
|
// 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
|
2018-11-02 17:58:57 +00:00
|
|
|
{[QGVAR(effectScaling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2018-02-10 02:31:22 +00:00
|
|
|
] 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
|
2018-11-02 17:58:57 +00:00
|
|
|
{[QGVAR(fogScaling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2018-02-10 02:31:22 +00:00
|
|
|
] 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;
|