zahraa 26 Report post Posted July 23, 2012 (edited) in RPG maker xp,HP and SP bars are like this: but i want to show them with colour.like this: (millennium 4 beyond sunset) what should i do? thanks Edited July 29, 2012 by zahraa Share this post Link to post Share on other sites
0 Moonpearl 32 Report post Posted July 23, 2012 Use a script. If you can't script, find a battle system/menu system/project with bars that appeal to you and search the scripts for Window_Base#draw_actor_hp and Window_Base#draw_actor_sp. class Window_Base ... alias ..._draw_actor_hp draw_actor_hp def draw_actor_hp(...) ... end alias ..._draw_actor_sp draw_actor_sp def draw_actor_sp(...) ... end end Copy both methods and put them in a new entry of your script edtior (including the alias statements if there are any), encased in a class Window_Base block, as shown above. Also, it is possible that the new draw_actor_hp and draw_actor_sp methods call on yet other methods. Once you've done all this and run your project, if you get errors like: NoMethodError in script <name of the script you just created> at line <number>: undefined method <method name> Then search for said line number, there should be a call to another method (typically draw_bar or draw_text_shadowed or whatever) you also have to copy from the source script. Share this post Link to post Share on other sites
0 zahraa 26 Report post Posted July 23, 2012 i copied this in a new script that named battle: class Window_Base ... alias ..._draw_actor_hp draw_actor_hp def draw_actor_hp(...) ... end alias ..._draw_actor_sp draw_actor_sp def draw_actor_sp(...) ... end end and nothing happened in game i guess i didn't understand your words sorry.can you explain it more? :sweatdrop: Share this post Link to post Share on other sites
0 zahraa 26 Report post Posted July 25, 2012 pleaseeeeeeeeeee!!! Share this post Link to post Share on other sites
0 zahraa 26 Report post Posted July 28, 2012 my problem solved Share this post Link to post Share on other sites
in RPG maker xp,HP and SP bars are like this:
but i want to show them with colour.like this:
(millennium 4 beyond sunset)
what should i do?
thanks
Edited by zahraaShare this post
Link to post
Share on other sites