AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
None of my characters use TP and only one of them uses MP. I want to remove them from the menu. I keep seeing things saying to get skill core from yanfly and to add <Swap Gauge 2: null> / <Swap Gauge 3: null> note tags to my characters. They don't work though, what should I do?
 

Rodak

Dang Hippy
Veteran
Joined
Dec 28, 2015
Messages
134
Reaction score
80
First Language
Math
Primarily Uses
RMMZ
In the Database, under "System" find "Options" and uncheck the "Show TP" bit.
Can't help with MP but if nobody uses TP, this disables it globally.

Hope that helps.
 

Attachments

  • mv.png
    mv.png
    74.1 KB · Views: 6

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
In the Database, under "System" find "Options" and uncheck the "Show TP" bit.
Can't help with MP but if nobody uses TP, this disables it globally.

Hope that helps.
This actually doesn't help, this disables it in battle, not outside of battle.
 

Rodak

Dang Hippy
Veteran
Joined
Dec 28, 2015
Messages
134
Reaction score
80
First Language
Math
Primarily Uses
RMMZ
This actually doesn't help, this disables it in battle, not outside of battle.
Oops.

Sorry, I kind of thought it would do both. Hopefully someone better than I am at this will come along soon with an answer that actually works.

Good luck.
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
286
Reaction score
81
First Language
English
Primarily Uses
RMMV
You can remove it by editing the windows.js in your project files. If you can’t find the code to edit, I can help you later tonight.
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
You can remove it by editing the windows.js in your project files. If you can’t find the code to edit, I can help you later tonight.
ok that'd be cool. I've heard solutions like that, but does that not disable it for all characters? I specifically have only 1 character that uses MP, so I'm trying to see if I can disable it for all but one character.
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
286
Reaction score
81
First Language
English
Primarily Uses
RMMV
This should do the trick.
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
This should do the trick.
this is exactly what I was doing, but I found out I was putting the tags in the actor notes and not the class notes like I was supposed to. Wish it had specified.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,474
Reaction score
14,817
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.

 

WaCrex

Villager
Member
Joined
Apr 28, 2020
Messages
6
Reaction score
1
First Language
Swedish
Primarily Uses
RMMV
You could create a new .js file in the plugin folder, copy-past this inside and load it as a plugin:

For MV:
JavaScript:
Window_MenuStatus.prototype.drawActorSimpleStatus = function(actor, x, y, width) {
    var lineHeight = this.lineHeight();
    var x2 = x + 180;
    var width2 = Math.min(200, width - 180 - this.textPadding());
    this.drawActorName(actor, x, y);
    this.drawActorLevel(actor, x, y + lineHeight * 1);
    this.drawActorIcons(actor, x, y + lineHeight * 2);
    this.drawActorClass(actor, x2, y);
    this.drawActorHp(actor, x2, y + lineHeight * 1, width2);
    //this.drawActorMp(actor, x2, y + lineHeight * 2, width2);
};

Scene_Menu uses Window_MenuStatus which in turn uses the inherited function drawActorSimpleStatus from Window_Base to display actor status on the menu.

This code will override Window_MenuStatus's copy of drawActorSimpleStatus, allowing us to comment out (hide) any part we don't want with an "//". Also if you comment something out and end up with an empty space, you can adjust the multiplier on lineHeight to fill the gap.

(For anyone who reads this) Notice that the script above will only work with MV as things are a bit different with MZ.

For MZ:
JavaScript:
Window_MenuStatus.prototype.drawActorSimpleStatus = function(actor, x, y) {
    const lineHeight = this.lineHeight();
    const x2 = x + 180;
    this.drawActorName(actor, x, y);
    this.drawActorLevel(actor, x, y + lineHeight * 1);
    this.drawActorIcons(actor, x, y + lineHeight * 2);
    this.drawActorClass(actor, x2, y);
    this.placeBasicGauges(actor, x2, y + lineHeight);
};

Window_MenuStatus.prototype.placeBasicGauges = function(actor, x, y) {
    this.placeGauge(actor, "hp", x, y);
    //this.placeGauge(actor, "mp", x, y + this.gaugeLineHeight());
    //if ($dataSystem.optDisplayTp) {
    //    this.placeGauge(actor, "tp", x, y + this.gaugeLineHeight() * 2);
    //}
};

Notice that TP can be hidden from System settings, however I've here commented it out entirely.
 

Latest Threads

Latest Profile Posts

Whew, just finished a whirlwind of deadlines. Finally a tiny break. You know...I should go update my 2020 banner now.
image_2021-06-16_153010.png

Why are barrels to difficult? xD I feel like i Barrel...y made it....eh EHHH!? :p
Bluh... glad this present heatwave is coming to a close...
Look what I found, it was my first ABS.

This project was never completed because I had lost the computer where it was stored.
Character Creator for RPGM 2000, VX, XP, & LPC Style Sprites | RPG Maker News #72

Forum statistics

Threads
112,277
Messages
1,067,029
Members
145,899
Latest member
noor123
Top