EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-12-2007, 05:45 PM
FloridaFringe FloridaFringe is offline
A Griffon
 
Join Date: Sep 2005
Server: Lucan DLere
Posts: 459
Default Click-to-Cure Icons

Sorry if this has already been asked and answered but I'm trying to wrap up some changes to my group window prior to the release of RoK.

What I've been doing is to make minor modifications to an existing window in hopes of learning a bit along the way. The current problem that I'm having is with where the negative effect icons appear. I can get them to display properly when they aren't actively on a group member but once they actually show up they are out of place. Meaning that I have Arcane - Elemental - Noxious - Trauma but when someone has an effect on them they display as Trauma - Arcane - Noxious - Elemental (which won't allow the actual click-to-cure to work properly).

Any insight would be highly appreciated. Thank you kindly.

Here is the code that I have so far:


Code:
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="21,36" MouseOverColor="#FFFF00" Name="Effect1" PackLocation="left,top" PackLocationProp="0021/0001,0036/0001" ScrollExtent="14,14" Size="14,14" TreatAsButton="true"/>
<Page Location="21,36" Name="Arcane" OnHoverIn="Opacity=1.000" ScrollExtent="14,14" Size="14,14">
<Button BackgroundOpacity="0.000" LocalTooltip="Arcane" Name="Arcane" OnPress="useability Ardent Resolve ; useability Devoted Flagellant ; useability Catechize Arcana ; useability Retaliate Arcana ; useability Arcane Aid ; useability Cure Arcane ; target_previous" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="14,14" Size="14,14"></Button>
</Page>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="46,36" MouseOverColor="#FFFF00" Name="Effect2" PackLocation="left,top" PackLocationProp="0046/0001,0036/0001" ScrollExtent="14,14" Size="14,14" TreatAsButton="true"/>
<Page Location="46,36" Name="Elemental" OnHoverIn="Opacity=1.000" ScrollExtent="14,14" Size="14,14">
<Button BackgroundOpacity="0.000" LocalTooltip="Elemental" Name="Elemental" OnPress="useability Verdant Whisper ; useability Lethal Abolishment ; useability Devoted Flagelland ; useability Expunge Elements ; useability Elemental Amending ; useability Elemental Aid ; useability Cure Elemental ; target_previous" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="14,14" Size="14,14"></Button>
</Page>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="71,36" MouseOverColor="#FFFF00" Name="Effect3" PackLocation="left,top" PackLocationProp="0071/0001,0036/0001" ScrollExtent="14,14" Size="14,14" TreatAsButton="true"/>
<Page Location="71,36" Name="Noxious" OnHoverIn="Opacity=1.000" ScrollExtent="14,14" Size="14,14">
<Button BackgroundOpacity="0.000" LocalTooltip="Noxious" Name="Noxious" OnPress="useability Grasping Spirit ; useability Mail of Spirits ; useability Greater Restoration ; useability Cure Noxious ; target_previous" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="14,14" Size="14,14"></Button>
</Page>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="96,36" MouseOverColor="#FFFF00" Name="Effect4" PackLocation="left,top" PackLocationProp="0096/0001,0036/0001" ScrollExtent="14,14" Size="14,14" TreatAsButton="true"/>
<Page Location="96,36" Name="Trauma" OnHoverIn="Opacity=1.000" ScrollExtent="14,14" Size="14,14">
<Button BackgroundOpacity="0.000" LocalTooltip="Trauma" Name="Trauma" OnPress="useability Gasping Spirit ; useability Verdant Whisper ; useability Ardent Resolve ; useability Mending Spirit ; useability Mossy Balm ; useability Cure Trauma ; target_previous" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="14,14" Size="14,14"></Button>
</Page>
Reply With Quote
  #2  
Unread 11-12-2007, 09:58 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

That would be because Effect1 is trauma, Effect2 is arcane, Effect3 is noxious, and Effect4 is elemental... *grin*

Just rearrange your cures to match (that's what I'd do) or rearrange the Effect numbers (but then people used to seeing them in a certain order may have trouble adjusting).

Last edited by lordebon : 11-12-2007 at 09:59 PM. Reason: Me tipe guud
Reply With Quote
  #3  
Unread 11-13-2007, 12:20 AM
FloridaFringe FloridaFringe is offline
A Griffon
 
Join Date: Sep 2005
Server: Lucan DLere
Posts: 459
Default

Doh!

I didn't realize that was the case. My newbness just assumed that Effect1...was just a header that dictated the effect location. Thanks for the clarity on that.
Reply With Quote
  #4  
Unread 11-13-2007, 03:16 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Dang noobs

generally if data is updated automagically with no DynamicData assigned to the object, the object name is what the client uses to make that linkage, and often the entire nesting structure above that object has to remain the same. Even when the name of an object doesn't seam to have any significance, the client expects an object of that name to be in a specific path to recieve the data. In many cases breaking the expected path will in fact cause client crashes. The client tries to pipe data to some object that isn't where it expects to find it and an error is thrown that SOE never expected.

As a general rule, try not to rename stuff already in the default UI. If you do, be sure to test to see if that broke any hardcoded functionality.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

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


All times are GMT -5. The time now is 03:23 PM.


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