Hullo, and thanks for viewing. I'm trying to arrange the actor status so it shows each characters' stats (name, hp, sp, status) vertically on the right hand side of the screen. What I have so far is this:
What I'm trying to get is something like this:
I've been fiddling around in the CBS script under the Window_BattleStatus section, and although I'm not sure if that's what I'm supposed to edit, this is what it looks like right now:
Does anybody know what needs to be changed?
http://i9.photobucket.com/albums/a99/xdeath5/sc1.jpg[/IMG]
http://i9.photobucket.com/albums/a99/xdeath5/sc2.jpg[/IMG]
#==============================================================================
# ?? Window_BattleStatus
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# ?? ?I?u?W?F?N?g??????(????`)(???*????W????)
#--------------------------------------------------------------------------
def initialize
super(480, 20, 160, 290)
self.contents = Bitmap.new(width - 32, height - 32)
self.back_opacity = 60
@level_up_flags = [false, false, false]
refresh
end
#--------------------------------------------------------------------------
# ?? ???t???b?V??(????`)(???*????W????)
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_y = i+ 16
draw_actor_name(actor, actor_y, 0)
draw_actor_hp(actor, actor_y, 31, 80)
draw_actor_sp(actor, actor_y, 65, 80)
if @level_up_flags
self.contents.font.color = normal_color
self.contents.draw_text(actor_y, 99, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_y, 99)
end
end
end
end
# ?? Window_BattleStatus
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# ?? ?I?u?W?F?N?g??????(????`)(???*????W????)
#--------------------------------------------------------------------------
def initialize
super(480, 20, 160, 290)
self.contents = Bitmap.new(width - 32, height - 32)
self.back_opacity = 60
@level_up_flags = [false, false, false]
refresh
end
#--------------------------------------------------------------------------
# ?? ???t???b?V??(????`)(???*????W????)
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_y = i+ 16
draw_actor_name(actor, actor_y, 0)
draw_actor_hp(actor, actor_y, 31, 80)
draw_actor_sp(actor, actor_y, 65, 80)
if @level_up_flags
self.contents.font.color = normal_color
self.contents.draw_text(actor_y, 99, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_y, 99)
end
end
end
end
Does anybody know what needs to be changed?