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.
 
this has gotta be the first time I have ever seen this question asked. :)

I doubt there is a solution for you sorry.... :(
 
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.
 
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 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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.

The Helper Discord

Staff online

  • Ghan
    Administrator - Servers are fun

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top