Hello I use TP in my game only for limit breaks, so I don't need it "cost" or how many points you have. I need only it's bar in the battle, because tp skills will be only available at max TP. So basically I need to hide numbers from TP system.
[ACE] Change base script so it doesn't show digits in TP system
● ARCHIVED · READ-ONLY
-
-
I think this should do it.
Code:#============================================================================== # ** Window_Base #------------------------------------------------------------------------------ # This is a super class of all windows within the game. #============================================================================== class Window_Base < Window #-------------------------------------------------------------------------- # * Draw TP #-------------------------------------------------------------------------- def draw_actor_tp(actor, x, y, width = 124) draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2) change_color(system_color) draw_text(x, y, 30, line_height, Vocab::tp_a) end end -
Yep, I even learned a little scripting from you :D now I just need second request... disabling tp cost in skill menus.I think this should do it.
Code:#============================================================================== # ** Window_Base #------------------------------------------------------------------------------ # This is a super class of all windows within the game. #============================================================================== class Window_Base < Window #-------------------------------------------------------------------------- # * Draw TP #-------------------------------------------------------------------------- def draw_actor_tp(actor, x, y, width = 124) draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2) change_color(system_color) draw_text(x, y, 30, line_height, Vocab::tp_a) end end
EDIT: Found it myself :) ) Thank you anyway! -
I would actually like to know how to do that. The disabling of skill cost. Couldn't post if here for me could you?
-
I edited script "Window_SkillList"I would actually like to know how to do that. The disabling of skill cost. Couldn't post if here for me could you?
Code:#-------------------------------------------------------------------------- # * Draw Skill Use Cost #-------------------------------------------------------------------------- def draw_skill_cost(rect, skill) if @actor.skill_tp_cost(skill) > 0 change_color(tp_cost_color, enable?(skill)) # draw_text(rect, @actor.skill_tp_cost(skill), 2) <==== This is the line I disabled elsif @actor.skill_mp_cost(skill) > 0 change_color(mp_cost_color, enable?(skill)) draw_text(rect, @actor.skill_mp_cost(skill), 2) end end -
Hahaha It's so obvious (and the sad thing is I've wanted to do this for a while now) Thanks for that man.