Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 03-08-2007, 03:13 AM   #1
Dorvak
A Treant
 
Join Date: Jan 2003
Server: Prexus
Posts: 20
Interface Author - Click to view interfaces
Default "Vanishing" % tags (Group Window)

Hello wise ones ,

I'm just starting to learn my way around UI modding and have run into a weird snag. In the Group Window, all text and label tags for a particular slot vanish along with the gauge when no group member occupies that slot. I wanted to add function key tags to the gauges (F2, F3, etc.). Since the percent sign (%) was a seperate label item from the actual number, I just copied / renamed that bit of code, changing only the text content (from % to F2) and the X position (so it would show up on the left end of the gauge).

Now the weird thing. The tags show up just fine, but they don't fade away as their counterpart %'s do when no group member is in that slot. I can find nothing in the code that explains this behavior. Is something I'm not seeing covering the %'s when not in use? Any help for a silly newb would be appreciated.
Dorvak is offline   Reply With Quote
Old 03-08-2007, 12:11 PM   #2
Barzec
Premium Member
 
Join Date: Jan 2003
Posts: 23
Interface Author - Click to view interfaces
Default

The % label is coded in the group window to act a certain way (i.e. vanish when not associated to a group member), that is controled via it's name/window ID if I am not mistaken. The New/added F2 lable is not going to work the same way as EQ will not recognize the new name you give it. You might be able to make the % label long enough to span the guage (assuming you have a guage) and add the F2 text to the left side.

normal: [==========] [xxx][%]
new: [F2 [==========] [xxx]%]

where
[=======] is the gauge
[xxx] is the text/label for the health
[%] is the label for the percent sign
Barzec is offline   Reply With Quote
Old 03-08-2007, 05:22 PM   #3
Dorvak
A Treant
 
Join Date: Jan 2003
Server: Prexus
Posts: 20
Interface Author - Click to view interfaces
Default

Ah, so this part...

<Label item="Player_HPPercLabel">
<ScreenID>HPPerLabel</ScreenID>

actually calls a behavioral reference in a different file somewhere? Or is it a bit of hard-coding just built into the UI? Thanks for the help.
Dorvak is offline   Reply With Quote
Old 03-08-2007, 07:17 PM   #4
Dorvak
A Treant
 
Join Date: Jan 2003
Server: Prexus
Posts: 20
Interface Author - Click to view interfaces
Default

Just as a side note, your solution worked perfectly. The question in my previous post is more because I'm irrationally curious about how things work rather than needing to fix something.
Dorvak is offline   Reply With Quote
Old 03-08-2007, 11:02 PM   #5
Barzec
Premium Member
 
Join Date: Jan 2003
Posts: 23
Interface Author - Click to view interfaces
Default

Glad it worked... I'd thought of doing it in the past but never went ahead and did it in any mods I've made (opting instead for the F2 labels to remain at all times).

I would say the behavior is hard coded in EQ code somewhere beyond our reach, but I very well could be wrong.

Nothing wrong with being curious
Barzec 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 10:19 AM.


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