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>
62 lines
2.4 KiB
Plaintext
62 lines
2.4 KiB
Plaintext
private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]];
|
|
|
|
[
|
|
QGVAR(defaultAssemblyMode), "CHECKBOX",
|
|
[LSTRING(defaultAssemblyMode_displayName), LSTRING(defaultAssemblyMode_description)],
|
|
_categoryArray,
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(defaultAssemblyMode), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(handleExtraMagazines), "CHECKBOX",
|
|
[LSTRING(handleExtraMagazines_displayName), LSTRING(handleExtraMagazines_description)],
|
|
_categoryArray,
|
|
true, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(handleExtraMagazines), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(handleExtraMagazinesType), "LIST",
|
|
[LSTRING(handleExtraMagazinesType_displayName), LSTRING(handleExtraMagazinesType_description)],
|
|
_categoryArray,
|
|
[[0, 1], [LSTRING(handleExtraMagazinesType_weaponHolder), LSTRING(handleExtraMagazinesType_ammoBox)], 0],
|
|
true, // isGlobal
|
|
{[QGVAR(handleExtraMagazinesType), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(ammoHandling), "LIST",
|
|
[LSTRING(ammoHandling_displayName), LSTRING(ammoHandling_description)],
|
|
_categoryArray,
|
|
[[0, 1, 2], [LELSTRING(common,Disabled), LELSTRING(common,playerOnly), LELSTRING(common,playersAndAI)], 2], // [_values, _valueTitles, _defaultIndex]
|
|
true, // isGlobal
|
|
{[QGVAR(ammoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(progressBarTimeCoefficent), "SLIDER",
|
|
[LSTRING(progressBarTimeCoefficent_displayName), LSTRING(progressBarTimeCoefficent_description)],
|
|
_categoryArray,
|
|
[0,2,1,2], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
true, // isGlobal
|
|
{[QGVAR(progressBarTimeCoefficent), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
false // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(dragAfterDeploy), "CHECKBOX",
|
|
[LSTRING(dragAfterDeploy_displayName), LSTRING(dragAfterDeploy_description)],
|
|
_categoryArray,
|
|
false, // default value
|
|
false, // isGlobal
|
|
{[QGVAR(dragAfterDeploy), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
false // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|