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
136
Reaction score
82
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
136
Reaction score
82
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
289
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
289
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,529
Reaction score
14,848
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 Posts

Latest Profile Posts

Ami
trying to change my picture & got screwed up...
I've been busy working on my next music pack, and I've also been busy composing some personal compositions. Depending on the type of mood and setting, sometimes I just really love the sound of music created in lofi mono. It has its charm.
Haven't used this website in so long, hope everyone here have a good day! Lately I've been crafting a dnd world, so I haven't got the time to use RPG maker sadly enough.
New MZ Update! Subfolders for Assets, Search in Plugin Help, Map Layer Buttons | RPG Maker News #78

A little WIP I decided to drop for something coming in 10-12 hours!
9.PNG

Forum statistics

Threads
112,482
Messages
1,068,578
Members
146,149
Latest member
GlacierStangs
Top