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. :)
Removing Character Level from Menues
● ARCHIVED · READ-ONLY
-
-
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. -
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. -
yeah never delete from the rtp js. comment out and replace or add.
-
Or rewrite it as a plugin.
-
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? -
any text editor will do. Notepad++. I use Sublime Text.
-
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). :)