The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: &&&&&&&&&&&&& on May 24, 2013, 08:09:14 AM

Title: [RMVXA] Help! Placement of status icons?
Post by: &&&&&&&&&&&&& on May 24, 2013, 08:09:14 AM
So, I mucked around with my menu system a bit, and got it where I like it.

I don't know how I didn't notice this before, but the little status icons are now positioned where the health is displayed, making it look rubish.

I've looked around in the scripts a far bit, but can't seem to find where this is handled. ;___;

halp plz i dnt evan no wut i am doning! were evan is it

pix 4 refrins
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2Fhlpplz_zps6122680c.png&hash=19a00b89aadb296b3808237600b0a19b2ac497da) (http://s109.photobucket.com/user/dreamslayer7/media/hlpplz_zps6122680c.png.html)




ADDOT: Unrelated to the script part, do you think it would look best to have it after their name, or on their character sprite thing?
Title: Re: [RMVXA] Help! Placement of status icons?
Post by: TDS on May 24, 2013, 08:38:39 AM
I think it's handled in this area.

Code: [Select]
#==============================================================================
# ** Window_MenuStatus
#------------------------------------------------------------------------------
#  This window displays party member status on the menu screen.
#==============================================================================

class Window_MenuStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # * Draw Simple Status
  #--------------------------------------------------------------------------
  def draw_actor_simple_status(actor, x, y)
    draw_actor_name(actor, x, y)
    draw_actor_level(actor, x, y + line_height * 1)
    draw_actor_icons(actor, x, y + line_height * 2) # STATUS ICONS HERE
    draw_actor_class(actor, x + 120, y)
    draw_actor_hp(actor, x + 120, y + line_height * 1)
    draw_actor_mp(actor, x + 120, y + line_height * 2)
  end
end

Just edit it to fit the position you want.

Have a nice day.
Title: Re: [RMVXA] Help! Placement of status icons?
Post by: &&&&&&&&&&&&& on May 24, 2013, 06:42:01 PM
I'm looking in Window_MenuStatus but can't seem to find it there...

Edit: Forgot, those things are handled in the menu_base. Got it now, thank you.