lhofhansl / rangedweapons

Other
5 stars 4 forks source link

Magazine ammo count in stack counter, HUD ammo counter removed #5

Closed mruncreative closed 4 months ago

mruncreative commented 4 months ago

Merging solves half of this issue: #4

Before: shooting or reloading gun switches hud display to current gun and shows how much ammo it has loaded The hud stays that way even if another gun or nothing is selected in the hotbar.

After: HUD display for gun, ammo and ammocount is entirely removed and the bullet count is displayed on the gun. Since MT engine has such a great metadata feature even values such as 1 and 0 will be displayed on the gun and remain on it when the game is restarted and the world is loaded again. It's just a string and purely optical. grafik

lhofhansl commented 4 months ago

Works great. I like it! Lemme ask on the forum if anything has other opinions.

Code looks fine too. I'll wait for a day or two and nobody has any concerns I'll merge it.

lhofhansl commented 4 months ago

Merged. Thank you!