2019-03-31 02:54:12 +00:00
|
|
|
[
|
2019-11-05 17:55:15 +00:00
|
|
|
QGVAR(enable), "LIST",
|
2019-03-31 02:54:12 +00:00
|
|
|
[LSTRING(enable_hd_name), LSTRING(enable_hd_tooltip)],
|
|
|
|
LSTRING(category_displayName),
|
2021-10-14 15:49:27 +00:00
|
|
|
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", ELSTRING(common,playerOnly), ELSTRING(common,playersAndAI)], 2],
|
2019-03-31 02:54:12 +00:00
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-03-31 02:54:12 +00:00
|
|
|
|
|
|
|
[
|
2021-10-14 15:49:27 +00:00
|
|
|
QGVAR(enableFire), "CHECKBOX",
|
|
|
|
[LSTRING(enableFire_name), LSTRING(enableFire_tooltip)],
|
2019-03-31 02:54:12 +00:00
|
|
|
LSTRING(category_displayName),
|
|
|
|
true, // default value
|
|
|
|
true, // isGlobal
|
2021-10-14 15:49:27 +00:00
|
|
|
{[QGVAR(enableFire), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
false // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-03-31 02:54:12 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enableAmmoCookoff), "CHECKBOX",
|
|
|
|
[LSTRING(enableAmmoCookoff_name), LSTRING(enableAmmoCookoff_tooltip)],
|
|
|
|
LSTRING(category_displayName),
|
|
|
|
true, // default value
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(enableAmmoCookoff), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
2021-10-14 15:49:27 +00:00
|
|
|
false // Needs mission restart
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enableAmmobox), "CHECKBOX",
|
|
|
|
[LSTRING(enableBoxCookoff_name), LSTRING(enableBoxCookoff_tooltip)],
|
|
|
|
LSTRING(category_displayName),
|
|
|
|
true, // default value
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(enableAmmobox), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
2019-03-31 02:54:12 +00:00
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-03-31 02:54:12 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(ammoCookoffDuration), "SLIDER",
|
|
|
|
[LSTRING(ammoCookoffDuration_name), LSTRING(ammoCookoffDuration_tooltip)],
|
|
|
|
LSTRING(category_displayName),
|
|
|
|
[0,5,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(ammoCookoffDuration), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-03-31 02:54:12 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(probabilityCoef), "SLIDER",
|
|
|
|
[LSTRING(probabilityCoef_name), LSTRING(probabilityCoef_tooltip)],
|
|
|
|
LSTRING(category_displayName),
|
|
|
|
[0,5,1,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(probabilityCoef), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|