EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Edit text colour on hotbuttonwnd (http://www.eqinterface.com/forums/showthread.php?t=20909)

antioch 03-05-2011 11:16 AM

Edit text colour on hotbuttonwnd
 
Is there any way to change the colour of text on action buttons (kick, bind wound etc) as displayed on the hotbutton window? Editing the entry in the .xml file doesn't seem to have any result.

valaury3169 03-07-2011 07:44 AM

Are you changing the color in the Actions window, or the hotbutton window?

antioch 03-07-2011 01:57 PM

The hotbuttons window.

valaury3169 03-08-2011 12:20 PM

After thinking about it, I realized that my question was somewhat ambiguios, but I am gonna assume you knew what I was thinking (in a non-psychic kind of way :) ).

In the EQUI_HotButtonWnd.xml file, you would find the button that you want the color to be different. For example, I want to change the 6th button on the first hotbutton pad. I would look for the element labeled HB_Button6 (this is the default naming). In that element, you would find a set of tags that look like:

<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>

Set the RGB values to whatever color you want. Note: It will be this color for whatever hotkey you put there, with the exception of social hotkeys. They can define their colors in game.

If that is what you already have tried, then I would have to see your whole hotbutton file to see if I can track down the problems.

Savok 03-08-2011 12:39 PM

I believe custom text and custom pressed button colors were added with the Feb 9th patch. Mouse over colors were added a few patches before also.

antioch 03-08-2011 01:32 PM

valaury - I did try that before posting but it never made any change, not sure why.
Savok - Thanks for the tip I tracked down the patch notes you mentioned and I've learned how to use the custom mouseover text which makes it slightly more bearable - was there a way to have custom 'normal' text on the button or was it mouseover/pressed/disabled only?

Savok 03-08-2011 03:50 PM

Custom normal text would be set with the <Textcolor> tags no?

antioch 03-09-2011 08:56 AM

Tried that as above but I see no change, I'll try again later :)

Angahran 03-09-2011 09:23 AM

Here is the full code fragment for text colours.
Code:
<TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <UseCustomMouseoverColor>true</UseCustomMouseoverColor> <MouseoverColor> <R>0</R> <G>0</G> <B>255</B> </MouseoverColor> <UseCustomPressedColor>true</UseCustomPressedColor> <PressedColor> <R>0</R> <G>255</G> <B>0</B> </PressedColor> <UseCustomDisabledColor>true</UseCustomDisabledColor> <DisabledColor> <R>192</R> <G>192</G> <B>192</B> </DisabledColor>

valaury3169 03-09-2011 11:45 AM

One thing to note, I have found that some values, are case sensative. This means a tag like:

<AlignRight>True</AlignRight>

will actually be interpretted as false, becasue "true" needs to be lower case. It is possible that some tags could possibly be case sensitive as well, but I can't confirm that.

antioch 03-10-2011 07:00 AM

Has anyone ever actually had success changing the normal text colour of the hotbuttons? This is from EQUI_HotButtonWnd.xml

Code:
<Button item = "HB_Button1"> <ScreenID>HB_Button1</ScreenID> <Font>2</Font> <RelativePosition>true</RelativePosition> <Location> <X>2</X> <Y>20</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <Text>1</Text> <TextColor> <R>0</R> <G>0</G> <B>0</B> </TextColor> <UseCustomMouseoverColor>true</UseCustomMouseoverColor> <MouseoverColor> <R>0</R> <G>0</G> <B>0</B> </MouseoverColor> <DecalSize> <CX>40</CX> <CY>40</CY> </DecalSize> <ButtonDrawTemplate> <Normal>A_HotButton1Normal</Normal> <PressedFlyby>A_HotButton1PressedFlyby</PressedFlyby> <Pressed>A_HotButton1Pressed</Pressed> <Flyby>A_HotButton1Flyby</Flyby> <Disabled>A_HotButton1Disabled</Disabled> </ButtonDrawTemplate> </Button>

Angahran 03-10-2011 10:35 AM

The Hot Button window is a little different since the 'buttons' are whatever you dragged there in game.

The color of the text for these buttons is set ingame, just right click the button and you'll get the popup showing the command for that button that will let you choose the color.

antioch 03-10-2011 10:37 AM

Sorry, I mean specifically action buttons such as kick, bash etc - not social macros.


All times are GMT -5. The time now is 12:53 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.