MZ Deactivate and hide leveling system - is it possible?

Hi there,

i am very new to the RPG Maker community, and also to Plugin related topics.

Here is what i am looking for: Instead of a regular leveling system, i would like to have a system comparable to the very old Game Boy game "Final Fantasy Legend". In this game, stats are simply being increased randomly after a successful battle. Writing the events for this is already done - but i would like to completely deactivate the original level system - no more XP, no more level ups. Skills are being learned in a different way as well.

I am wondering if there is any plugin that completely deactivates leveling in MZ. I have searched online, but this does not seem to be a common request. Could you please help me out?

Thanks and kind regards,
Kellerbiest
Well one thing you can do and this goes for any RPG Maker is in your troops make enemies drop no exp at all. It doesn't hide the exp bars but with no way to get exp it effectively disables the leveling system. I believe there is a script call to hide the exp bar, though I don't know it off hand. Hope this helps at least somewhat.
Hello there,

thank you very much for your suggestion - but i would like the game to look as professional as possible, so it would be cool to have something to make the leveling system completely invisible (levels are still visible in the menu, even if i dont give any XP).

If this is not possible, it is fine. I can still think of something else. 🙂

Thank you for your help! 🙂
Anything is possible with plugins - it just depends on how much work is required from a programmer.

in this case, you are asking for three different things - and most likely you'll need three plugins to do this.
1) hiding the level and XP values in the menues and screens - this would probably be easier if you give at least a mockup of what you want

2) stop the EXP rewards from battles - that can be done either by a plugin or probably easier by following the instructions above.

3) find a way for the rewards you want after battle - this can be done by events if you want it to happen in the background without special notifications. But if you want it on the battleaftermath screen, then you'll need a plugin for that.
I would assume the VisuStella Menu Manager plugin can as the MV version of it does give you the option through a plugin command or a script call type thing. The MZ version is supposed to have everything the older MV one does and some extra stuff on top.
What you're asking for isn't very hard, but somebody would need to know which plugins you're using in order to give you a solution.

For example, if you're using any plugins that alter the main/status menus, or a plugin that alters the post-victory messages, then the solution could be very different from if you were using the defaults.
@Alkmayix: Thanks for the recommendation! I will have a look at it! 🙂

@Andar: Thank you as well. Actually, only the 1st step is crucial for me. The other points are all manageable for me. 🙂 But regarding Point 3: Do you know if there already IS a plugin to change the information in the battle aftermath?

@Arthran: Right now, i am only using the official particle DLC plugins, so there should be nothing in conflict, correct?
Since there seem to be quite nice plugins to alter the menus, i would like to have a look at this too, though. 🙂


1659078947368.png
Right now, i am only using the official particle DLC plugins, so there should be nothing in conflict, correct?
Since there seem to be quite nice plugins to alter the menus, i would like to have a look at this too, though. 🙂
Copy this script and paste it into a new .js file, put it in your plugins folder, and add it to your project through the plugin manager:
JavaScript:
// Disable exp display after battle
BattleManager.displayExp = function() {};

// Disable exp gain after battle
BattleManager.gainExp = function() {};

// Remove level display on status windows
Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {};

// Remove exp info from status menu
Window_Status.prototype.drawExpInfo = function(x, y) {};

I think that will cover the things that you're asking for. It will stop you from gaining any exp from battles, and it will remove any references to exp or levels in the battle aftermath and in your menus. However, adding other plugins that affect the menus or victory aftermath can interfere with this plugin, so additional steps may be necessary if you add any such plugins in the future.
Thank you so much! I will try that out today! 🙂 It's awesome that you came up with this solution so quickly! 🙂

Edit: It worked like a charm! Thank you very, very much! =)
Copy this script and paste it into a new .js file, put it in your plugins folder, and add it to your project through the plugin manager:
JavaScript:
// Disable exp display after battle
BattleManager.displayExp = function() {};

// Disable exp gain after battle
BattleManager.gainExp = function() {};

// Remove level display on status windows
Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {};

// Remove exp info from status menu
Window_Status.prototype.drawExpInfo = function(x, y) {};

