Status
Not open for further replies.

Dogprincess

Villager
Member
Joined
Apr 24, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
You can remove the TP guage altogether from the system screen.  I don't use the TP.  (LOL)


Seriously, I am making a Dragon Quest type of game and want the classic feel in menus WITHOUT the gauges.  I've looked through some plugins and searched the web.  Does anyone here have a solution?


Thanks 8)
 
Joined
Jul 17, 2015
Messages
586
Reaction score
316
First Language
English
Primarily Uses
You'd have to edit the scripts, but it's fairly simple to do. Using a program like Notepad, go into your project's folder, go into the "js" folder, and open "rpg_windows". (You'll likely need to set it to show all files.)


Now search for "prototype.drawActorHp". There is a line that starts "this.drawGauge"; delete or comment out (put "//" at the beginning) that line. Then do the same for "prototype.drawActorMp" (it's just below drawActorHP). That should remove the gauges while leaving the numbers displayed.


Addendum: If you are using a plugin that affects the menu layout, you may have to remove the "this.drawGauge" in the plugin's scripting. But that's if doing it in the base scripts doesn't work.
 
Last edited by a moderator:

Dogprincess

Villager
Member
Joined
Apr 24, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Thank you soooooooo much!  :D
 

Dogprincess

Villager
Member
Joined
Apr 24, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Since you're here, one other little thing is the damage tile.  It's default is 10 damage.  I want to change it to 1.
 

Dogprincess

Villager
Member
Joined
Apr 24, 2014
Messages
11
Reaction score
0
First Language
English
Primarily Uses
You are wonderful!  Thanks for the help.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
I can't open the .js file. Can I still remove the HP and MP gauges? If not, does anyone recommend a program I could use to edit the .js file?
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
869
First Language
English
Primarily Uses
RMMV
I can't open the .js file. Can I still remove the HP and MP gauges? If not, does anyone recommend a program I could use to edit the .js file?



You should be able to right-click and 'Open With' normal old Notepad. Although I would suggest using Notepad++ for editing.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
@Exhydra Thank you! For some odd reason, when I just normally clicked on it, it said "Error: 'Window' is not defined, but now it works just fine.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
869
First Language
English
Primarily Uses
RMMV
@LittleLeoGamer The file was probably being parsed and run by JScript, a native javascript compiler in Windows. 
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
@Exhydra Now I have a different problem, and I'm wondering if you can help me fix it. Yes, the HP and MP gauges are gone, but the numbers (HP: 1/1, MP 0/0) still remain. What do I do?
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
869
First Language
English
Primarily Uses
RMMV
@LittleLeoGamer So, you're wanting to remove the HP and MP gauges, along with the text in the battle display, correct?
 
Last edited by a moderator:

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
@ExhydraWell, I'm not using the battle display, I want the text to be removed from the main screen.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
869
First Language
English
Primarily Uses
RMMV
@LittleLeoGamer Removing and/or commenting out anything in the core scripts as explained above is quick and easy, but may cause issues or incompatibilities down the road. I would highly suggest copying and pasting the following code into a '.js' document in your plugins directory (name it 'RemoveGauges' or whatever you want). Then add that to your project through the Plugin Manager. This will allow you to trouble shoot any issues later on by enabling or disabling the edit instead of having to remember which lines you changed in a huge script file.


Window_MenuStatus.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.drawActorIcons(actor, x, y + lineHeight * 2);
this.drawActorClass(actor, x2, y);
// Draw HP and MP functions
/* this.drawActorHp(actor, x2, y + lineHeight * 1, width2);
this.drawActorMp(actor, x2, y + lineHeight * 2, width2); */
};

Window_Status.prototype.drawBasicInfo = function(x, y) {
var lineHeight = this.lineHeight();
this.drawActorLevel(this._actor, x, y + lineHeight * 0);
this.drawActorIcons(this._actor, x, y + lineHeight * 1);
// Draw HP and MP functions
/* this.drawActorHp(this._actor, x, y + lineHeight * 2);
this.drawActorMp(this._actor, x, y + lineHeight * 3); */
};


Do this whenever you want to make an edit to the original code. It will save so much pain and headaches in the future.


EDIT: Changed the code somewhat from my original posting.
 
Last edited by a moderator:

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
@Exhydra Thank you for all of the help. I'm really lazy (XD), but I guess I'll do this to prevent problems. Thanks!
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
869
First Language
English
Primarily Uses
RMMV
@LittleLeoGamer I made a change to the original code I posted.


Yes, making the edit within the core files is quick and easy ... but believe me, taking the extra few minutes to copy and paste the code you want to change into a plugin file will save you headaches down the road.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
@Exhydra I did all of the scripts, and turned on the 'plugin', and it still has the numbers! Please help!
 
Last edited by a moderator:

BabyDonna

Warper
Member
Joined
May 19, 2020
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
i made a plugin with the above script and now it still shows 1 hp and 0 below?
 
Last edited:

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,945
Reaction score
4,860
First Language
EN, FR
Primarily Uses
RMMZ

@BabyDonna , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

TIL, TP means Tactical Points.
I think those extra pixels did it. ^_^ Now to work on the front and back views.
PlusTest-02.gif
What props/tiles are missing from this scene?

My team recruitment thread is finally online. Please, if you guys are interested in language learning, take a look. Even if you don't join, a word of encouragement is always welcome.
Rats! These Rats are pretty cute!

Forum statistics

Threads
116,470
Messages
1,098,914
Members
152,055
Latest member
KeinHexer
Top