mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
464ab0cefb
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
// These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
|
|
|
|
private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], localize LSTRING(DisplayName)];
|
|
|
|
[
|
|
QGVAR(airResistanceEnabled), "CHECKBOX",
|
|
[LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)],
|
|
_category,
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(allowComputerRangefinder), "CHECKBOX",
|
|
[LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)],
|
|
_category,
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(allowCompass), "CHECKBOX",
|
|
[LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)],
|
|
_category,
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(useAmmoHandling), "CHECKBOX",
|
|
[LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)],
|
|
_category,
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|