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,336
Reaction score
8,073
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,336
Reaction score
8,073
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,336
Reaction score
8,073
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,336
Reaction score
8,073
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

currently working on some template sprites and tweaking the walk cycle :)
Lunee.jpg
Early try to draw our Demon Countess, who destroyed her own soul leaving just an empty shell of a body - until our heroine unwillingly takes possession of it, every time she falls asleep.
(I know it’s a premade face from the Dark Fantasy Set, but I spent so much time with her, that I can’t bring myself to change the sprite anymore xD)
I finished setting up my new desk and apparently she thinks this is where she goes now.

20210411_082331.jpg
not me baking a pie because i was inspired by celeste

Forum statistics

Threads
110,303
Messages
1,052,115
Members
143,335
Latest member
Garlock
Top