EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Click-to-Cure Icons (https://www.eq2interface.com/forums/showthread.php?t=9636)

FloridaFringe 11-12-2007 05:45 PM

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>


lordebon 11-12-2007 09:58 PM

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).

FloridaFringe 11-13-2007 12:20 AM

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.

Zonx 11-13-2007 03:16 AM

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.


All times are GMT -5. The time now is 06:08 AM.

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