TP Gauge - Remove 'TP' value from battle screen

ViviCJ

Prince of Parties
Member
Joined
Jun 4, 2016
Messages
29
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hello!


So as many others are, I am creating a TP limit break system but I can't get rid of the value that shows on the TP gauge.


I want to keep the gauge BUT i don't want to show the value next to it. I have tried going into the rpg_window.js file but to no avail!


If anyone can please tell me how to get rid of that scurvy number on my TP gauge, please do get intouch below!


Thank you!

printscreen.jpg
 

oktchau

Veteran
Veteran
Joined
Jan 4, 2016
Messages
52
Reaction score
6
First Language
Portuguese
Primarily Uses
On rpg_windows.js look for this section around line 573:
 


Window_Base.prototype.drawActorTp = function(actor, x, y, width) {
    width = width || 96;
    var color1 = this.tpGaugeColor1();
    var color2 = this.tpGaugeColor2();
    this.drawGauge(x, y, width, actor.tpRate(), color1, color2);
    this.changeTextColor(this.systemColor());
    this.drawText(TextManager.tpA, x, y, 44);
    this.changeTextColor(this.tpColor(actor));
    this.drawText(actor.tp, x + width - 64, y, 64, 'right');
};


And try to comment out the drawText parts.
 

ViviCJ

Prince of Parties
Member
Joined
Jun 4, 2016
Messages
29
Reaction score
2
First Language
English
Primarily Uses
RMMV
Thank you Oktchau!


So this works BUT I obviously have another plugin that isn't letting this work.


I found that the Yanfly Core Plugin has the same coding which replicates the TP hence it still showing!


The only thing I need to do now is hide the TP cost when the limit break is present...


Any ideas?!


Thanks so much!
 
Last edited by a moderator:

ViviCJ

Prince of Parties
Member
Joined
Jun 4, 2016
Messages
29
Reaction score
2
First Language
English
Primarily Uses
RMMV
Do not fear! I have done it!


So I changed the TP cost to = 0 and then just created a common event to run after the skill is used to remove the TP!


Thanks very much!

printscreen.jpg
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top