I only want to know how to create new ammo typs and I hope that somebody is able to explain how to do.
If anybody is able to perhaps somebody can tell where to find the ammo types the game.
------------------
I only want to know how to create new ammo typs and I hope that somebody is able to explain how to do.
If anybody is able to perhaps somebody can tell where to find the ammo types the game.
------------------
Make an outfit. Set it to be an ammo type outfit.
If you give it a tech level of one, you should be able to find it quite easily.
------------------
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)
Cybernetic Organism since 5/14/02!!
I mean the ammo typ in the waepon recource.
------------------
-Excuse my english I'm only 13 years old and an German.
Quote
Originally posted by Space Junkie:
I mean the ammo typ in the waepon recource.
If you're using ResEdit, just type in the ID of the weapon - 128. If you're using Novatools, just typing in the ID of the weapon should be fine.
e.g.
ResID Weapon
128 Peashooter
129 Laser-sight peashooter (LSP)
150 Coconut cannon
You would give the peashooter an ammo type of 0 in ResEdit or 128 in NovaTools. If the LSP used the same ammo as the peashooer, you would give it the same ammo type. If it used its own ammo, you would give it ammo type 1 in ResEdit or 129 in NovaTools. The coconut cannon would have 22 in ResEdit, 150 in NovaTools etc.
N.B. In NovaTools, you can work with ResIDs or IndexIDs. Editting the wëap resource works funny though and sticks on ResIDs for me. If you can change it to IndexIDs, it'll work just like RedEdit does by itself. Due to some other quirk, opening a weapon again brings up the wrong ID for the ammo type, so make sure you check it's right every time you close a resource. That may just be a bug with me though.
------------------
(url="http://"http://homepage.mac.com/jonathanboyd/evn/index.html")Classic4Nova plug-in(/url)
In my opinion, the way ammotype uses the index # instead of the RID, where almost everything else uses the RID is very annoying.
If you want to know how to make a weapon that uses ammo, go here: (url="http://"http://www.ambrosiasw.com/webboard/Forum9/HTML/004545.html")http://www.ambrosias...TML/004545.html(/url)
If you mean you want to have, say, an "Incendiary Raven Rocket" or whatever fire from the standard raven launcher, you need to create a new weap for it too - weapons can each only have one kind of ammo. You can work some magic with OnPurchase, OnSell, and the Dont Display if Out Of Ammo flag, to give the appearance of multiple types of ammo, though.
This is actually interesting enough that i will describe how to do it.
Say you want to make a Generic Missile launcher, that can fire Generic Missiles and Nifty Missiles
You would need to create the following resources. RIDs would ofcourse be different.
Outf
128 Generic Missile Launcher
129 Nifty Missile Launcher
130 Generic Missile
131 Nifty Missile
Weap
128 Generic Missile Launcher
129 Nifty Missile Launcher
Set them up as follows (up to you to set price and all, but here are the funky things : )
Outf 128, Generic Missile Launcher
OnPurchace: G129 <gives player Nifty Missile Launcher when purchased.
OnSell: D129 <takes the Nifty Missile Launcher away when sold
ModType: 1 <Its a weapon
ModVal: 128 <More spesificly, its weapon 128, the Generic Missile Launcher
Outf 129, Nifty Missile Launcher
Modtype: 1 <weapon
Modval: 129 <its weapon 129, the Nifty Missile Launcher
Set all the name fields to blanks. This keeps it from showing in inventory - thus only Generic Missile Launcher will show.
And this item should be set to 0% avail, or to a nonexistant techlevel.
Outf 130, Generic Missile
Modtype: 3 <ammo...
Modval: 128 <For weapon 128, the Generic missile launcher.
Outf 131, Nifty Missile
Modtype: 3 <ammo...
Modval: 129 <For weapon 129, the Nifty missile launcher.
Weap 128, Generic Missile Launcher
Ammotype: 1 (the index number of the weapon that ammo will be drawn from. In novatools, this should be the RID instead, ie, 128)
Secondard weapon
Dont show if out of ammo
Weap 129, Nifty Missile Launcher
Ammotype: 2 (the index number of the weapon that ammo will be drawn from. In novatools, this should be the RID instead, ie, 129)
Secondary weapon
Dont show if out of ammo.
Should have the same reload time as 128, but doesnt have to.
This should have the percieved effect of being able to buy one weapon, and have it shoot either of two types of ammo.
-Az
------------------
(This message has been edited by Azratax2 (edited 09-03-2003).)
(This message has been edited by Azratax2 (edited 09-03-2003).)
(This message has been edited by Azratax2 (edited 09-04-2003).)