2021-10-11 20:48:30 +00:00
|
|
|
private _category = format ["ACE %1", LLSTRING(Category_InteractionMenu)];
|
2021-10-30 21:42:47 +00:00
|
|
|
private _categoryColors = [_category, format ["| %1 |", LELSTRING(common,subcategory_colors)]];
|
2021-10-11 20:48:30 +00:00
|
|
|
|
2018-04-28 22:23:44 +00:00
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(selectorColor), "COLOR",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(SelectorColor),
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2018-04-28 22:23:44 +00:00
|
|
|
[1, 0, 0],
|
|
|
|
false,
|
|
|
|
{GVAR(selectorColorHex) = _this call BIS_fnc_colorRGBtoHTML} // Stored in Hex to avoid constant conversion
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
2021-02-04 17:01:35 +00:00
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(colorTextMax), "COLOR",
|
|
|
|
LSTRING(ColorTextMax),
|
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;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(colorTextMin), "COLOR",
|
|
|
|
LSTRING(ColorTextMin),
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2021-10-11 20:48:30 +00:00
|
|
|
[1, 1, 1, 0.25],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(colorShadowMax), "COLOR",
|
|
|
|
LSTRING(ColorShadowMax),
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2021-10-11 20:48:30 +00:00
|
|
|
[0, 0, 0, 1],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(colorShadowMin), "COLOR",
|
|
|
|
LSTRING(ColorShadowMin),
|
2021-10-30 21:42:47 +00:00
|
|
|
_categoryColors,
|
2021-10-11 20:48:30 +00:00
|
|
|
[0, 0, 0, 0.25],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(textSize), "LIST",
|
|
|
|
LSTRING(textSize),
|
|
|
|
_category,
|
2024-06-20 05:04:34 +00:00
|
|
|
[[0, 1, 2, 3, 4], ["str_very_small", "str_small", "str_medium", "str_large", "str_very_large"], 2]
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(shadowSetting), "LIST",
|
|
|
|
[LSTRING(shadowSetting), LSTRING(shadowSettingDescription)],
|
|
|
|
_category,
|
|
|
|
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", "STR_A3_OPTIONS_ENABLED", LSTRING(shadowOutline)], 2],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(actionOnKeyRelease), "CHECKBOX",
|
|
|
|
LSTRING(ActionOnKeyRelease),
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(addBuildingActions), "CHECKBOX",
|
|
|
|
[LSTRING(addBuildingActions), LSTRING(addBuildingActionsDescription)],
|
|
|
|
_category,
|
|
|
|
false,
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(menuAnimationSpeed), "LIST",
|
|
|
|
[LSTRING(menuAnimationSpeed), LSTRING(menuAnimationSpeed_Description)],
|
|
|
|
_category,
|
|
|
|
[[0, 1, 2], ["str_speed_normal", "2x", "3x"], 0],
|
|
|
|
0
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(consolidateSingleChild), "CHECKBOX",
|
2021-02-04 17:01:35 +00:00
|
|
|
[LSTRING(consolidateSingleChild), LSTRING(consolidateSingleChild_Description)],
|
2021-10-11 20:48:30 +00:00
|
|
|
_category,
|
2021-02-04 17:01:35 +00:00
|
|
|
false
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2019-12-08 01:44:04 +00:00
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(alwaysUseCursorInteraction), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(AlwaysUseCursorInteraction),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LLSTRING(Category_InteractionMenu)],
|
2019-12-08 01:44:04 +00:00
|
|
|
false,
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(cursorKeepCentered), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
[LSTRING(cursorKeepCentered), LSTRING(cursorKeepCenteredDescription)],
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LLSTRING(Category_InteractionMenu)],
|
2019-12-08 01:44:04 +00:00
|
|
|
false,
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(useListMenu), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(UseListMenu),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LLSTRING(Category_InteractionMenu)],
|
2021-04-21 20:35:35 +00:00
|
|
|
true,
|
2019-12-08 01:44:04 +00:00
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(menuBackground), "LIST",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(background),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LLSTRING(Category_InteractionMenu)],
|
2019-12-08 01:44:04 +00:00
|
|
|
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0],
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(alwaysUseCursorSelfInteraction), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(AlwaysUseCursorInteraction),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LELSTRING(Interaction,InteractionMenuSelf)],
|
2019-12-08 01:44:04 +00:00
|
|
|
true,
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(cursorKeepCenteredSelfInteraction), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
[LSTRING(cursorKeepCentered), LSTRING(cursorKeepCenteredDescription)],
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LELSTRING(Interaction,InteractionMenuSelf)],
|
2019-12-08 01:44:04 +00:00
|
|
|
false,
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(useListMenuSelf), "CHECKBOX",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(UseListMenu),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LELSTRING(Interaction,InteractionMenuSelf)],
|
2019-12-08 01:44:04 +00:00
|
|
|
false,
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-08 01:44:04 +00:00
|
|
|
|
|
|
|
[
|
2021-10-11 20:48:30 +00:00
|
|
|
QGVAR(menuBackgroundSelf), "LIST",
|
2019-12-08 01:44:04 +00:00
|
|
|
LSTRING(background),
|
2021-10-11 20:48:30 +00:00
|
|
|
[_category, LELSTRING(Interaction,InteractionMenuSelf)],
|
2019-12-08 01:44:04 +00:00
|
|
|
[[0, 1, 2], ["STR_A3_OPTIONS_DISABLED", LLSTRING(backgroundBlur), LLSTRING(backgroundBlack)], 0],
|
|
|
|
false
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|