RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RMVX] Making current/max Stats show up in FFXIII Menu/Custom Commands too

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 84
I'm using Shanghai's FFXIII/Yanfly menu system (as you may already know, since I continually have trouble working with it), and one of the major problems is it displays the current HP and MP values, but doesn't display bars or max HP/MP, so you can never really know how much HP/MP you're missing unless you go into the status menu or something.

Now I've found the line of coding I need to change (around 206), it looks like this (the Draw Actor MP is right below it):
Code: [Select]

  #--------------------------------------------------------------------------
  # * Draw Actor HP
  #--------------------------------------------------------------------------
  def draw_actor_hp(actor, rect)
    self.contents.font.size = Font.default_size - 4
    self.contents.font.color = hp_gauge_color2
    yy = 288 - WLH*5/2 - 4
    self.contents.draw_text(rect.x+4, yy, rect.width-8, WLH, Vocab.hp, 0)
    yy += WLH/2
    self.contents.font.color = normal_color
    self.contents.font.size += 2
    self.contents.draw_text(rect.x+4, yy, rect.width-8, WLH, actor.hp, 2)
  end

My question is how would I go about either adding an HP/MP bar, or just having the max HP/MP values show up after drawing the current HP/MP?

EDIT:
Also, I'm trying to get custom commands to open separate alternative skill menus instead of just running a single skill command. Any way to do that? (Dargor's script doesn't seem to cover that.)
« Last Edit: January 30, 2011, 08:05:02 AM by Organ House »