Page MenuHomeFeedback Tracker

Playing a gesture on a unit while that unit is reloading breaks reloading completely
Closed, ResolvedPublic


If you play any kind of gesture, while a unit is reloading, the reloading functionality will completely break for that unit permanently for all it's weapon slots.

The magazines will just disappear from the inventory when you press your reload key and nothing else will happen.


Legacy ID
Steps To Reproduce
  1. Open Editor, place yourself as a rifleman
  2. Start to reload your weapon
  3. Pause the game while you're reloading your weapon
  4. In the debug console, enter: player playAction "GestureAdvance";
  5. Attempt to reload again
  6. Observe that magazines dissapear from your inventory but you do not reload your weapon
  7. Switch to your sidearm
  8. Attempt to reload the sidearm
  9. Again observe that the magazines for the sidearm will disappear, but you will not reload your weapon

Event Timeline

Sniperwolf572 set Category to Engine.
Sniperwolf572 set Reproducibility to Always.
Sniperwolf572 set Severity to None.
Sniperwolf572 set Resolution to Fixed.
Sniperwolf572 set Legacy ID to 3955706504.May 8 2016, 11:35 AM
Sniperwolf572 edited a custom field.
pops added a subscriber: pops.May 8 2016, 11:35 AM
pops added a comment.Mar 5 2015, 2:58 PM

I assume this is related to #22926

Fixable by dropping all weapons and picking them back up again, however that isn't a permanent solution.

This seems to have been fixed in todays build.

The reloading no longer gets broken, but you still lose a magazine (the one that was supposed to be the new weapon mag) if you play a gesture during a reload.

I do not know if this is the intended behavior.

Why I think it's probably not intended.

This destroys the item completely from the game world, it no longer exists, it's not on the ground to be picked up again, it's basically gone forever.

The magazine was taken out of the player inventory which is not players inventory and because the reload was aborted, there was never the moment when the magazines would exchange places or returned to the inventory.

As if something like this is happening:

Begin reload -> Remove magazine from inventory -> Wait until magazineReloadTime is complete -> Put magazine in weapon -> If the magazine that was taken out of the weapon still has ammo, put it back in the inventory

The problem there of course being that if the reload was aborted, the fresh magazine would be lost from the game world.

Unfortunately, there is no way how to prevent the first magazine from disappearing.