Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

GoodVSEvil Script Help

I found the script here
http://www.rpgrevolution.com/forums/?showtopic=6292

The script works great that is not the problem, I just need help figuring out how to change the colors that the display bar has in the status menu.

I want to know how I can make it so depending on alignment I will learn different moves when I get to a level, but if alignment changes those moves become their equivilent on the other side such as Dark Fire and Fire.
Also I want to make it so that my weapon (in this case a keyblade from KH) changes, I have all 3 icons for them, I tried with a common event and it adds to the number of keyblades as I become more evil.

The Common Event I am using
http://img.photobucket.com/albums/v142/Ixador/Common1.png[/img]

Also when I use the multi equip script here http://www.rmxp.org/forums/index.php?topic=14046
it overlaps the GvsE meter in the status menu. I am only using 2 weapons per guy so I dont need all the extra space.
 

poccil

Sponsor

On the script, there are two places for changing the color:
At lines 60-61:
Code:
def draw_bar(x, y, min, max, width = 152, height = 6,
     bar_color = Color.new(0, 75, 0, 255), end_color = Color.new(0, 255, 0, 255))
And at lines 83-84:
Code:
def draw_backward_bar(x, y, min, max, width = 152, height = 6,
     bar_color = Color.new(75, 0, 0, 255), end_color = Color.new(255, 0, 0, 255))
In each case, change the values of "bar_color" and "end_color" to different colors.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top