EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-23-2010, 04:35 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default Class Icons

I am looking to add the class icons (not text) to the group window. Can anyone help me figure this one out? Straight DD on an image doesnt seem to do it, i am thinking its more in-depth but I am not sure how to go about this.

Thanks,
Draven
Reply With Quote
  #2  
Unread 09-23-2010, 07:39 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

I've never had any luck with changing an image's style during runtime, so I expect you'll have to have a a separate icon for every possible class for each player. If you're using Group.Group_#.Archetype, that would be 5x4=20 icons total. Then a hidden text element that makes specific icons visible depending on the text, when the text changes.
Reply With Quote
  #3  
Unread 09-24-2010, 12:45 AM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

I can have all the different icons, basically what i want is if a SK is in the group, the sk icon appears next to the SK, now if we can print the word than tie a graphic to the word that works for me, maybe some example code?

I am after the Shadowknight, Berserker, Defiler, Mystic, ect NOT fighter, mage, healer, scout.

This is the last step to completing my group window.

Thanks,
Draven
Reply With Quote
  #4  
Unread 09-24-2010, 07:52 AM
gdujj gdujj is offline
A Brown Bear
 
Join Date: Sep 2010
Server: Unkown
Posts: 11
Default

You should download an example of raid frames that show Archetypes (Fighter, Scout..) in a simple way (e.g. DarqUI 2.0 I know is one).

Then you can change it to inspect Subclass instead, and link to the appropriate image icon style.

E.g. in Darq, you have a text label that draws its text content from GameData.Unit.Archetype. OnTextChange, the label pushes an image icon to have a specific Archetype style, say, "Archetype.style=text". The styles have been set up (little cog icons in the UI builder) to be called Fighter, Scout, Mage and Priest.

If you don't get what I mean, you should download Darq, look through the code in the UI builder, and you'll see how it's working. You just need to modify the label used to "push" the info out to be the Subclass, and add in new style types to use (Templar, etc). I can't offer examples since I'm on a work PC.
Reply With Quote
  #5  
Unread 09-24-2010, 09:33 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by gdujj View Post
You should download an example of raid frames that show Archetypes (Fighter, Scout..) in a simple way (e.g. DarqUI 2.0 I know is one).

Then you can change it to inspect Subclass instead, and link to the appropriate image icon style.

E.g. in Darq, you have a text label that draws its text content from GameData.Unit.Archetype. OnTextChange, the label pushes an image icon to have a specific Archetype style, say, "Archetype.style=text". The styles have been set up (little cog icons in the UI builder) to be called Fighter, Scout, Mage and Priest.

If you don't get what I mean, you should download Darq, look through the code in the UI builder, and you'll see how it's working. You just need to modify the label used to "push" the info out to be the Subclass, and add in new style types to use (Templar, etc). I can't offer examples since I'm on a work PC.
This was all the help that I needed, thanks again for the great help, I just have basic placeholders there now but its working ... time some more graphic work.

Thanks,
Draven
Reply With Quote
Reply



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
Forum Jump


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


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI