2022-02-14 21:57:50 +00:00
|
|
|
private _category = format ["ACE %1", LLSTRING(DisplayName)];
|
|
|
|
private _categoryColors = [_category, format ["| %1 |", LLSTRING(subcategory_colors)]];
|
2021-10-11 20:48:30 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(checkPBOsAction),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(CheckPBOsAction), LSTRING(CheckPBOsActionDesc)],
|
|
|
|
_category,
|
|
|
|
[[0, 1, 2], [LSTRING(CheckPBO_Action_WarnOnce), LSTRING(CheckPBO_Action_WarnPerm), LSTRING(CheckPBO_Action_Kick)], 0],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(checkPBOsCheckAll),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(CheckPBOsCheckAll), LSTRING(CheckPBOsCheckAllDesc)],
|
|
|
|
_category,
|
|
|
|
false,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(checkPBOsWhitelist),
|
|
|
|
"EDITBOX",
|
|
|
|
[LSTRING(CheckPBOsWhitelist), LSTRING(CheckPBOsWhiteListDesc)],
|
|
|
|
_category,
|
|
|
|
"[]",
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(settingFeedbackIcons),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(SettingFeedbackIconsName), LSTRING(SettingFeedbackIconsDesc)],
|
|
|
|
_category,
|
|
|
|
[[0, 1, 2, 3, 4], [ELSTRING(optionsmenu,Hide), ELSTRING(optionsmenu,TopRightDown), ELSTRING(optionsmenu,TopRightLeft), ELSTRING(optionsmenu,TopLeftDown), ELSTRING(optionsmenu,TopLeftRight)], 1],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(settingProgressBarLocation),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(SettingProgressBarLocationName), LSTRING(SettingProgressBarLocationDesc)],
|
|
|
|
_category,
|
|
|
|
[[0, 1], [ELSTRING(optionsmenu,Top), ELSTRING(optionsmenu,Bottom)], 0],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(displayTextColor),
|
|
|
|
"COLOR",
|
|
|
|
[LSTRING(SettingDisplayTextColorName),LSTRING(SettingDisplayTextColorDesc)],
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2021-10-11 20:48:30 +00:00
|
|
|
[0, 0, 0, 0.1],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(displayTextFontColor),
|
|
|
|
"COLOR",
|
|
|
|
[LSTRING(SettingDisplayTextFontColorName),LSTRING(SettingDisplayTextFontColorDesc)],
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2021-10-11 20:48:30 +00:00
|
|
|
[1, 1, 1, 1],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2018-01-02 13:57:19 +00:00
|
|
|
[
|
|
|
|
QGVAR(persistentLaserEnabled),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(SettingPersistentLaserName), LSTRING(SettingPersistentLaserDesc)],
|
2023-08-28 17:26:24 +00:00
|
|
|
LSTRING(ACEKeybindCategoryWeapons),
|
2018-01-02 13:57:19 +00:00
|
|
|
false,
|
|
|
|
false,
|
|
|
|
LINKFUNC(switchPersistentLaser)
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-01-02 13:57:19 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(allowFadeMusic),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(AllowFadeMusic), LSTRING(AllowFadeMusicTooltip)],
|
2021-10-11 20:48:30 +00:00
|
|
|
_category,
|
2018-01-02 13:57:19 +00:00
|
|
|
true,
|
|
|
|
true
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2021-10-05 17:29:22 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(epilepsyFriendlyMode),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(EpilepsyFriendlyMode), LSTRING(EpilepsyFriendlyModeTooltip)],
|
|
|
|
format ["ACE %1", localize LSTRING(DisplayName)],
|
|
|
|
false,
|
|
|
|
2
|
|
|
|
] call CBA_fnc_addSetting;
|
2021-10-10 16:49:41 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(progressBarInfo),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(progressBarInfoName), LSTRING(progressBarInfoDesc)],
|
|
|
|
format ["ACE %1", localize LSTRING(DisplayName)],
|
|
|
|
[[0, 1, 2], [LSTRING(None), LSTRING(progressBarInfoPercentage), LSTRING(progressBarInfoTime)], 2],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|