• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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