Mini Skill Window Beta
1 Attachment(s)
The beginnings of the mini harvesting skill window. It's a modded persona window as per the discussion in the request forum, as well as a custom window that needs to be added to eq2ui_custom.xml:
<include>eq2ui_custom_miniskill.xml</include> To show the window use /show_window Custom.MiniSkill The custom window will display ? / ? for some stats until you get an update, zone, or mouseover the skill in the persona window. Things that aren't working quite right: 1) Initializing. Working backwards might be possible, but each skill is given a #. To access Gathering from the miniskill window, use: Code:
Parent.Parent.Persona.MainPage.TabPages.Skills.SkillTabPages.InnerPage.Utility.Frame.UtilityComposite.CategoryTemplate.Composite.1048513601.Status.Text 3) "Safe Fall" The space seems to prevent that skill from updating properly. So, have some fun with this. --- Interesting side effect, when skills are modified up or down, they appropriately turn red or green. |
Quote:
In the request thread the way I was thinking about doing it was pushing the Name and Status values OnTextChanged from the persona window to the custom window onto a button there which would simply do text comparisons to assign them to the relevant text objects on the custom window. The custom window could inject the OnTextChanged code into the Persona window during runtime so you do not need to mod that. However since you have those numbers you could simply make OnTextChanged hit a button in the custom window which then polls all the values directly, much nicer. That should also make all your problems and limitations go away. |
I've got most of it sorted out, but I've run into a sticking point with multiple composites that have the same name. Working from the persona window, I can find the path to a skill. However, if that skill isn't in the topmost composite on a page, I can't access it from outside.
Using the OnHoverIn=Parent.Parent.Name method, both Safe Fall and Fishing share a common path, but they don't. Somewhere between UtilityComposite and CategoryTemplate, the composite elements are being indexed and I haven't figured out how to access beyond the first. This hides the top group on the General Tab: Code:
Parent.Parent.Persona.MainPage.TabPages.Skills.SkillTabPages.InnerPage.Utility.Frame.UtilityComposite.CategoryTemplate.Visible=False Code:
Parent.Parent.Persona.MainPage.TabPages.Skills.SkillTabPages.InnerPage.Utility.Frame.UtilityComposite.Visible=False CategoryTemplate_1 'CategoryTemplate 1' CategoryTemplate(1) CategoryTemplate[1] CategoryTemplate.1 And, I got the #'s (and the path to them) like this: Code:
<Page BackgroundOpacity="1.000" Location="36,163" Name="SkillTemplate" PackSize="a" RStyleDefault="/SpecialElements.SkillProgressBar.data.bkg.rect" ScrollExtent="269,32" Size="269,32" Visible="false"> |
All times are GMT -5. The time now is 08:55 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI