Garrison Follower Item Level API
Has anyone worked with garrison followers already?
Is it possible to generate a tooltip/info window in the follower overview that generates the follower items and itemlevel? API: http://wowprogramming.com/docs/api The following functions sound interesting
Useful files seem to be: https://github.com/tekkub/wow-ui-sou...werTooltip.lua https://github.com/tekkub/wow-ui-sou...werTooltip.xml https://github.com/tekkub/wow-ui-sou...werTooltip.lua https://github.com/tekkub/wow-ui-sou...werTooltip.xml https://github.com/tekkub/wow-ui-sou...ard_GarrisonUI That button on the minimap seems to link to: https://github.com/tekkub/wow-ui-sou...andingPage.lua https://github.com/tekkub/wow-ui-sou...gPage.xml#L573 Hmm... There are frames for itemArmor, itemWeapon and itemAverageLevel already. https://github.com/tekkub/wow-ui-sou...gPage.xml#L797 Interesting...actually the info should be there. Here is the condition that will show items for a given follower. https://github.com/tekkub/wow-ui-sou...lates.lua#L787 GarrisonFollowerPage_SetItem generates the items and shows the frame if items are found. https://github.com/tekkub/wow-ui-sou...lates.lua#L595 Hmm. So the info should be there right? Maybe sth on the condition is odd preventing it from firing properly. Hmm yeah. Actually there is. The condition checks for landing page. And the item level is not displayed if isLandingPage is true. But what other follower lists do we have? Hmmm.... I'm curious what this might do lua Code:
|
Addon is finished and working.
http://www.wowinterface.com/download...owerItems.html |
Hey zork love the addon! Now that you have some XP with the Garrison UI I have a request for the Garrison Mission Tabel :p. I'd like to have it more informative. Currently all important informations are hidden untill you klick the mission or the info only shows up on mouseover in a tooltip making it hard to compare what missions are the best to do.
I have made a small mockup to show what it coud look like: 1. Display needed Followers for a mission as Icon with Number on it ( I have used the Battelnet Chat icon here) 2. Display Icons of Ability and mission Types without having to mouseover them 3. Make borders or a checkmark onto the icons that show up in red or green if you have a follower to counter this spell (4. Optional on the left side: Show max possible sucessrate with the followers you have currently available - still not shure if possible) |
|
Quote:
Thanks for the hint! Looks very promising! |
I've been looking into modifying the GarrisonUI myself. Making the list show more mission detail seems like a good idea I might start working on. Among the list Tonyleila suggested, I'd like to see the base exp on the list as well. I was looking into making the remaining time display for in progress missions more accurate and change it into a different format, but it seems that is given to us as the string you see on each button.
Currently, I'm trying to write code for the missions to automatically claim rewards and turn in. With none of the Garrison API documented yet, it's proven a challenge, but I'm making some headway into getting it working. It's bugged me since beta that they're forcing us to wait for animations to play through in order to do so. |
Quote:
|
Quote:
|
Quote:
|
Currently MMOC shares this 2 great addons:
Master Plan (Looks 99% like my mockup :D) Garrison Mission Manager (This is what I needed!) |
Quote:
|
All times are GMT -6. The time now is 12:23 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI