EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Gauge Colors? (https://www.eq2interface.com/forums/showthread.php?t=14682)

Drakah 09-05-2010 06:40 PM

Gauge Colors?
 
I have been trying to change the color of the HP, Mana, Pet bars in the group window, but no matter what I change, it stays Red/Blue, or Green/Blue, depending on what I set the options for under the Options Window-User Interface.

Are the Hex numbers there just for show, cause I certainly cannot get them to be a certain color at all.

I have tried even coloring a gauge myself, and using that as the gauge, but the game just automatically colorizes it for some reason?

Landiin 09-07-2010 07:37 AM

SOE's hard coding is a bugger! Try changing the names of the Object so the hard coding don't try to force the color on it.

Drakah 09-07-2010 04:26 PM

It must be tied into the dynamic data that makes the bar work for certain group members. Trying to have the Group HP (red), Mana (blue, but darker), Pet (green). If I tint the actual custom gauge green, then the bar turns a deep red in game, depending how dark I color the bar in the graphic file. Its very weird.

Drumstix42 09-07-2010 07:29 PM

Have you already tried filtering out the DynamicData just for color?

Drakah 09-07-2010 09:22 PM

Ya just realized, removing the DynamicData from the ProgressBar code allows me to utilize my custom colors. Thanks for the response :)

Drakah 09-07-2010 10:47 PM

Hmm now the bars dont work at all....grrr, but it is the right color now...

Drakah 09-08-2010 02:51 AM

Well now I am stuck again.

I made a group window, with the player gauges in it too.

- The group HP bar, sticks being red, fine.
- The group Mana bar I made my own and colored it blue, to make the automatic blue add to the blue gauge, so its a deeper color, great.
- The pet bar I did make green using again my own white bar and was able to use the Color Hex # for the green, removing the DynamicData.

Now the next problem is the player information....

- Again, the player bar sticks being red, and is fine.
- The Mana bar, using the same idea from the group portion works fine too.
- But now, the PET bar is giving me all kinds of grief...... If I remove the DynamicData from the bar, then the bar doesnt work, but I am able to get the custom green color I want. If I leave the DynamicData in, then the bar does work but it forces it to be Red. The only thing I can do is make a custom bar that is gray, and when the game loads the bar, it will be a deep red... though its different than the group windows, I still need to figure out how to make a custom Green Pet bar in the Group window.

ideas?...

If you want to try the UI I am making, I have it housed on my website right now, under the Downloads section at www.shakahr.com
(you will need to register to download I believe)

Drumstix42 09-08-2010 03:25 AM

Quote:

Originally Posted by Drakah (Post 93089)
Ya just realized, removing the DynamicData from the ProgressBar code allows me to utilize my custom colors. Thanks for the response :)

I meant the DynamicDataFilter property (not removing the DynamicData altogether).
I believe 0004 will filter out the color sent from the DD.

DynamicDataFilter="0004"

EQAditu 09-08-2010 08:06 AM

Quote:

Originally Posted by Drumstix42 (Post 93099)
I meant the DynamicDataFilter property (not removing the DynamicData altogether).
I believe 0004 will filter out the color sent from the DD.

DynamicDataFilter="0004"

I realize that relying on the UI Builder documentation is risky. But 0004 would mean that only the tooltip data would be applied.

If FFFF is everything possible, and 0400 is the color... FFFF - 0400 = FBFF

Of course, some things are just hardcoded and ignore the DD filter.

Landiin 09-08-2010 08:16 AM

Quote:

Originally Posted by EQAditu (Post 93102)
I realize that relying on the UI Builder documentation is risky. But 0004 would mean that only the tooltip data would be applied.

If FFFF is everything possible, and 0400 is the color... FFFF - 0400 = FBFF

Of course, some things are just hardcoded and ignore the DD filter.

Correct and that is the case of the group window. The only way I got around it when eXtreme used custom graphics for bars was to not name the object the same as the default name and apply the filter. Even then the game would wig out from time to time and set the colors to the default. Thus I consented defeat and just used the default colors lol.

gm9 09-08-2010 09:06 AM

IIRC you can change the color of at least the health bars in the game options (or via the appropriate /commands which I do not recall).

Drakah 09-08-2010 04:39 PM

Thanks guys, FBFF was my answer :)

Drumstix42 09-08-2010 05:18 PM

Cool, and sorry for the wrong 0004 value above. I copied it out of some of my old code :rolleyes:

Drakah 09-08-2010 06:18 PM

All works except for that darn manabar, so I just left it colored blue manually in the tga.

Drakah 09-08-2010 10:15 PM

Well again I had to bow to defeat of the bars yet again.... though the actual custom bars colored ok, the group player/mana didnt want to cooroperate... so I worked with it to simulate the color I was going for.

I tested it all out and I think its done.

Feel free to test it out.
http://www.shakahr.com/forum/downloa...?do=file&id=32


All times are GMT -5. The time now is 04:50 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI