Feature Request: Item Button Artifact and Azerite Regions
Jaliborc opened this issue ยท 15 comments
Please add regions for artifact and azerite item display. Blizzard's container item buttons, for example, call these regions .IconBorder
and .IconOverlay
. It seems they intend to use .IconOverlay
for future item types.
Sorry for the delay on this. A couple of things:
- Bagnon doesn't use the IconBorder region, it uses the Border region. I'm not sure if this is due to Masque not supporting the IconBorder or if it's just being reused.
- Only the size and offsets will be supported at the moment. The colors and textures are controlled by the game/add-on.
- Yes, Bagnon just lets the default UI code "do its own thing" to the
IconOverlay
andIconBorder
textures. - Alright
As I mentioned and if memory serves from my tests, Bagnon uses the Border
region, not the IconBorder
region. The default UI uses the IconBorder
region.
Ignore my previous comment. Bagnon actually uses a custom region. In any case, the latest alpha should address this, so closing.
From what I can tell from the code, it's only applicable to [inventory] item buttons. Does it display on an action button that has an equipped item on it? Do you have a screenshot of these regions in action? I don't actively play and from my understanding, I'd have to purchase the expansion and play awhile (to obtain the items) to even see it in action.
The tooltips also change from looking at Blizz's code, but that doesnt really matter for us and I didn't hack that.
I guess I shouldn't be surprised that they reused the jewel crafting corners, given that's basically all they've done (rehash rehashed content) for the last few expansions. :p I'm assuming that's the IconBorder
, so what's the overlay do?
Is Blizzard's version is getting misplaced in the stack or something? I can't imagine skin authors wanting to customize that layer, but I've been wrong before.
The bottom image is IconOverlay
. It shows over the normal artwork and its used to mark azerite items.
The top image is IconBorder
. It has been in the game since they started highlighting items by rarity. It is the normal quality colored artwork you see on the Supply Bag, and it is replaced by a different fancier texture, still colored by rarity, when an item is an artifact.
Basically they did a mess and implemented the two artworks in completely different manners. Looking at the code, they intend to use IconOverlay
to apply different artworks to future special item types, instead of using the messier IconBorder
system.
IconOverlay
is currently used. It marks azerite items.
You are correct about IconBorder
.
So the top image, IconBorder
, is the border that appears only on artifacts while normal items still use the old border without the corner trim, right? And IconOverlay
isn't currently used?
So, normal items still use the old border (rarity colors) and overlay (colored, blurred edges like on quest items) and it swaps the textures depending on if it's an artifact or Azerite item? IE, if it's Azerite, the Overlay
is swapped to the JC-like texture and if it's an artifact, the Border
is swapped to the other JC-like texture?
Almost. If its Azerite the Overlay
is swapped to the "Azerite Crystal" texture and shown (its normally a hidden layer). You got the artifact one right, which does texture swapping only and its not an independent layer.