Bullet/Clip Attack System

Greetings, Farrynhite here.

Normally, any firearm (or ranged weapon for that matter) in RPGMV do not require any ammunition to fire, allowing the player's units to attack every turn. I would like to control the player's attack ability by enforcing an ammunition limit (or more specifically, magazine capacity) on their character's ranged weapons.

Each weapon has three user-defined factors that can be applied via note tag: the Ammo Limit and the Fire Rate. Ammo Limit dictates how many bullets the weapon can hold at one time, the Fire Rate indicates how many bullets are expended after each regular attack, as well as affecting how many times that attack hits the target(s) and the Reload Time indicates how many turns the user is unable to act when using a skill that reloads their weapon. If and when the unit's weapon runs out of bullets, they are unable to attack until they reload (via skill or item).

The plugin should be able to synergize with Yanfly's Attachable Augment, Equip Battle Skills and Item Upgrade Slots plugins, as I would like the ammunition limit, fire rate or reload time to be influenced by what the player affixes and applies to their weapon (i.e. attaching an extended magazine increases the limit, while installing a match trigger increases fire rate, etc.)

Essentially, the note tags would look something like this:

<Ammo Limit: x>
<Fire Rate: x>
<Reload Time: x>
<Ammo Limit: +y>
<Fire Rate: +y>
<Reload Time: +y>
<Ammo Limit: -z>
<Fire Rate: -z>
<Reload Time: -z>
<Reloading Skill>

...with x, y and z being user-defined values. The Reloading Skill note tags are for skills that replenish the user's bullets and imposing a turn delay.

As the character wielding a firearm is using bullets to attack, the TP gauge should be replaced with the AMMO gauge to indicate the amount of ammunition left in that character's firearm. The color and the letters used for the gauge can be customized to the programmer's preferences.

The HUD would look something like this:

HUD Example.png

...and the red AMMO gauge will deplete as the user fires their weapon.

A couple of last notes: the plugin should allow the creation of skills that change a weapon's Fire Rate or Reload Time, and if a weapon's Fire Rate exceeds the amount of bullets remaining in a character's firearm, it should change to the number of bullets remaining (i.e. if Fire Rate is 5, but there are only 4 bullets left, Fire Rate = 4.).

If there are any additional details you would like me to provide, please do not hesitate to ask.
Bumping for attention.
So basically this plugin.
Or you can use TP with SRD TP Upgrade, and turn TP into Ammo.
So basically this plugin.
Or you can use TP with SRD TP Upgrade, and turn TP into Ammo.

The SRD TP plugin did not work, but the other one you sent me did.

Many thanks, my friend!
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/bullet-clip-attack-system.81574/