ACE3/addons/mk6mortar/initSettings.sqf
2019-06-08 00:16:01 -05:00

43 lines
1.6 KiB
Plaintext

// CBA Settings [ADDON: ace_mk6mortar]:
// These settings effect gameplay difficutly: defaults will leave the mortar the same as vanilla
[
QGVAR(airResistanceEnabled), "CHECKBOX",
[LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)],
LSTRING(category_DisplayName),
false, // default value
true, // isGlobal
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;
[
QGVAR(allowComputerRangefinder), "CHECKBOX",
[LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)],
LSTRING(category_DisplayName),
true, // default value
true, // isGlobal
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;
[
QGVAR(allowCompass), "CHECKBOX",
[LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)],
LSTRING(category_DisplayName),
true, // default value
true, // isGlobal
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;
[
QGVAR(useAmmoHandling), "CHECKBOX",
[LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)],
LSTRING(category_DisplayName),
false, // default value
true, // isGlobal
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_settings_fnc_init;