[Vanilla Bug] Ammo is bugged on infantry, vehicles, and buildings with a weapon #1034
Open
3 tasks done
Labels
vanilla-bug
Something isn't working in the original game
First Check
Description
Ammo
can be used on any techno type to limit its ammunition. Unfortunately, the ammunition consumption/reload logic is bugged:ROF
. Once all ammo has been depleted, the building will reload instantly, however it will wait for the duration of the weapon'sROF
before firing again. This is most likely a leftover from Red Alert (i.e. Tesla Coil) and not a bug per se, but it presents a limitation for modders.Should these issues be fixed, it should also be relevant to allow modders to override the hardcoded default reload rate. In addition, technos should probably be able to reload while idling and still having some ammo left, instead of having to deplete all ammunition first before the reload mechanism kicks in.
Required Code (optional)
In vanilla TS, the only non-aircraft unit with limited ammo is the Technician. To make reproducing the issue easier, I've modified several basic units and buildings to have limited ammo in the attached test map.
Steps To Reproduce
Expected Behaviour
Units/defenses should reload after depleting their ammunition.
Actual Behaviour
Most reload mechanisms are bugged or broken/missing altogether.
Additional Context
bandicam.2023-09-27.15-28-28-456.mp4
Download test map
The text was updated successfully, but these errors were encountered: