EQ2Interface.com
Search Downloads


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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 11-25-2008, 08:13 PM
Genen Genen is offline
A Young Mystail Rat
 
Join Date: Feb 2005
Server: Blackburrow
Posts: 5
Default Dynamic Data

I'm trying like hell to understand dynamic data. I am looking at different UI Pieces. Groupmembers, guild, etc. I know that the eq2ui_gamedata.xml file provides a list of all available dynamic data. I get that.

I was able to toss a FPS label on a window and use the "FRAMESPERSECOND" dynamic data to populate that text object and it worked.

However, look at this code. This is a line straight from the default guild window. This is in the memberRow page where it places the guild rank of the character. This appears to be assigning a specific guildrank image 'Rank0Style'. If I double click the style I can see it follow back to the source image. How does this magically show up as the correct rank in the guild window? I don't see any dynamic assignment going on in that memberRow object. The raid window is the same way - the group members have a hard coded image style (priest, fighter) and yet magically the correct image shows up when in game.

Code:
 <Image BackgroundColor="#FFFFFF" GetsInput="true" Location="3,3" Name="GuildRank" PackLocation="fixed,fixed" PackSize="fixed,fixed" ScrollExtent="18,18" Size="18,18" Stretch="false" Style="rankstyles.rank0style" />
Where or how does it know to assign the guildrank of the person in the memberRow to the correct image? Why isn't the style pointing to some dynamically assigned value?

Whan I set the DynamicData field in an object, where does the client stick that data? What field in the current object that requests the Dynamic data gets populated with the result?

If I can ever grasp this I think the 'doors' will open. I'm just pouring over the forum and UI code but I'm missing something.

I am using both the UIbuilder and just the XML file itself to figure this out.

I appreciate all of you taking the time to read these forums and assisting us noobs that are new to the UI field. I have some great GUI ideas but damn it's slow going at first.

Genen
Reply With Quote
 



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 06:01 AM.


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