So, this is actually not complicated at all. My game is averagely realistic and futuristic, so I'll have guns as the main weapons, and those guns will all only support one type of ammunition - none of that enchanted / exploding / anti-werewolf / anti-whatevethefuckpeoplecomeupwith bullets, just plain normal ammunition. So, the whole equip system is unneeded and seriously would get really annoying for the player, especially if he wants to quickly switch between a normal item (let's say, a grenade) and a gun, but he can't because he forgot to re-equip the ammunition and therefore dies and is slowly eaten by mutants.
Well, I myself wouldn't want that as a gamer, but just getting rid of that would make it a bit... not challenging. Therefore, I thought: if I'm going for a more realistic feel, why not include reloading?
So, my request is:
- Weapons that require ammunition will automatically use it, based on what I configured in the script
- It can only hold a certain amount of ammo though. If the ammo it holds reaches 0, shooting is impossible. The amount of holdable ammo is configured in the script, too.
- Reloading is executed by a configurable button and needs a different amount of time for every weapon. During that time, the player is set to auto-sneak.
- ...It also plays a soundeffect and an animation... blah blah configurable.
- Wherever the weapon icon is shown, it has a small number on it indicating the amount of ammo it can hold and the amount of ammo it is currently holding.
I hope this was easy to understand and ellaborate enough. Would be awesome if anyone could do this!