Staredit Network

Staredit Network -> UMS Assistance -> Weapon Ammunition System?!?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-27 at 12:41:19
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?
Report, edit, etc...Posted by IceWarrior98 on 2005-07-27 at 12:48:41
Triggers...it aint hard, try it yourself first then come back to us.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-27 at 12:58:13
Different Ammo Counters.... FOR EACH WEAPON i dont get it...
Report, edit, etc...Posted by IceWarrior98 on 2005-07-27 at 13:05:24
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.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-27 at 13:41:29
well can u show me a trigger WITH switches if possible?
Report, edit, etc...Posted by Sniper on 2005-07-27 at 14:04:25
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.
Next Page (1)