You are not logged in.
Pages: 1
Hello guys.
I have a problem with InterfaceEditor.
I want to change the color from Red to Blue.
If i add a new hex color code in the .ini file, the healthbar is away.
How can i change this colors?
Thank you.
Offline
Are you sure that you've followed this color format?
HealthBar.Color=$FF1D19B4
Color is in ARGB format, means that in that example:
A == 0xFF
R == 0x1D
G == 0x19
B == 0xB4
That example will give you blue health bar.
Offline
Yes, but it dont worked.
Do you have a list with codes that works?
Offline
Are you sure that you've followed this color format?
HealthBar.Color=$FF1D19B4Color is in ARGB format, means that in that example:
A == 0xFF
R == 0x1D
G == 0x19
B == 0xB4That example will give you blue health bar.
I think, it is RGBA, little endian.
A - 0xFF B - 0x1D G - 0x19 R - 0xB4
Offline
Hmm,
I tested the code with FFFFFFFF and the healthbar was withe. Thats correct.
Than I used 000000FF and it was lightblue o.O
Offline
Ahh damn i'm so stupid, i thoug it was RGBA
ok thanks for your help guys
edit: next problem, why is the healtbar red with the code FF0000FF? i thoug it is blue o.o
edit 2:
SilentPL wrote:Are you sure that you've followed this color format?
HealthBar.Color=$FF1D19B4Color is in ARGB format, means that in that example:
A == 0xFF
R == 0x1D
G == 0x19
B == 0xB4That example will give you blue health bar.
I think, it is RGBA, little endian.
A - 0xFF B - 0x1D G - 0x19 R - 0xB4
ok i tested all codes:
FF0000FF is red
FFFF0000 is blue
FF00FF00 is green
so the syntax is: A B G R so it is the mirrored RGBA
ok guys thank you for you tipps
Last edited by Kashan (29-08-2010 14:40)
Offline
Pages: 1