#1 Re: GTA Modding » InterfaceEditor Color Problem » 29-08-2010 11:01

Ahh damn i'm so stupid, i thoug it was RGBA lol

ok thanks for your help guys smile

edit: next problem, why is the healtbar red with the code FF0000FF? i thoug it is blue o.o

edit 2:

Alien wrote:
SilentPL wrote:

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.

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 smile

#2 Re: GTA Modding » InterfaceEditor Color Problem » 29-08-2010 10:26

Hmm,

I tested the code with FFFFFFFF and the healthbar was withe. Thats correct.

Than I used 000000FF and it was lightblue o.O

#3 Re: GTA Modding » InterfaceEditor Color Problem » 28-08-2010 15:04

Yes, but it dont worked.

Do you have a list with codes that works?

#4 GTA Modding » InterfaceEditor Color Problem » 25-08-2010 17:45

Kashan
Replies: 6

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. smile

Board footer

Powered by FluxBB