If u guys seen tuxedo-templar's map u notice that for every weapon u choose it gives u a different ammo counter so that if u have 40 rifle ammo it switches it to little or no ammo for the shotgun or something... how did Tuxedo-Templar do that?
Triggers...it aint hard, try it yourself first then come back to us.
Different Ammo Counters.... FOR EACH WEAPON i dont get it...
Different ammo counters as in, Max ammo, last known capacity of the weapon that sort? Switchs come to my mind, but I doubt Tux used those.
well can u show me a trigger WITH switches if possible?
First, keep the death counters of the weapons you are using free meaning they won't be affected with anything.
Basically, you want to use your death counters to keep track of how much ammo you have left on each weapon.
So, say you have a rifle with 40 ammo and a shotgun with 20 ammo.
set deaths of rifle to 40 and deaths of shotgun to 0 if your going to start off using the shotgun. Set minerals to 20. Your death counters will be the memory of ammo count. Now, when you switch weapons, say you switch rifle in place of the shotgun, make an action where you would subtract 1 mineral(ammo count) and add 1 death to shotguns. When you have at least 1 death of shot gun and exactly 0 minerals, then you can begin count of the rifle ammo. Subtract 1 death of rifle ammo, add 1 for mineral. If you want it the other way around, it's pretty obvious what you should do.