How do you remove the Experience and Levels from the Status Menu?

Status
Not open for further replies.

firestalker

Veteran
Veteran
Joined
Nov 18, 2015
Messages
390
Reaction score
50
First Language
English
Primarily Uses
RMMV
Exactly how the title goes... How do you remove the level and experience from the Status Menu?
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ
This will require a plugin. I'm assuming you don't know how to code, so...

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

 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
How do you remove the level and experience from the Status Menu?
Overwrite "Window_Status.prototype.drawBlock2" & "Window_Status.prototype.drawBasicInfo"
See Last Post Below
status_noLevel.gif
 
Last edited:

firestalker

Veteran
Veteran
Joined
Nov 18, 2015
Messages
390
Reaction score
50
First Language
English
Primarily Uses
RMMV
@ct_bolt
Sorry, that didn't work. Maybe it'll help if I mention that I'm using YEP_StatusMenuCore?
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
@ct_bolt
Sorry, that didn't work. Maybe it'll help if I mention that I'm using YEP_StatusMenuCore?
Yep sure would have been helpful info. ;):headshake::blink::guffaw: #coderlife>_>
Anyways... *tada!* *poof*
Code:
//v0.00004 (...lol yup)

// Overwrite
Window_Status.prototype.drawBlock2 = function(y) {
    this.drawActorFace(this._actor, 12, y);
    this.drawBasicInfo(204, y);
  
    //this.drawExpInfo(456, y); // <=== This line is removed/commented out
};

// Overwrite
Window_Status.prototype.drawBasicInfo = function(x, y) {
    var lineHeight = this.lineHeight();
    this.drawActorIcons(this._actor, x, y + lineHeight * 1);
    this.drawActorHp(this._actor, x, y + lineHeight * 2);
    this.drawActorMp(this._actor, x, y + lineHeight * 3);
  
    //this.drawActorLevel(this._actor, x, y + lineHeight * 0); // <=== This line is removed/commented out
};

if (Imported.YEP_StatusMenuCore){
    // Overwrite
    Window_SkillStatus.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 line is removed/commented out
      
        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);
    };
  
    // Overwrite  
    Window_StatusInfo.prototype.drawGeneral = function() {
            var dx = this.standardPadding() / 2;
            var dy = this.lineHeight() / 2;
            var dw = (this.contents.width - this.standardPadding()) / 2;
            var dh = this.lineHeight();
            var text;
            this.changeTextColor(this.systemColor());
            this.drawText(Yanfly.Param.StatusParamText, dx, dy, dw, 'center');
            dx += this.contents.width / 2;
//            this.drawText(Yanfly.Param.StatusExpText, dx, dy, dw, 'center');
            this.drawGeneralParam(dx, dy, dw, dh);
//            this.drawGeneralExp(dx, dy, dw, dh);
    };
  
    // Overwrite
    Window_StatusInfo.prototype.drawGeneralParam = function() {
        var rect = new Rectangle();
        rect.width = (this.contents.width - this.standardPadding()) / 2;
        rect.y = this.lineHeight(); // <=== changed from "this.lineHeight() * 2;"
        rect.height = this.lineHeight();
        var dx = rect.x + this.textPadding();
        var dw = rect.width - this.textPadding() * 2;

        // *** Below Lines Removed/Commented Out ***
        //this.drawDarkRect(rect.x, rect.y, rect.width, rect.height);
        //this.changeTextColor(this.systemColor());
        //this.drawText(TextManager.level, dx, rect.y, dw, 'left');
        //this.changeTextColor(this.normalColor());
        //text = Yanfly.Util.toGroup(this._actor.level);
        //this.drawText(text, dx, rect.y, dw, 'right');
      
        for (var i = 0; i < 6; ++i) {
          if (i === 0) {
            rect.y += this.lineHeight();
            rect.width /= 2;
            dw = rect.width - this.textPadding() * 2;
          } else if (i % 2 === 0) {
            rect.x = 0;
            dx = rect.x + this.textPadding();
            rect.y += this.lineHeight();
          } else {
            rect.x += rect.width;
            dx += rect.width;
          }
          this.drawDarkRect(rect.x, rect.y, rect.width, rect.height);
          this.changeTextColor(this.systemColor());
            this.drawText(TextManager.param(i), dx, rect.y, dw, 'left');
            this.changeTextColor(this.normalColor());
            text = Yanfly.Util.toGroup(this._actor.param(i));
            this.drawText(text, dx, rect.y, dw, 'right');
        }
    };
}
1581557691229.png
1581555636303.png
 

Attachments

Last edited:

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ
@firestalker Please start your thread with all the plugins you are using that might affect your request next time. Since this is a modification of a Yanfly plugin, I'll have to move back the thread.

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

 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
bahahahahaha sure why not...
...but lmao why didn't you just ask "How to remove level/exp display from menu & status?"

*poof!* *tada*
1581560026646.png
1581560243923.png
1581561045115.png
 

Attachments

Last edited:

firestalker

Veteran
Veteran
Joined
Nov 18, 2015
Messages
390
Reaction score
50
First Language
English
Primarily Uses
RMMV
I'm no coder so I thought it was a simple thing of just removing a line of code or something.... Sorry... I'll try to be better in the future

Thank you for helping me... It works great so far
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
I'm no coder so I thought it was a simple thing of just removing a line of code or something.... Sorry... I'll try to be better in the future

Thank you for helping me... It works great so far
oh no worries, no prob. Glad it's working nicely as needed now :)

Happy Game Making! :)
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
@firestalker If this has fully resolved your query, please Report your post and ask for the thread to be closed.

@ct_bolt Unless there are exceptional circumstances, only the OP can ask for the thread to be closed.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,867
Reaction score
5,240
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top