I apologize if this is not posted in the right place. I am new here. So we are making a game using RPG Maker and we want to use standard RPG parameters like Strength, Intelligence, Spirit, Dexterity and stats like that to determine Max HP, Max MP, Attack and all the base parameters that RPG Maker already defines. What kind of script can we write or can someone point us in the right direction or help us with a script to do this for us. So basically, we want Vitality to determine Max HP, but we also want it to factor into Defense. Intelligence would determine Magic Attack and Magic Defense, and Dexterity would affect Agility and Hit and things like that, and so on and so forth. My script writer, who is still learning Ruby, looked at N.A.S.T.Y's script and was unsure how to adapt it to add the calculations he was looking for. Any help is greatly appreciated.
Scripting
JS Plugin RequestsI've moved this thread to RGSS3 Script Request. Please be sure to post your threads in the correct forum next time. Thank you.
I've moved this to Ace script request despite you listing MV as your primary maker, because you're talking about your script writer learning Ruby - which is the script language used by RMXP to RMVXA. RMMV uses javascript and NOT a ruby-based language.
If that is wrong, please report this topic to be moved to plugin requests.
I've moved this to Ace script request despite you listing MV as your primary maker, because you're talking about your script writer learning Ruby - which is the script language used by RMXP to RMVXA. RMMV uses javascript and NOT a ruby-based language.
If that is wrong, please report this topic to be moved to plugin requests.
Okay, then yes, we are building the game using MV and he was learning Ruby in case the script could be used as is and could be adapted. If it is purely java script, then we just need help in re-writing or understanding how this would function inside MV to use it as it is a solid and powerful script for what we want.
To determine how the stats effect your skill and damage, it can be fully controlled in your battle formula, this should work for all RM series, no script needed.
Well, so what I want to do, is instead of using the existing stats to determine our curve and affect our calculations for damage, I want common RPG stats like Strength, Dexterity, Vitality and such to be what determines Max HP, Max MP, and all of that. I want to have the game use these stats that I set up algorithms to have the game determine them, and then a separate set that take your vitality and use a algoritm to determine max hp, and int to determine magic attack and magic defense, rather than directly changing and using the base parameters given. I apologize if this is a bit round about, but this way, I can build my class change system to have true diversity, and it saves me from having to rebalance things individually, it's just a simple change in an algorithm.
I've moved this thread to Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Thank you. I apologize for the confusion.
So I've been doing more research, and I think I found a plugin that does some of what I want. Bobstah's custom stats script allows us to define custom stats, but we have no way to display them in the status menu so we can see if they are calculating. We also have no way to use these new stats to calculate the base attributes already supplied by RPG Maker. So in essence, we are in need of a script that allows us to calculate the base parameters defined by RPG Maker's core to be calculated using our stat formula that uses these stats.
For example:
Strength. Strength is determined by the following formula. Str = level / 3.5 + 10. This formula is adjusted based on class and the desired attributes. So once strength is defined, we use this to determine Attack. Attack = Str + Weapon Damage * 2. Str can also play a little bit into Defense as well. But that is what we are looking to be able to do.
For example:
Strength. Strength is determined by the following formula. Str = level / 3.5 + 10. This formula is adjusted based on class and the desired attributes. So once strength is defined, we use this to determine Attack. Attack = Str + Weapon Damage * 2. Str can also play a little bit into Defense as well. But that is what we are looking to be able to do.
Original thread: https://forums.rpgmakerweb.com/threads/scripting.58993/