adjust health bar colours

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

stealer
Member
Posts: 70
Joined: April 14th, 2008, 1:01 am

adjust health bar colours

Post by stealer »

By holding down alt you get health bars on units.

I'm wondering between what %s the health bars are green, yellow, red and if theres a way to change them.
YellowAfterlife
Senior Member
Posts: 127
Joined: March 27th, 2010, 2:32 pm

Re: adjust health bar colours

Post by YellowAfterlife »

In warcraft3, a lot of things are made of models. So are the healthbars.
You can find healthbar mdl in "UI\Feedback\HPBarConsole\HPBarConsole.mdx"
Color transition system is:
10: { 0, 0, 0.862745 }
220: { 0, 0, 0.862745 }
300: { 0, 0.898039, 0.929412 }
550: { 0, 0.898039, 0.929412 }
630: { 0, 0.901961, 0.0431373 }
1010: { 0, 0.901961, 0.0431373 }
1050: { 0, 0.901961, 0.0431373 }
1080: { 0, 0.901961, 0.0431373 }
in format of - Frame: { Blue, Green, Red }
You can change healthbar filling style by editing/replacing UI\Feedback\HPBarConsole\human-healthbar-fill.blp
stealer
Member
Posts: 70
Joined: April 14th, 2008, 1:01 am

Re: adjust health bar colours

Post by stealer »

you gave me 8 items, how do i know the %s?

also where do i find the UI folder?

AI Scripts, Compaigns, Erros, Logs, Maps, Movies, redist, replay, save, support, screenshots are the only folders i have in the war3 directory.
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: adjust health bar colours

Post by GeorgeMots »

Open the with MPQ Master the war3.mpq file, its located in there.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this