mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
d33a158e2e
* improve page handling * drop MAX_STATS_PER_PAGE for now * hide stats box when empty * improve hiding * improve _fnc_hideUnused * condition * prevent page overflow Co-authored-by: PabstMirror <pabstmirror@gmail.com> * favorites var * function prep * favorites only * improve favorites adding, add include * fix stupid * fix color setting (todo: lnb color) * add button, finalize * setting tooltip * stringtable again * fix setting overwrite, improve tooltip * fix losing weapon items * fix macro * fix setting to intended overwrite * remove unnecessary private * docs * more docs * is * improve button text * docs * fix tooltip not showing unless menuBar was clicked * improve weapon accessory lookup * empty line * update refresh calls * fix left panel * cleanup currentCargo * use BI string for favorites * BI strings again * no favorites for face/voice/insignia * stringtable again * add missing setColorRight * Add comment for favorites setup --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
108 lines
2.2 KiB
Plaintext
108 lines
2.2 KiB
Plaintext
// Arsenal
|
|
private _category = LLSTRING(settingCategory);
|
|
[
|
|
QGVAR(camInverted),
|
|
"CHECKBOX",
|
|
LLSTRING(invertCameraSetting),
|
|
_category,
|
|
false
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(enableModIcons),
|
|
"CHECKBOX",
|
|
[LSTRING(modIconsSetting), LSTRING(modIconsTooltip)],
|
|
_category,
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(fontHeight),
|
|
"SLIDER",
|
|
[LSTRING(fontHeightSetting), LSTRING(fontHeightTooltip)],
|
|
_category,
|
|
[1, 10, 4.5, 1]
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(enableIdentityTabs),
|
|
"CHECKBOX",
|
|
LLSTRING(enableIdentityTabsSettings),
|
|
_category,
|
|
true,
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(defaultToFavorites),
|
|
"CHECKBOX",
|
|
[LSTRING(defaultToFavoritesSetting), LSTRING(defaultToFavoritesTooltip)],
|
|
_category,
|
|
false,
|
|
2 // never overwrite the client
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(favoritesColor),
|
|
"COLOR",
|
|
[LSTRING(favoritesColorSetting), LSTRING(favoritesColorTooltip)],
|
|
_category,
|
|
[0.9, 0.875, 0.6],
|
|
2 // never overwrite the client
|
|
] call CBA_fnc_addSetting;
|
|
|
|
private _loadoutCategory = LLSTRING(loadoutSubcategory);
|
|
|
|
// Arsenal loadouts
|
|
[
|
|
QGVAR(allowDefaultLoadouts),
|
|
"CHECKBOX",
|
|
[LSTRING(allowDefaultLoadoutsSetting), LSTRING(defaultLoadoutsTooltip)],
|
|
[_category, _loadoutCategory],
|
|
true,
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(allowSharedLoadouts),
|
|
"CHECKBOX",
|
|
LLSTRING(allowSharingSetting),
|
|
[_category, _loadoutCategory],
|
|
true,
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(EnableRPTLog),
|
|
"CHECKBOX",
|
|
[LSTRING(printToRPTSetting),
|
|
LSTRING(printToRPTTooltip)],
|
|
[_category, _loadoutCategory],
|
|
false,
|
|
false
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(loadoutsSaveFace),
|
|
"CHECKBOX",
|
|
LLSTRING(loadoutsSaveFaceSetting),
|
|
[_category, _loadoutCategory],
|
|
false
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(loadoutsSaveVoice),
|
|
"CHECKBOX",
|
|
LLSTRING(loadoutsSaveVoiceSetting),
|
|
[_category, _loadoutCategory],
|
|
false
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(loadoutsSaveInsignia),
|
|
"CHECKBOX",
|
|
LLSTRING(loadoutsSaveInsigniaSetting),
|
|
[_category, _loadoutCategory],
|
|
true
|
|
] call CBA_fnc_addSetting;
|