EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-11-2012, 09:53 PM
Adcid Adcid is offline
A Young Mystail Rat
 
Join Date: Jan 2012
Server: Unkown
Posts: 2
Lightbulb Spell Effects in "eq2ui_mainhud_player.xml"

Ive been working to add Spell Effects into my main player window. Not as easy as it seems. I was able to simply copy and paste "Maintained Effects".



The Code I copied over looks easy enough, but when transferred over, the background items show up, not the spell gems or tool tips.

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="956,487" MaximumSize="1024,1024" MinimumSize="42,42" Name="Effects" PackLocation="right,bottom" ScrollExtent="68,232" Size="68,232" Tooltip=":420d9f72d322771c:Spell Effects" UserMovable="true" UserResizable="true" UserScrollable="false">
    <VolumePage AbsorbsInput="false" CellCount="6,8" CellSelectable="false" CellSize="25,25" Location="7,7" MinimumScrollExtent="164,218" Name="Volume" PackSize="absolute,absolute" ScrollExtent="164,219" Size="55,219" UserScrollable="false" VolumeFill="auto">
        <Icon BackgroundTint="#000000" IconStyle="/IconStyles.effect" Location="28,192" MaximumSize="25,25" MinimumSize="25,25" MouseOverColor="#FFFF00" Name="Effect1" ScrollExtent="25,25" Size="25,25" TreatAsButton="true" />
 </VolumePage>
    <Page AbsorbsInput="false" Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="68,232" Size="68,232">
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="68,232" Size="68,232" />
        <Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="2,2" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="65,228" Size="65,228" />
    </Page>
</Page>
Any ideas why the when "eq2ui_mainhud_effects.xml" is moved into Player.xml the spells dont show up.
Reply With Quote
  #2  
Unread 01-11-2012, 11:08 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

The effects window uses no dynamic data, and it's information gets populated by the server most likely only due to the window's name and elements inside of it. There's probably no way to port it into another window.

You could possibly think about making that window your base window however...
__________________
"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
  #3  
Unread 01-12-2012, 05:07 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

There's probably stuff in the Player window that won't work outside as well.

It'd be safest to override both windows and have the Player window move the Effects window over itself via scripting. Assuming OnMove fires correctly when first loading the UI.
Reply With Quote
  #4  
Unread 01-14-2012, 01:19 AM
Adcid Adcid is offline
A Young Mystail Rat
 
Join Date: Jan 2012
Server: Unkown
Posts: 2
Default

Used "Effects" to build the Player window and works like a charm. All features are working fine. Now to start working on my other projects. Ive just made the player window not visable to avoid redundancy.
Reply With Quote
  #5  
Unread 01-16-2012, 08:10 AM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Hmm, I was fairly certain that at least the detrimental type(ele/nox/mag/tra/cur) icons/count from the player window wouldn't transfer over to another window correctly. Possibly name coloring for auto-attack/group leadership, but I see you don't even list the character name.
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 12:33 AM.


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