[ACE] Change base script so it doesn't show digits in TP system

Swish

Veteran
Veteran
Joined
Aug 2, 2012
Messages
47
Reaction score
3
First Language
Polish
Primarily Uses
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.
 

TDS

- T D S -
Veteran
Joined
Mar 5, 2012
Messages
361
Reaction score
130
First Language
English
Primarily Uses
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
 

Swish

Veteran
Veteran
Joined
Aug 2, 2012
Messages
47
Reaction score
3
First Language
Polish
Primarily Uses
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.

EDIT: Found it myself :) ) Thank you anyway!
 
Last edited by a moderator:

Zasian

Advanced N00B
Veteran
Joined
Jul 30, 2012
Messages
145
Reaction score
16
First Language
English
Primarily Uses
I would actually like to know how to do that. The disabling of skill cost. Couldn't post if here for me could you?
 

Swish

Veteran
Veteran
Joined
Aug 2, 2012
Messages
47
Reaction score
3
First Language
Polish
Primarily Uses
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"



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
 
Last edited by a moderator:

Zasian

Advanced N00B
Veteran
Joined
Jul 30, 2012
Messages
145
Reaction score
16
First Language
English
Primarily Uses
Hahaha It's so obvious (and the sad thing is I've wanted to do this for a while now) Thanks for that man.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top