mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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>
This commit is contained in:
parent
a4ae61f1fc
commit
8b60fae23a
@ -61,6 +61,10 @@ if (count _startingAmmoCounts < 2) exitWith {ERROR("Not Enough Mags to Repack");
|
||||
private _simEvents = [_fullMagazineCount, _startingAmmoCounts, _isBelt] call FUNC(simulateRepackEvents);
|
||||
private _totalTime = _simEvents select (count _simEvents - 1) select 0;
|
||||
|
||||
if (GVAR(repackAnimation)) then {
|
||||
[_player, "Gear"] call EFUNC(common,doGesture);
|
||||
};
|
||||
|
||||
[
|
||||
_totalTime,
|
||||
[_magazineClassname, _startingAmmoCounts, _simEvents],
|
||||
|
@ -31,3 +31,11 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
||||
true,
|
||||
0
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(repackAnimation), "CHECKBOX",
|
||||
LSTRING(repackAnimation),
|
||||
_category,
|
||||
true,
|
||||
0
|
||||
] call CBA_fnc_addSetting;
|
||||
|
@ -186,5 +186,10 @@
|
||||
<Chinesesimp>重新整理弹匣,武器未上膛</Chinesesimp>
|
||||
<Korean>탄창 다시 채우는 중, 무기에서 탄창 뺌</Korean>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MagazineRepack_repackAnimation">
|
||||
<English>Repack Animation</English>
|
||||
<German>Animation für Umpacken</German>
|
||||
<Polish>Animacja przepakowywania</Polish>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user