• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Level Bar

Status
Not open for further replies.
Level 3
Joined
Feb 28, 2013
Messages
30
Anyone knows how to change the color bar for level experience? The default is purple i want to change it to any color i want..
 
Here:
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=44949

But you cannot have any green hue in it due to the way the color is applied to the XP bar:
UI\Feedback\XpBar\human-bigbar-fill.blp does affect the color, but as you said it is warped. It turns out the RGB is just warped by the factors (0.545098, 0, 0.513726) (more or less). So if you have a white texture (255, 255, 255), it would become:

R: 255 * 0.545098 = 139
G: 255 * 0 = 0
B: 255 * 0.513726 = 131

Same rule applies for other colors. Sadly, because the green value is multiplied by 0, you can't have any green in it. You can get mixtures of red and blue though--or the colors themselves. You can get blue with (0, 0, 255), red with (255, 0, 0). etc. Note that you will may have to change the actual texture a bit. It currently has a gradient that fades to white (which is why you'll always end up with a magenta/pinkish hue at the top), so if you want a solid color you might need to use a solid/somewhat solid texture.

So you're limited in colors. If you paint the texture yellow, you won't necessarily get yellow, so it may require some experimentation.
 
Status
Not open for further replies.
Top