Joined: Thu Jan 23, 2003 8:13 pmPosts: 1553Location: A shallow water area south of Bree

The "Press <control> to compare" functionality in tooltips and the various equipment/inventory dialogs is nice, but it does have some annoyances, like comparing a ring to the wrong worn ring, or having to step out of the archery shop to swap your bow and arrows back out of the second weapon set so you can compare them to stuff in the store. Well, I think I've finally figured out the right spot to hijack it and the right UI to handle it, so I give you my new Enhanced Object Compare addon.

Here's what the addon does:

Tells you at the top of the tooltip or text zone specifically what you're currently comparing against.

While you're holding down <control>, tapping <shift> will cycle through all the appropriate equipment slots.

Now, the cycle order is as follows:

For most weapons, it goes main hand, psionic focus, second weapon set main hand, second weapon set psionic focus.

For weapons that can be wielded in the off hand (daggers, or one-handed weapons for dual wielders), that changes to main hand, off hand, psionic focus, second weapon set main hand, second weapon set off hand, second weapon set psionc focus.

For things like shields that can only be wielded in the off hand, and for ammo in the quiver slot, it just cycles between main slot and second weapon slot.

Rings cycle between your worn rings.

Everything else only has one candidate slot anyway.

Note that it won't try to skip comparisons that don't make sense, like comparing a sword to a bow, on the premise that if you meant to compare that sword to a sword in another slot, you can just cycle to it.

I'm gonna float this out in the wild for more testing before merging it into ZOmnibus; had some weird bugs in there for a while (like it trying to compare a shield to a sword), and I want to make sure I've got all those shaken out.

Joined: Thu Jan 23, 2003 8:13 pmPosts: 1553Location: A shallow water area south of Bree

HousePet wrote:

Shields can potentially be worn in other slots.Perhaps scan all equipped slots for matching base item types instead of hardcoding slot checks?

[sound F/X: source diving] Ah, no worries, it already does the right thing by accident. See, it's not hardcoding by object type, but by what equipment slots the object says it can be wielded in --- and if you have the Stone Warden's Stoneshield talent, shields report themselves as being wieldable in both mainhand and offhand, just like Corrupted Strength works with one-handed weapons, so it works out with the same cycle.

I did discover in testing, though, that floor object tooltips weren't updaing properly when tapping <shift>. That's fixed now in v1a, along with a couple text tweaks: if there's more than one candidate object to compare with, we add e.g. "(1 of 2)" to the note at the top about which object we're comparing against, and also a "Press <shift> to cycle through choices" note at the bottom.

_________________"Blessed are the yeeks, for they shall inherit Arda..."

With Marson's much appreciated help, I've finally managed to push to Steam updated versions of Enhanced Object Compare and ZOmnibus with the bugfix I mentioned above. Let me know if this fixes the problem.

_________________"Blessed are the yeeks, for they shall inherit Arda..."

Joined: Thu Jan 23, 2003 8:13 pmPosts: 1553Location: A shallow water area south of Bree

Just to tease you with a preview, I'm working on modifications to this addon that will allow you to use <control> to compare runes and infusions in your inventory or a store's inventory with corresponding inscriptions already inscribed on your body. Here's a screengrab of what I've got so far, to give you an idea where I'm going with this:

Attachment:

inscription-compare.png [ 123.58 KiB | Viewed 4438 times ]

Now, this will probably take a while, as this part of the code appears to be particularly convoluted, so I figured I'd take the opportunity to get some feedback on what sort of stuff people would like to see here.

_________________"Blessed are the yeeks, for they shall inherit Arda..."

Joined: Thu Jan 23, 2003 8:13 pmPosts: 1553Location: A shallow water area south of Bree

Zizzo wrote:

Just to tease you with a preview, I'm working on modifications to this addon that will allow you to use <control> to compare runes and infusions in your inventory or a store's inventory with corresponding inscriptions already inscribed on your body.

Keeping my fingers crossed that I found all the bugs, because it just went out as v3. I also took the opportunity to fix <shift>-cycling in store dialogs.

_________________"Blessed are the yeeks, for they shall inherit Arda..."

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum