Infinite Ammo

I created an weapon which fires missiles and it's also signed how many ammo there is but the number of ammonition doesn't reduce while fireing. How can I change this.

------------------
-Excuse my english I'm only 13 years old and an German.

Maybe it's a burst weapon? Is it set up to only use up ammo at the end of a burst or something like that?

------------------
Moderator- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go&mrxak;=cool")EV Developer's Corner(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=69SUBMIT=Go&mrxak;=cool")Uplink Web Board(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=18")mrxak's Assorted Webspace Forum(/url) | (url="http://"http://forums.evula.com/viewforum.php?f=48")Starcraft Forum(/url) | | (url="http://"http://directory.perfectparadox.com/profile.php?id=00008")My Profile(/url) | (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/postdisplay.cgi?forum=Forum10&topic;=007599-2&whichpost;=mrxak11-06-200203:22PM")mrxak(/url)
(url="http://"http://www.evula.org/mrxak/")mrxak's Assorted Webspace(/url) | (url="http://"http://www.evula.org/mrxak/Haikus/haikuarchive.html")The Haiku Archive(/url) | (url="http://"http://www.evula.org/mrxak/EV/N/mbspt/mbspt.html")mrxak's Big Secret Plug-in/Tutorial(/url) | (url="http://"http://www.evula.org/mrxak/EV/N/amtc/amtc.html")A mrxak TC(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/TheChallenge102.sea.bin?path=evn/plugins&file;=TheChallenge102.sea.bin")The Challenge v1.0.2(/url)
(url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro")Search First(/url) | (url="http://"http://www.macgamer.net/games/uplink/")Uplink Guide(/url) | (url="http://"http://www.evula.com/survival_guide/")EV/O/N Guide(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=31&SUBMIT;=Go")Plug-in Guide(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003091.html")Plug-in Testers(/url) | (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/003196.html")Developers(/url) | (url="http://"http://www.AmbrosiaSW.com/games/evn/addons.html")Nova Addons(/url) | (url="http://"http://www.resexcellence.com/support_files/resedit.shtml")ResEdit(/url) | (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url)
"When you burn your bridges, just make sure they aren't in front of you." -mrxak

Hmmm.... thats an interesting oddness. Do we have the ammotype set up fully and all?
What IDs are you using for everything (include modtype and modvals for the outf resources). Also, do you have a it setup to fire in bursts? If so there is a flag there to make it not use ammo until the end of the burst cycle.

What program are you using for development? Plain resedit? Resedit with Novatools?
-Az

------------------

I'm using the mission computer, the ID of outfit resource :
Missile Launcher :528
Missile :529
weap resource:
Missile : 257
entered ammo typ 402

------------------
-Excuse my english I'm only 13 years old and an German.

Aaaah. There it is.

Ammotype is the ID of the weapon whose ammo the weapon should fire, not the outf. of the ammo. (Yes, I know this seems wierd - it is.)

The ammotype for weapon 257 should thus be 129 (257-128=129).

(and the missile outf should have a Modtype 3 and modval 257 if it doesnt already, to make it ammo for weapon 257).

I will agree that the way weapon ammo works is rather confusing.
-Az

------------------

(This message has been edited by Azratax2 (edited 09-05-2003).)

(This message has been edited by Azratax2 (edited 09-05-2003).)