Removing Character Level from Menues

Matseb2611

Innovate, don't emulate
Veteran
Joined
Oct 15, 2012
Messages
4,568
Reaction score
6,389
First Language
English
Primarily Uses
RMMV
Hi. I'm trying to find a way to remove character level from the menues since my game doesn't use them. I managed to use a main menu plugin (Galv's Bust Menu) where I hid the level from the main menu, but it's still remaining in the Skills menu.

Is there a way to remove it, perhaps via a small plugin snippet? I don't see a point in using some grand plugin to have an overhaul of the entire Skills menu when I only need to get rid of the character level that's still being shown. I would guess it must be something pretty simple. Any tips?

Thanks for any help. :)
 

CleanWater

Independent Developer
Veteran
Joined
Apr 8, 2017
Messages
637
Reaction score
739
First Language
PT-BR
Primarily Uses
Other
You will need to search in the scripts for the part where it is responsible for showing the levels in the screens, then manually delete this piece of code. I don't own MV, so I can't help much with this.

Just be careful to not delete the wrong piece of code, or something that is linked to another thing later that might cause crashes.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Don't delete it. Just put return as the first command :)

In my version of MV, it's Window_Base.prototype.drawActorLevel, on line 516 of rpg_windows.js

Code:
Window_Base.prototype.drawActorLevel = function(actor, x, y) {
    return; // <--- this is the inserted line
    this.changeTextColor(this.systemColor());
    this.drawText(TextManager.levelA, x, y, 48);
    this.resetTextColor();
    this.drawText(actor.level, x + 84, y, 36, 'right');
};
This might leave a gap in your menus, so if you need to close that up, you'll need to find all the places that call this method and adjust the positioning of the following elements to cater for the level being removed.
 

lilcooldude69

Veteran
Veteran
Joined
Mar 18, 2012
Messages
33
Reaction score
4
First Language
English
Primarily Uses
yeah never delete from the rtp js. comment out and replace or add.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Or rewrite it as a plugin.
 

Matseb2611

Innovate, don't emulate
Veteran
Joined
Oct 15, 2012
Messages
4,568
Reaction score
6,389
First Language
English
Primarily Uses
RMMV
Thank you all very much. I'll give that a try.
One more question. What's the best program to use in order to make edits to the js files?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
any text editor will do. Notepad++. I use Sublime Text.
 

Matseb2611

Innovate, don't emulate
Veteran
Joined
Oct 15, 2012
Messages
4,568
Reaction score
6,389
First Language
English
Primarily Uses
RMMV
Great, thanks! That worked.
Well, not initially, so I figured one of the plugins must be overwriting the original bit of code for the character level, so I copied the whole section with the 'return' line as a separate plugin file and inserted it at the very end of the plugin list, and that did it (in case anyone else is getting the same problem). :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top