2022-02-14 21:57:50 +00:00
|
|
|
private _category = format ["ACE %1", LLSTRING(DisplayName)];
|
2024-03-24 21:28:14 +00:00
|
|
|
private _categoryColors = [_category, LSTRING(subcategory_colors)];
|
|
|
|
private _categorySway = [_category, LSTRING(subcategory_sway)];
|
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,
|
2023-12-11 17:05:22 +00:00
|
|
|
[[0, 1, 2, 3, 4], [LSTRING(Hide), LSTRING(TopRightDown), LSTRING(TopRightLeft), LSTRING(TopLeftDown), LSTRING(TopLeftRight)], 1],
|
2021-10-11 20:48:30 +00:00
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(settingProgressBarLocation),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(SettingProgressBarLocationName), LSTRING(SettingProgressBarLocationDesc)],
|
|
|
|
_category,
|
2023-12-11 17:05:22 +00:00
|
|
|
[[0, 1], [LSTRING(Top), LSTRING(Bottom)], 0],
|
2021-10-11 20:48:30 +00:00
|
|
|
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)],
|
2024-03-24 21:28:14 +00:00
|
|
|
_category,
|
2021-10-05 17:29:22 +00:00
|
|
|
false,
|
|
|
|
2
|
|
|
|
] call CBA_fnc_addSetting;
|
2021-10-10 16:49:41 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(progressBarInfo),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(progressBarInfoName), LSTRING(progressBarInfoDesc)],
|
2024-03-24 21:28:14 +00:00
|
|
|
_category,
|
2021-10-10 16:49:41 +00:00
|
|
|
[[0, 1, 2], [LSTRING(None), LSTRING(progressBarInfoPercentage), LSTRING(progressBarInfoTime)], 2],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
2024-03-24 21:28:14 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enableSway),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(enableSway), LSTRING(enableSway_Description)],
|
|
|
|
_categorySway,
|
|
|
|
true,
|
|
|
|
1,
|
|
|
|
{},
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(swayFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(SwayFactor), LSTRING(SwayFactor_Description)],
|
|
|
|
_categorySway,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(restedSwayFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(RestedSwayFactor), LSTRING(RestedSwayFactor_Description)],
|
|
|
|
_categorySway,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(deployedSwayFactor),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(DeployedSwayFactor), LSTRING(DeployedSwayFactor_Description)],
|
|
|
|
_categorySway,
|
|
|
|
[0, 5, 1, 2],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|