Hey folks, i sometimes end up lurking here, wondering what is going on and such. Right now i'm working on something myself but i'm not ready yet to show it to the public just yet. I'm requesting some assistance with something since i might have a hard enough time understanding what i'm supposed to do. Bare with me here.
Before i begin, i'm going to say that the project i'm working on is using Falcao Pearl ABS (Action Battle System) and not the turnbased system that RPG Maker VX Ace uses by default.
Alright, so for my game, The main character uses firearms as a means to defend herself. Prevously i was using max MP as the gun's capacity, so something like a AK47 would give her 31 MP or Bullets and in order to restore the spent MP you would have to reload using a skill that would restore 30 rounds, as long as you had the item in your inventory, such as the gun's magazine. Reloading would only take a second or two and would cast like a spell. However, as much as this system worked there was a few noticable flaws.
The main problem that I've yet to figure out with this methoid of Shooting and Reloading is how to have each weapon have their own MP pool which doesn't change when you unequip it/equip it later. Like, if you use up the ammo in your revolver which has 6 shots and your unable to reload it because you have back up ammo. You shouldn't be able to equip your Makarov, reload that (which has 12 rounds) and then change back to the revolver which suddenly has 6 shots again. As the same time, if you unequip your just reloaded Makarov to a melee weapon, suddenly your Makarov has lost that entire magazine when you equip it again.
Now, i was suggested to use variables, Store the ammo of each gun as a variable and as it's used it decreases it by 1 until you need to reload. Reloading would put it back to max and this would allow MP to be used for something like such as stamina. I don't know much about coding or using variables in such a fashion, i'm guessing you can use a common event for each weapon although i'm still not too sure about it. And that's where i require the help.
Now, yes. I am aware of Asagi's Gun Licence but i'm not sure if that would work with Falcao Pearl since i've not tested it yet with it. And from what i've seen so far of it, it doesnt have the magazine capacity system that i need. There's Bullpup Shooting Engine but... i can't understand any of it since it's all in brazilian, including the script.
Anyway, i hope you people can help me here. Thanks.
Before i begin, i'm going to say that the project i'm working on is using Falcao Pearl ABS (Action Battle System) and not the turnbased system that RPG Maker VX Ace uses by default.
Alright, so for my game, The main character uses firearms as a means to defend herself. Prevously i was using max MP as the gun's capacity, so something like a AK47 would give her 31 MP or Bullets and in order to restore the spent MP you would have to reload using a skill that would restore 30 rounds, as long as you had the item in your inventory, such as the gun's magazine. Reloading would only take a second or two and would cast like a spell. However, as much as this system worked there was a few noticable flaws.
The main problem that I've yet to figure out with this methoid of Shooting and Reloading is how to have each weapon have their own MP pool which doesn't change when you unequip it/equip it later. Like, if you use up the ammo in your revolver which has 6 shots and your unable to reload it because you have back up ammo. You shouldn't be able to equip your Makarov, reload that (which has 12 rounds) and then change back to the revolver which suddenly has 6 shots again. As the same time, if you unequip your just reloaded Makarov to a melee weapon, suddenly your Makarov has lost that entire magazine when you equip it again.
Now, i was suggested to use variables, Store the ammo of each gun as a variable and as it's used it decreases it by 1 until you need to reload. Reloading would put it back to max and this would allow MP to be used for something like such as stamina. I don't know much about coding or using variables in such a fashion, i'm guessing you can use a common event for each weapon although i'm still not too sure about it. And that's where i require the help.
Now, yes. I am aware of Asagi's Gun Licence but i'm not sure if that would work with Falcao Pearl since i've not tested it yet with it. And from what i've seen so far of it, it doesnt have the magazine capacity system that i need. There's Bullpup Shooting Engine but... i can't understand any of it since it's all in brazilian, including the script.
Anyway, i hope you people can help me here. Thanks.