-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,53 @@ | ||
private _categoryArray = [format ["ACE %1", localize LSTRING(DisplayName)]]; | ||
private _categoryArray = [format ["ACE %1", LLSTRING(DisplayName)]]; | ||
|
||
[ | ||
QGVAR(defaultAssemblyMode), "CHECKBOX", | ||
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 | ||
1 // isGlobal | ||
] call CBA_fnc_addSetting; | ||
|
||
[ | ||
QGVAR(handleExtraMagazines), "CHECKBOX", | ||
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 | ||
1 // isGlobal | ||
] call CBA_fnc_addSetting; | ||
|
||
[ | ||
QGVAR(handleExtraMagazinesType), "LIST", | ||
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 | ||
1 // isGlobal | ||
] call CBA_fnc_addSetting; | ||
|
||
[ | ||
QGVAR(ammoHandling), "LIST", | ||
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 | ||
1 // isGlobal | ||
] call CBA_fnc_addSetting; | ||
|
||
[ | ||
QGVAR(progressBarTimeCoefficent), "SLIDER", | ||
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 | ||
[0, 2, 1, 2], // [min, max, default value, trailing decimals (-1 for whole numbers only)] | ||
1 // isGlobal | ||
] call CBA_fnc_addSetting; | ||
|
||
[ | ||
QGVAR(dragAfterDeploy), "CHECKBOX", | ||
QGVAR(dragAfterDeploy), | ||
"CHECKBOX", | ||
[LSTRING(dragAfterDeploy_displayName), LSTRING(dragAfterDeploy_description)], | ||
_categoryArray, | ||
false // default value | ||
_categoryArray | ||
] call CBA_fnc_addSetting; |