Changing the experience bar color?

vile

New Member
Reaction score
8
Anyone knows how to change it from purple to something else?
I tried editing the skins of the xp bar model but the skins doesnt show a color, its just black and white.
So i've tried also to edit the model itself and to see if the segment or static colors can be changed, and i've changed the color, but ingame the color is still purple.
 

Darg

Administrator
Reaction score
49
this has gotta be the first time I have ever seen this question asked. :)

I doubt there is a solution for you sorry.... :(
 

NoxMortus

All Along the Watchtower
Reaction score
104
I have wondered about this myself, you can change the bar in Game Interface so I'm guessing you can make your own and import it.
 

Grurf

Ultra Cool Member
Reaction score
30
Edit:

This doesn't work! I also didn't read Vile's post close enough to see that he already tried this...

---------------

I just did quite a research on it. The blp's that warcraft uses to determine the looks of the xp bar are in war3.mpq in this path:

UI\Feedback\ProgressBar\

There you will find these files:

human-xpbar-border2.blp
human-statbar-color.blp
human-statbar-highlight.blp
TimerBar.mdx

What does human-xpbar-border2.blp do? It determines how the border around the bar looks. It is gold-colored by default. You can change this easily.

What does human-statbar-color.blp do? No, it doesn't tell the bar to be purple (too bad). It determines which degree of purple is shown. If you make this image all white, the whole bar would be a bright purple colour. If you make this image all black, the xp bar will be all black, too. If you make it grey, the bar will be a darker tint of purple.

What does human-statbar-highlight.blp do? Te be serious, I don't have a single clue. I think it's a relic, and that it isn't really used.

And now the interesting part: TimerBar.mdx (which is quite a weird name, maybe blizzard wanted to make this bar a timerbar first?). If you convert this to mdl, you can actually alter the color! Look for these lines:

Code:
GeosetAnim {
	static Color { 0.823529, 0.509804, 0.254902 },
	GeosetId 1,

By altering the real values in the static Color {} tag, you can alter the color. The colors are Blue Green Red, respectively. Putting 1 here means 254 in commonly used Red Green Blue, used by several image editing programs. You can use any program that can choose colors in the 254 format to choose a color. Then divide all values by 254 and put the answers between the static Color {} tags. Remember not to use more or less decimals than you see here (6) or very weird things might happen. After you have altered the color, convert it back to mdx, and import that mdx to this path:

UI\Feedback\ProgressBar\TimerBar.mdx

Now the color of the bar should be changed. The only problem you might have now is that the bar is darkened according to the grey values in human-statbar-color.blp . This can be altered by replacing that blp with a totally white version of it. Now the bar will have exactly the color you selected in the image editing program!

Note: I haven't tested this, and I might be wrong in for example the color format, but I think this is the way it should be changed. If I did anything wrong here, please post it!
 

vile

New Member
Reaction score
8
vile said:
So i've tried also to edit the model itself and to see if the segment or static colors can be changed, and i've changed the color, but ingame the color is still purple.

If you would have read my post clearly, you wouldn't post about the static color issue.
A waste of reply, but thanks anyways.
I hope someone will find a solution for this.. I'd really like that bar to be blueish.
 

Grurf

Ultra Cool Member
Reaction score
30
Woops! Gotta buy glasses :). Ok, if that doesn't work, I don't know how it would work... I think blizzard hardcoded it then.

Edit:

Did some more research on it, and I just discovered that the .blp files in UI\Feedback\ProgressBar\ do not effect the xp bar at all! I'm now looking around for an other place with files that may effect it.

Another Edit:

Every place I try seems not to effect anything. Maybe warcraft disabled replacing this UI stuff and always uses the one in it's original mpq's? Even corrupting the .mdx files has zero effect. I think I'm going to make a backup of my mpq's and then replace the files right in there.
 

Pyromancer

New Member
Reaction score
16
this would be a great tutoriel (how to change the color bar of exp).
when you can change it, mabey put it as a tutoriel.
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
I have no idea on the answer of this thread but i may be able to answer to one thing.

Grurf said:
And now the interesting part: TimerBar.mdx (which is quite a weird name, maybe blizzard wanted to make this bar a timerbar first?). !

Isnt a 'TimerBar' the experation timer on things like Water Elemental ect? Maybe the edits on TimerBar.mdx only changes the coler on those bars? Just my thougs and I am compleatly unexperienced with mpq edition ^^ Goodluck guys.
 

Grurf

Ultra Cool Member
Reaction score
30
You have a point there buddy, but altering the mdx and the color mapping for that bar didn't change anything, too. I'm pretty sure now that Warcraft either don't uses that files at all or is hardcoded to always use the ones in the mpq, so you would have to write a patch to change the color.
 

w/e

Boaroceraptorasaurus-Rex
Reaction score
275
wow, its such a simple detail? and yet it can only be changed by writing a patch. lol. this is the first time ive seen this question asked.
 

vile

New Member
Reaction score
8
There are two MDXs concerning that bar and the TimerBar isnt one of them.
There's another bar called HeroXPBar.mdx or something similar, its in the same directory as TimerBar.mdx
But I changed that and nothing happened as well.
 

AgentPaper

From the depths, I come.
Reaction score
107
If you really want to you can use an expiration timer, and make its max time however much xp th hero needs to lvl, and then have a trigger pause it, then whenever he gets experience you just set the expiration time to his amount of xp+gained xp. might have to do a quick unpause-change-pause, but thats not so hard. also I think i know why you want to do this, to make a "rest" system like in WoW? this makes it easier to change how uch xp the player gets too, since you can hard-wire it into the ability. the expiration timer will also show over the xp bar, but it wont make it unuseable so you can still gain xp normally and just add however much extra you want in the trigger.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top