ACE3/addons/arsenal/initSettings.sqf

84 lines
1.7 KiB
Plaintext
Raw Normal View History

// 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;
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;