A different take on Ammunition

I'm currently working on a game where gear varies, instead of being built in a steady progression of better and better stuff. Players will have an incentive to still use older equipment, even as they find new ones.

One of the things I've been wanting to incorporate into this is ammunition. However, instead of it being a resource for certain weapons to use, I wanted it to be a slottable modifier so players could alter the performance of their weapons. For example, armor piercing (with a % bypass of target damage reduction) or incendiary (with a chance to inflict a burn).

However, the only scripts I've been able to find that cover ammunition involve it being kept either in an actor's off-hand or in the inventory, and all are rigged to use it up as a resource. With the former, this also disallows dual wielding, even if the weapons used are one-handed.

What I wanted to do was have an ammunition slot in a weapon, with the ammunition item working as a kind of slottable modification. It wouldn't be consumable. This goes against practically everything in the currently existing ammunition scripts that I've found.
But it's not usable? People who uses bows and arrows do it this way: Arrows are weapons, Bows are shield type... but if you want to keep Dual Wielding possible, it's a different matter... Maybe just use the script for placing Runes on equipments instead? and make ammunitions as runes
Just add more equipment slots, labeled ammo, that will be disabled if the weapon does not support ammunition.
Try this:


http://grimoirecastle.wordpress.com/rgss3-scripts/gameplay-scripts/asagis-gun-license/
As I said in my original post, it has to not take up the shield slot, or consume the ammo items (although that could be an option in the script). Despite that, that's a very good script.

But it's not usable? People who uses bows and arrows do it this way: Arrows are weapons, Bows are shield type... but if you want to keep Dual Wielding possible, it's a different matter... Maybe just use the script for placing Runes on equipments instead? and make ammunitions as runes
This is a lot closer to what I had in mind. However, the functionality I'm ideally looking for is a bit more complex than this.

I'd intended it to be possible to rig up a weapon with a "requires ammo to be slotted" or "doesn't require ammo to be slotted" requirement that can be set individually on the ammo slots.

An ammo slot could also be tied to a specific weapon granted skill or skills. For example, ammo being tied to the gunfire mode of a gunblade, with the regular attack use being ammoless for the blade.

A weapon could also be set up with several ammo slots, such as one that has a slot tied to the weapon itself and one tied to a special skill it grants on equip.

I'm worried that this is too complex for the script requests section.
The script I post actually you can select a different slot or you can make one when combine with yanfly ace equip engine script.


If you want a slot to open or close when a weapon is equip, you should use yanfly ace equip engine script.
The script I post actually you can select a different slot or you can make one when combine with yanfly ace equip engine script.

If you want a slot to open or close when a weapon is equip, you should use yanfly ace equip engine script.
Ah, okay.

I think I'll try out each of the scripts suggested in a test project. See how they work.

However, there's still the matter of non-finite ammo (depending on the script), and making an ammo slot which modifies a weapon skill instead of the weapon itself.
for infinite ammo, I think you'll need someone to modify kread-ex's so it will detect but does not use ammo.


If you use the above, the ammo are weapons they should have traits that would add skills while equipped.


edit:


maybe you really just need yanfly ace equip engine.


work around:


1. make slots for ammo.


2. make weapon that control slots.


3. make equip for those slots with the skills you want.
The simplest method would be to have each weapon/ammo combination be a different weapon.

This could be done completely transparently to the user: if the descriptions don't change, the player will think it's still the same weapon, just with new ammo installed. Xenosaga had a weapon that functioned similarly to what you are describing.

In the game method where you change ammo, change the weapon based on the ammo the player selects: you could either put in code in the equip methods, or add a method for selecting ammo that gives player choices based on what's in their inventory, and then swaps out the weapons accordingly. No off-hand worries, no problems with dual-wielding. Life is Good.
The simplest method would be to have each weapon/ammo combination be a different weapon.

This could be done completely transparently to the user: if the descriptions don't change, the player will think it's still the same weapon, just with new ammo installed. Xenosaga had a weapon that functioned similarly to what you are describing.

In the game method where you change ammo, change the weapon based on the ammo the player selects: you could either put in code in the equip methods, or add a method for selecting ammo that gives player choices based on what's in their inventory, and then swaps out the weapons accordingly. No off-hand worries, no problems with dual-wielding. Life is Good.
That's one way to make ammo work, although it might not work that well in my games due to the sheer variety of weapons there will be before taking that into consideration. The amount of variants for each ammo type needed would be immense. It might even go over the 999 limit.

Additionally, the projects I'm working on which would use an ammo system will also be including weapons which do not use ammo.

From what I've found, I think the Runic Enchantment script would be the closest match to what I was intending (ammo and otherwise), but it still lacks some of the intended functionality, which Asagi's Gun License has. I wonder if there's a way to combine the functionality of Runic Enchantment and Asagi's Gun License? For example, using AGL with disabled ammo consumption, with the ammo slots tied to certain weapon-specific RE slots.

This may require either some extensive modding, or a commission if Kread ever opens them again. Would anyone be able to help with this?
Still not resolved, but I'm not quite sure how to get it resolved at this point.
here, try the one in my attachment.

ammo.rar
here, try the one in my attachment.
Nice work! I can see how you did that.

However, it wouldn't quite work for my projects unless I'm willing to sacrifice a lot. It would definitely be very useful for other projects, though!

Original thread: https://forums.rpgmakerweb.com/threads/a-different-take-on-ammunition.25179/