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.
No MP Guage?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
Is there a way to make specific characters not have MP guages in VX?

**
Rep:
Level 71
RMRK Junior
Code: [Select]
class Window_Base
 
    EXEMPT = [1, 2]
   
  alias exempt_draw_actor_mp draw_actor_mp
  def draw_actor_mp(actor, x, y, width = 120)
    if EXEMPT.include?(actor.id)
      return
    else
      exempt_draw_actor_mp(actor, x, y, width)
    end
  end
end

Change the "EXEMPT" array to include the actor id of the actors with no MP guage

****
Rep:
Level 84
3...2...1...
Wow Brewmeister. I like that. Very helpful. Is there any way to get rid of Levels as well?
My characters don't level up, so I don't really need to see what level they are.

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Okay, don't expect this to work, as I'm by no means a scripter. However, I would like to see what I can do. This is my first ever attempt to even meddle with a script, aside from the odd bug fix (I'm good at bugs!).

This should do the trick.

In the EXEMPT_LEVEL array, replace the [1, 2] with the Actor IDs you'd like to not have levels.
I don't have a computer with VX atm, so if you'd like me to do this properly I could do it in about 2 weeks. Until then... um... have fun.

EDIT: Quite confident it works now.
« Last Edit: March 23, 2011, 10:42:10 AM by Welfare-Daddy Pacman »
it's like a metaphor or something i don't know

*
Rep:
Level 82
Just tested it for you WDP. The method draw_actor_level doesn't take a width argument, only the first 3.

This is the original.

Code: [Select]
def draw_actor_level(actor, x, y)
    self.contents.font.color = system_color
    self.contents.draw_text(x, y, 32, WLH, Vocab::level_a)
    self.contents.font.color = normal_color
    self.contents.draw_text(x + 32, y, 24, WLH, actor.level, 2)
  end

So you just need to remove the width from the call to the original method.
(Why do I always feel like it's the end of the world and I'm the last man standing?)

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Ah, how silly of me. Thank you for notifying me. I'll edit the script.
As I mentioned, first attempt at scripting.

EDIT: That should work. Just let me know. I'd love to learn how to script, I just never seem to have the time.
it's like a metaphor or something i don't know