Delete class name above HP in menus

Is there a line somewhere I could delete to remove the class name?


9cb80c8ad1.png



In this example, I want the "Heal" Above HP to be removed because it overlap with character names when they are too long.
There is a solution simple but confusing for you and a solution that needs outside help.


In the simple one you just set the classes to have no name, and you'll have to deal with them by numbers while doing the game.


In the more complicated solution, you'll need a plugin made for this.
i am not sure the normal way will fix it.


but i think you need to give us the plugin you used for this menu 
I cant put a noclass name because as you can see, l use the name to put the name of the skill on the top left corner


This is all the Yanfly's menus which should use the default methods to write the class name there.
But Skill Type names and Class names are separated... At least usually, you can have an empty class name and a Heal Skill Type...


Exactly what menus that show class you use plugins for, and which ones do you want/do not want changed? I'd need a look to make this properly, but...


The default method:


Make a new .js file in your plugins folder with this text inside. Again, this is the default method, so if you are wrong about your menus using it then you'll need to adapt it for them...

Code:
Window_Base.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);
};
But Skill Type names and Class names are separated... At least usually, you can have an empty class name and a Heal Skill Type...


I'll take a look at the default plugin.

Thats because l use skill learn system to make it so classes are my skills
Well, I editted my last post with a quick edit to the default method. Check it out.
Yeah, it did work but all other things that are edited also changed to default


bebb4133b5.png



I guess I could just edit out the class in the main .js and it'll work out right?


No, I think l will have to edit it in all the Yanfly menu plugins.


Searched through all Yanfly skills while searching for this.drawActorClass without success.


Well, I guess ill need a plugin for that, thanks for the help.
That's because apparently the plugins also changed the default method...
I was afraid of that. Unfortunately in this case I have no idea where Yanfly changed it, so I have to look at every one of the plugins' equivalent of drawActorSimpleStatus to see where it changes...
That's because apparently the plugins also changed the default method...
I was afraid of that. Unfortunately in this case I have no idea where Yanfly changed it, so I have to look at every one of the plugins' equivalent of drawActorSimpleStatus to see where it changes...

I'll try finding that with all of his plugins if it's what it takes.


Thanks for the help.

Original thread: https://forums.rpgmakerweb.com/threads/delete-class-name-above-hp-in-menus.69424/