Sorry, meteorite, but that one is in the manual.
Here it is, straight from the gunspec section:
Quote: "BindAmmoToVar = X (Binds the weapon’s Clip ammo (Not ammo in the gun) to variable X, and autodeclares the variable)"
Add that option to your gunspec like so:
Do that for all of the guns that you want to share the same ammo pool. Probably weapons that would use a 45mm round (whatever the heck that would be... I'm not a weapons expert, there might not even be a weapon that uses that for all I know, lol)
Now, when you want to give the weapon more ammo, simply add to that variable like so:
:plrdistwithin=50:plrtake,addvar=Ammo45mm 2000,hudshow=pickup,hudfadeout=pickup
Or something similar to that. Basically, you just add to the variable and the ammo gets updated accordingly. You can also check the pool by simply checking the variable since that variable directly controls the ammo and is directly effected by ammo consuming routines (like reloading).
There... in one simple gunspec option, you have full control (almost...) over the ammo pool and have, in the process, decided which weapons are part of that ammo pool.
Damn, I feel so smart.
Time to go do homework and get rid of that notion before my ego over-inflates.
(FYI, this has received minimal testing by me, myself and I, so if you find a bug, let me know ASAP. I am fairly confident that it works, though, since my "fantasy" video showed it off as a form of "Mana", which was the ammo pool for all of the spell weapons I had used in the vid)
The one and only,