Hiding MP Bars in Menu?
JS Plugin RequestsI think you can add as a plugin this :
(function(){Scene_Menu,prototype.drawActorMp = function(actor, x, y, width){}})();Are you sure you want to disable MP bars from menu completely?Do you want to disable them everywhere completely or you want to partially disable them in menu?
(function(){Scene_Menu,prototype.drawActorMp = function(actor, x, y, width){}})();Are you sure you want to disable MP bars from menu completely?Do you want to disable them everywhere completely or you want to partially disable them in menu?
I wanted to remove them from specific actors in the menu completely, sorry if I was a little vague before 😛
Then try inserting this as plugin :
(function(){
var _kocka_random_alias_drawActorMp_fE3j8a5M = Scene_Menu.prototype.drawActorMp;
Scene_Menu.prototype.drawActorMp = function(actor, x, y, width)
{
if(actor.mmp === 0)return;
_kocka_random_alias_drawActorMp_fE3j8a5M.apply(this, arguments);
};
})();
And after that, set MMP for actors that you don't want MP to be shown to 0
(function(){
var _kocka_random_alias_drawActorMp_fE3j8a5M = Scene_Menu.prototype.drawActorMp;
Scene_Menu.prototype.drawActorMp = function(actor, x, y, width)
{
if(actor.mmp === 0)return;
_kocka_random_alias_drawActorMp_fE3j8a5M.apply(this, arguments);
};
})();
And after that, set MMP for actors that you don't want MP to be shown to 0
I've moved this thread to JS Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Sorry Shaz! I wasn't originally asking for a plugin though :3.
And Kocka, would I set the Class MMP to 0? Sorry if I'm being a bit pesky I don't understand some of the new RMMV and I don't understand Plugins at all so :/
And Kocka, would I set the Class MMP to 0? Sorry if I'm being a bit pesky I don't understand some of the new RMMV and I don't understand Plugins at all so :/
Well, I think you should....
Not sure either, I never changed MMP, but I think it's in Class parameters
Not sure either, I never changed MMP, but I think it's in Class parameters
Will this effect all scenes from the menu or just the main menu?
There is a way to remove entirely the MP(menu, svbs, other) and use only the TP?
Oops, I made a mistake above :
(function(){var _kocka_random_alias_drawActorMp_fE3j8a5M = Window_MenuActor.prototype.drawActorMp;Window_MenuActor.prototype.drawActorMp = function(actor, x, y, width){if(actor.mmp === 0)return;_kocka_random_alias_drawActorMp_fE3j8a5M.apply(this, arguments);};})();
@RogdagoR
There is
Insert this as a plugin.
(function(){var _kocka_random_alias_drawActorMp_fE3j8a5M = Window_MenuActor.prototype.drawActorMp;Window_MenuActor.prototype.drawActorMp = function(actor, x, y, width){if(actor.mmp === 0)return;_kocka_random_alias_drawActorMp_fE3j8a5M.apply(this, arguments);};})();
@RogdagoR
There is
Insert this as a plugin.
Code:
Window_Base.prototype.drawActorMp = function(actor, x, y, width){};
Thanks! But now how do i set up the interface for cover the empty space the MP bar left? For example move the TP bar over the MP place
Original thread: https://forums.rpgmakerweb.com/threads/hiding-mp-bars-in-menu.50466/
