EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-20-2009, 01:25 PM
Lanadad Lanadad is offline
A Crazed Gnoll
 
Join Date: Apr 2005
Server: Splitpaw
Posts: 21
Question Concept: Spell Affect filtering

Not having digged into code yet, I was wondering if this can be done at all.

Goal:
Show a second "Spell Affects" window that shows only predetermined affects.

Reason:
Not all spell affects are sent to logfile, unfortunately. But they are visible in the spell affect window.

Approach so far:
- Copy/paste the existing spell affects xml
- Rename and <include>
- Shorten to 10 instead of 45 icon spaces
- Add a condition that is true/false on spellname:
Code:
COND=(Parent.Name.Text == &apos;Water Bubbles&apos;)
- Use condition to influence Visibility of affect.
Code:
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" MouseOverColor="#FFFF00" Name="Effect1" Size="24,24" TreatAsButton="true" Visible="COND=(Parent.Name.Text == &apos;Water Bubbles&apos;)"/>
Been digging through existing xml files in the UI dirs and found some code that could perhaps support the above, but so far haven't been able to get it to work as intended.

Questions:
1) Is Visible="True" available for affect icons in the volume page tag?
2) What variable holds the actual spellname? Parent.Name.Text doesn't seem to hold any spellnames? Or should I look for the spellnamecode?
3) Does anyone have a tip on how to approach this?

Thank you in advance for your responses.

Last edited by Lanadad : 03-20-2009 at 01:27 PM.
Reply With Quote
  #2  
Unread 03-21-2009, 05:09 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

There are no variables for the actual spellname, you only get the tooltip, so you can't do this.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 03-21-2009, 12:33 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Yeah, maybe Maintained spells... but that's all for messing with dynamic data.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
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 03:21 AM.


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