ACE3/addons/magazinerepack/initSettings.sqf
JonBons 8b60fae23a
Magazine Repack - Add idle animation when a player starts repacking magazines (#8825)
* Added Gear gesture animation when a player starts repacking magazines

(previously you'd just sit there doing nothing for X seconds)

* Added Repack Animation ACE Setting for allow for disabling of idle animation during repacking

* Corrected Polish translation for setting name

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>

* Corrected German translation for setting name

* Removed French translation until someone can provide one

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
2022-03-07 12:35:26 -06:00

42 lines
752 B
Plaintext

private _category = format ["ACE %1", localize LSTRING(DisplayName)];
[
QGVAR(timePerAmmo), "SLIDER",
LSTRING(timePerAmmo),
_category,
[1, 10, 1.5, 1],
1
] call CBA_fnc_addSetting;
[
QGVAR(timePerMagazine), "SLIDER",
LSTRING(timePerMagazine),
_category,
[1, 10, 2, 1],
1
] call CBA_fnc_addSetting;
[
QGVAR(timePerBeltLink), "SLIDER",
LSTRING(timePerBeltLink),
_category,
[1, 10, 8, 1],
1
] call CBA_fnc_addSetting;
[
QGVAR(repackLoadedMagazines), "CHECKBOX",
LSTRING(repackLoadedMagazines),
_category,
true,
0
] call CBA_fnc_addSetting;
[
QGVAR(repackAnimation), "CHECKBOX",
LSTRING(repackAnimation),
_category,
true,
0
] call CBA_fnc_addSetting;