- Joined
- Jan 10, 2017
- Messages
- 8
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Hi I'm Dhakurs,
I am fairly new to the community so if I make any mistakes let me know and I will try to learn from/fix them.
--Back Story of Problem--
I have started working on a project that will need 8-10 custom parameters for the main actor. In my search to accomplish this I found Bobstah's Custom Stats Plugin and was ecstatic. I then through note tags provided with Bobstah's plugin added my new parameters to the default classes for testing purposes. Everything worked well. Then I introduced Yanfly's Parameter Formula scripts so that my new parameters could effect the default parameters. This also worked well. Then since I wanted the player to be able to freely change class I added Yanfly's Class Core to the mix, and found things did not work as well as I had thought. When looking at the parameter changes for switching from one class to another all parameters calculated using the new parameters are displayed as NaN (Example: MaxHP: 450 -> NaN). Once the class change is carried out the calculated values are correct and display properly in the status window, but they never show up correctly in the class change scene. I traced through the various plugins and with the help of the debug console, I have determined that the most-likely culprit is the way that Bobstah's plugin adds the new parameters to the actor/class. The only solutions to this that I have been able to come up with is to either write a new plugin that extends the parameter array(Possibly do-able, see Questions), modify Yanfly's scripts to handle Bobstah's custom parameters(No idea how I would do this), or find some other better options(see Questions).
--The Questions--
-Does anyone know of a way to make Bobstah's plugin and Yanfly's plugins work together?
See Back Story for details.
-Does anyone know where/how the parameters are declared?
I've combed through the rpg_objects as that seemed most likely location and found all the functions that reference the parameter array, but I have not been able to locate the array itself.
-Does anyone know of an easier/better way to add custom parameters to rmmv that will play well with Yanfly's scripts?
End goal is to have attributes such as str,con,int,etc... that are factored into the calculations for mhp,mmp,atk,etc...
Scripts being used:
Bobstah's CustomStats - https://forums.rpgmakerweb.com/index.php?threads/bobstahs-custom-stats-1-3-2.48551/
Yanfly's Parameter Formulas - http://yanfly.moe/2016/03/25/yep-86-base-parameter-control/
Yanfly's Class Change - http://yanfly.moe/2015/11/27/yep-32-class-change-core/
I am fairly new to the community so if I make any mistakes let me know and I will try to learn from/fix them.
--Back Story of Problem--
I have started working on a project that will need 8-10 custom parameters for the main actor. In my search to accomplish this I found Bobstah's Custom Stats Plugin and was ecstatic. I then through note tags provided with Bobstah's plugin added my new parameters to the default classes for testing purposes. Everything worked well. Then I introduced Yanfly's Parameter Formula scripts so that my new parameters could effect the default parameters. This also worked well. Then since I wanted the player to be able to freely change class I added Yanfly's Class Core to the mix, and found things did not work as well as I had thought. When looking at the parameter changes for switching from one class to another all parameters calculated using the new parameters are displayed as NaN (Example: MaxHP: 450 -> NaN). Once the class change is carried out the calculated values are correct and display properly in the status window, but they never show up correctly in the class change scene. I traced through the various plugins and with the help of the debug console, I have determined that the most-likely culprit is the way that Bobstah's plugin adds the new parameters to the actor/class. The only solutions to this that I have been able to come up with is to either write a new plugin that extends the parameter array(Possibly do-able, see Questions), modify Yanfly's scripts to handle Bobstah's custom parameters(No idea how I would do this), or find some other better options(see Questions).
--The Questions--
-Does anyone know of a way to make Bobstah's plugin and Yanfly's plugins work together?
See Back Story for details.
-Does anyone know where/how the parameters are declared?
I've combed through the rpg_objects as that seemed most likely location and found all the functions that reference the parameter array, but I have not been able to locate the array itself.
-Does anyone know of an easier/better way to add custom parameters to rmmv that will play well with Yanfly's scripts?
End goal is to have attributes such as str,con,int,etc... that are factored into the calculations for mhp,mmp,atk,etc...
Scripts being used:
Bobstah's CustomStats - https://forums.rpgmakerweb.com/index.php?threads/bobstahs-custom-stats-1-3-2.48551/
Yanfly's Parameter Formulas - http://yanfly.moe/2016/03/25/yep-86-base-parameter-control/
Yanfly's Class Change - http://yanfly.moe/2015/11/27/yep-32-class-change-core/
Last edited:


