Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 03-05-2011, 11:16 AM   #1
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default 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.
antioch is offline   Reply With Quote
Old 03-07-2011, 07:44 AM   #2
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 203
Interface Author - Click to view interfaces
Default

Are you changing the color in the Actions window, or the hotbutton window?
valaury3169 is offline   Reply With Quote
Old 03-07-2011, 01:57 PM   #3
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default

The hotbuttons window.
antioch is offline   Reply With Quote
Old 03-08-2011, 12:20 PM   #4
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 203
Interface Author - Click to view interfaces
Default

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.
valaury3169 is offline   Reply With Quote
Old 03-08-2011, 12:39 PM   #5
Savok
On tour since '99
 
Join Date: Sep 2002
Server: Innoruuk forever!
Posts: 469
Interface Author - Click to view interfaces
Default

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.
__________________
Gold: 04/16/99 - 02/19/11 Silver: 03/16/12 - 03/15/18 Done:04/16/18
And with a heavy heart I bid adieu to Everquest Live.
Savok is offline   Reply With Quote
Old 03-08-2011, 01:32 PM   #6
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default

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?
antioch is offline   Reply With Quote
Old 03-08-2011, 03:50 PM   #7
Savok
On tour since '99
 
Join Date: Sep 2002
Server: Innoruuk forever!
Posts: 469
Interface Author - Click to view interfaces
Default

Custom normal text would be set with the <Textcolor> tags no?
Savok is offline   Reply With Quote
Old 03-09-2011, 08:56 AM   #8
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default

Tried that as above but I see no change, I'll try again later
antioch is offline   Reply With Quote
Old 03-09-2011, 09:23 AM   #9
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 301
Interface Author - Click to view interfaces
Default

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>
__________________
My UI files.
Angahran is offline   Reply With Quote
Old 03-09-2011, 11:45 AM   #10
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 203
Interface Author - Click to view interfaces
Default

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.
valaury3169 is offline   Reply With Quote
Old 03-10-2011, 07:00 AM   #11
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default

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>
antioch is offline   Reply With Quote
Old 03-10-2011, 10:35 AM   #12
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 301
Interface Author - Click to view interfaces
Default

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.
Angahran is offline   Reply With Quote
Old 03-10-2011, 10:37 AM   #13
antioch
A Gray Wolf
 
Join Date: Dec 2010
Posts: 6
Interface Author - Click to view interfaces
Default

Sorry, I mean specifically action buttons such as kick, bash etc - not social macros.
antioch is offline   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 11:25 PM.


vBulletin Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© MMOUI