As the title says, I want the HP/MP/TP changes gauge color when it is at MAX value.
Actually I want it just for TP (Limit Break System), but as long I know how to set one, I can do the rest.
It should be really simple (or hard) cuz I've searched all around and found nothing.
I dont think a pic is necessary...
So you guys are my last resort!
PS: Further but not really necessary, would be cool to have a MAX text inside the gauge...
So I guess there's no way to do it?
You just need to change the color of the rectangle that's being drawn.
#==============================================================================# ** Window_Base#------------------------------------------------------------------------------# This is a super class of all windows within the game.#==============================================================================class Window_Base < Window #-------------------------------------------------------------------------- # * Get Text Colors #-------------------------------------------------------------------------- def tp_gauge_color3; text_color(31); end; # TP gauge 3 def tp_gauge_color4; text_color(32); end; # TP gauge 4 #-------------------------------------------------------------------------- # * Draw TP #-------------------------------------------------------------------------- unless method_defined?🙂ex_tpcolor_wb_draw_actor_tp) alias_method🙂ex_tpcolor_wb_draw_actor_tp, :draw_actor_tp) end def draw_actor_tp(actor, x, y, width = 124, *args, &block) if actor.tp.to_i == 100 draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color3, tp_gauge_color4) change_color(system_color) draw_text(x, y, 30, line_height, Vocab::tp_a) change_color(tp_color(actor)) draw_text(x + width - 42, y, 42, line_height, actor.tp.to_i, 2) else ex_tpcolor_wb_draw_actor_tp(actor, x, y, width, *args, &block) end end endAs for HP and MP, they are underneath Window_Base, as well (draw_actor_hp, draw_actor_mp, etc). The above code should get you started!Might be an easier way to do what you are wanting, but this is what I came up with in a few minutes.
But, is possible change the color gauge of a specific actor?