Is there a way to make specific characters not have MP guages in VX?
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
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.
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 (http://rmrk.net/index.php/topic,42156.msg482433/topicseen.html#msg482433).
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.
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.
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.
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.