I have a question, that you might be able to help with...
I'm trying to add new ammo type to a weapon. All compiles fine with no errors. However when I load the game the weapon in question does not render the ammo in the HUD...
Do we have a limit of how many ammo types we can have in Half-Life? It turns out the answer is yes... sort of
Code wise I have added the ammo in client.cpp under "if ( sendweapons )" and in hl_weapons.cpp on two places:
And in weapon_name.txt I have a line for the sprite to be used... but no luck on this...
So after some digging around and a nudge from a friend, I got it figured out...
Somehow, I got above the limit defined of 32 ammo types... I counted and counted and I for sure has 23 defined... but that's another story I guess...