pa1nki113r / Project_Brutality

This is the primary repository for collaborative efforts between Doom developers on Project Brutality. This is the bleeding-edge version that is constantly being developed on, and not meant in any way shape or form to be representative of the final version of the mod.
1.17k stars 403 forks source link

Weapons that "replace" other weapons hide their ammo #158

Open tunbridgep opened 5 years ago

tunbridgep commented 5 years ago

I guess this isn't really a "bug" per se, but can affect the player when you have very low ammo. This is more of a low priority thing as it doesn't have much of an effect on gameplay.

Basically, take the following scenario: Pick up Magnum Revolver, has 6 bullets in clip, and 10 in reserve Pick up Deagle, has 12 bullets in clip, and gives a few reserve too Magnum still has 6 bullets, which are inaccessible because it has been replaced by Deagle. Unloading the magnum before pickup up the Deagle will yield more total ammo

Proposed Solution: Make weapons smart enough to "replace" ammo that is no longer necessary. This also includes dual-wield weapons and such, so that the player always has access to the correct amount of reserve ammo and none is ever hidden. So for example, when picking up the Deagle, it would replace all Revolver clip ammo with backpack pistol ammo, and when switching from dual-wielding to a single weapon, the second weapon should be unloaded and it's ammo returned to the backpack. Maybe.

HyperExia commented 5 years ago

I second this. I don't want to unload my ammo when I go to an upgrade.