I think that will cover the things that you're asking for. It will stop you from gaining any exp from battles, and it will remove any references to exp or levels in the battle aftermath and in your menus. However, adding other plugins that affect the menus or victory aftermath can interfere with this plugin, so additional steps may be necessary if you add any such plugins in the future.
Is there a way for this script to remove the level display for specific actors
Is there a way for this script to remove the level display for specific actors
Yeah, that's doable. But do you only want to remove the level display (while still allowing the specific actors to gain exp behind the scenes)? Or, like the OP, do you want to prevent exp gain as well? If it's the latter, then this should work:
JavaScript:
(() => {
    const skipActorIds = [2, 4, 6]; // Edit this line to change which actors are skipped

    BattleManager.gainExp = function() {
        const exp = this._rewards.exp;
        for (const actor of $gameParty.allMembers()) {
            if (!skipActorIds.includes(actor.actorId())) {
                actor.gainExp(exp);
            }
        }
    };

    const _Window_StatusBase_drawActorLevel = Window_StatusBase.prototype.drawActorLevel;
    Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawActorLevel.call(this, actor, x, y);
        }
    };

    const _Window_StatusBase_drawExpInfo = Window_StatusBase.prototype.drawExpInfo;
    Window_Status.prototype.drawExpInfo = function(x, y) {
        const actor = this._actor;
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawExpInfo.call(this, x, y);
        }
    };
})();

As an example, I made it apply to actors 2, 4, and 6. However, you can change that by editing the skpActorIds array (at the very top) to contain the IDs of the actors that you want it to apply to.
Yeah, that's doable. But do you only want to remove the level display (while still allowing the specific actors to gain exp behind the scenes)? Or, like the OP, do you want to prevent exp gain as well? If it's the latter, then this should work:
JavaScript:
(() => {
    const skipActorIds = [2, 4, 6]; // Edit this line to change which actors are skipped

    BattleManager.gainExp = function() {
        const exp = this._rewards.exp;
        for (const actor of $gameParty.allMembers()) {
            if (!skipActorIds.includes(actor.actorId())) {
                actor.gainExp(exp);
            }
        }
    };

    const _Window_StatusBase_drawActorLevel = Window_StatusBase.prototype.drawActorLevel;
    Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawActorLevel.call(this, actor, x, y);
        }
    };

    const _Window_StatusBase_drawExpInfo = Window_StatusBase.prototype.drawExpInfo;
    Window_Status.prototype.drawExpInfo = function(x, y) {
        const actor = this._actor;
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawExpInfo.call(this, x, y);
        }
    };
})();

As an example, I made it apply to actors 2, 4, and 6. However, you can change that by editing the skpActorIds array (at the very top) to contain the IDs of the actors that you want it to apply to.
Yeah, that's doable. But do you only want to remove the level display (while still allowing the specific actors to gain exp behind the scenes)? Or, like the OP, do you want to prevent exp gain as well? If it's the latter, then this should work:
JavaScript:
(() => {
    const skipActorIds = [2, 4, 6]; // Edit this line to change which actors are skipped

    BattleManager.gainExp = function() {
        const exp = this._rewards.exp;
        for (const actor of $gameParty.allMembers()) {
            if (!skipActorIds.includes(actor.actorId())) {
                actor.gainExp(exp);
            }
        }
    };

    const _Window_StatusBase_drawActorLevel = Window_StatusBase.prototype.drawActorLevel;
    Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawActorLevel.call(this, actor, x, y);
        }
    };

    const _Window_StatusBase_drawExpInfo = Window_StatusBase.prototype.drawExpInfo;
    Window_Status.prototype.drawExpInfo = function(x, y) {
        const actor = this._actor;
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawExpInfo.call(this, x, y);
        }
    };
})();

As an example, I made it apply to actors 2, 4, and 6. However, you can change that by editing the skpActorIds array (at the very top) to contain the IDs of the actors that you want it to apply to.
The script works how I want it but if I have an actor in the party that isn't in skpActorIds array and I try to check on status of that actor I get this error
Oops, there was a typo. Try this:

JavaScript:
(() => {
    const skipActorIds = [2, 4, 6]; // Edit this line to change which actors are skipped

    BattleManager.gainExp = function() {
        const exp = this._rewards.exp;
        for (const actor of $gameParty.allMembers()) {
            if (!skipActorIds.includes(actor.actorId())) {
                actor.gainExp(exp);
            }
        }
    };

    const _Window_StatusBase_drawActorLevel = Window_StatusBase.prototype.drawActorLevel;
    Window_StatusBase.prototype.drawActorLevel = function(actor, x, y) {
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_StatusBase_drawActorLevel.call(this, actor, x, y);
        }
    };

    const _Window_Status_drawExpInfo = Window_Status.prototype.drawExpInfo;
    Window_Status.prototype.drawExpInfo = function(x, y) {
        const actor = this._actor;
        if (!skipActorIds.includes(actor.actorId())) {
            _Window_Status_drawExpInfo.call(this, x, y);
        }
    };
})();
Awesome, it works perfectly. Thanks

Original thread: https://forums.rpgmakerweb.com/threads/deactivate-and-hide-leveling-system-is-it-possible.149879/