Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
YEP Status Menu Core: http://yanfly.moe/2015/12/04/yep-37-status-menu-core/

Hey, I'm using Yanfly's StatusMenuCore right now and wanted to remove the Magic Atk and Magic Def parameters from my game as I'm not using them. They still show up in my status menu and I can't figure out how to use the plugin to hide them (or even if I can) does anyone know how?
 

Leon Kennedy

Restaff Novice
Restaff
Joined
Aug 14, 2016
Messages
613
Reaction score
470
First Language
english
Primarily Uses
RMMV
Well heres how you do it on the rtp script.

Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
var paramsToDraw = [2, 3, 6]; // This would draw just ATK, DEF, AGI for example
for (var i = 0; i < paramsToDraw.length; i++) {
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramsToDraw), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramsToDraw), x + 160, y2, 60, 'right');
}
};

0 --> Max HP (MHP)
1 --> Max MP (MMP)
2 --> Attack (ATK)
3 --> Defense (DEF)
4 --> Magic Attack (MAT)
5 --> Magic Defense (MDF)
6 --> Agility (AGI)
7 --> Luck (LUK)


Not sure if it will mess with your other plugins though. Worth a try.
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
Thank you, but i haven't applied scripts directly to MV yet (only to VX Ace), how do I apply this?
 

Leon Kennedy

Restaff Novice
Restaff
Joined
Aug 14, 2016
Messages
613
Reaction score
470
First Language
english
Primarily Uses
RMMV
You copy the script to notepad++ name it whatever and add to your standard js plugins part and then turn it on in the engine plugin manager. It will override the rtp script.
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
Ah no dice :/ I tried it but the stats still show up
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
All the relevant plugins that may interfere are yanfly ones, but really just CoreEngine and StatusMenuCore
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,327
Reaction score
8,072
First Language
German
Primarily Uses
RMMV
Ah no dice :/ I tried it but the stats still show up
That us because he gave you the method to remove them from the default screens, but yanfly made his own screens.
you'll need to have the code adapted for yanfly's plugin, and for that you need to give links to the websites of all the plugins involved, and preferably a screenshot of your plugin manager so that we can check what else on your plugins might interfere.

[dpost]Thordon123[/dpost]
If you have to add something and your own post is the last one, please edit it next time.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,327
Reaction score
8,072
First Language
German
Primarily Uses
RMMV
Not sure which could be interfering
everything, because your yanfly plugins are in the wrong order.

Oh, not in this specific case, but we can almost guarantee you later crashes and strange behaviour if you do not reorder the yanfly plugins into exactly the order given on his website. That is because plugins overwrite engine functions in the order they're placed in the plugin manager, and the wrong order means that some redirects in yanflys plugins will not work correctly.
and you need to start a new game after that, because such a reorder will make older savefiles incompatible.
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
I ordered the plugins and received this error message. It also happened when I moved the parameters plug-in to the top of the list
 

Attachments

  • Screenshot (14).png
    Screenshot (14).png
    375.9 KB · Views: 10
  • Screenshot (13).png
    Screenshot (13).png
    679.7 KB · Views: 9
  • Screenshot (12).png
    Screenshot (12).png
    655.2 KB · Views: 8

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,327
Reaction score
8,072
First Language
German
Primarily Uses
RMMV
did you save the project correctly and start a new game on the game's title screen after that?
parameters.js has nothing to do with the plugins themselves, it is automatically written to contain the configuration set in the plugin manager.
If it can't be loaded that usually means that there was a problem saving the data from the plugin manager.
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
I did save it and then started a new game again, but it still hasn't worked, unfortunately. I don't get the error message but it continues to display the parameters I was trying to get rid of.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,327
Reaction score
8,072
First Language
German
Primarily Uses
RMMV
of course it still displays the parameters. I told you that that reorder was to prevent other future problems and not to remove the parameters, you still need another plugin modification to remove the parameters from yanfly's status screen.
 

Thordon123

Veteran
Veteran
Joined
Feb 4, 2018
Messages
52
Reaction score
6
First Language
English
Primarily Uses
RMMV
EDIT: The problem was fixed, this thread can be closed.

Thanks Aloe, and Andar as I don't know how to make that plug-in modification myself I'll post another thread later asking for help with it.

PS: Also, Aloe, I'm using your notepad plugin and it works like a charm!

PSS: So did the equip plug-in you linked to, so thanks again!
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Raptor Revolt Demo 4_10_2021 3_12_09 PM.png

Latest custom tileset work for RAPTOR REVOLT in this beach scene set in the acheroraptor capital in Ridge City, Hell Creek.
unknown.png


I figured it was about time to update the battle sprite for one of my characters. The old one was the first time I ever drew a battle sprite, and filled with lines that shouldn't be there. So far, the new one is cleaner.
EQAQeW8.png

This was supposed to become her neutral talking stance, but now i just feel like she looks a little puzzled :D
I'm also open for any name suggestions, as i seriously suck at those. In my notes everything is just THE CITY or THAT GUY and THIS PRIESTESS or whatever :D
Nearing completion of the first major city of Albert, a vacation getaway city built a long time ago by a king who really didn't want to be invaded.
It’s definitely a great day to fit in some time for me to play no mans sky on PS4

Forum statistics

Threads
110,280
Messages
1,051,938
Members
143,299
Latest member
L_Aede_Aveugle
Top