WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Using the item slot "icons" in my own addon (https://www.wowinterface.com/forums/showthread.php?t=36469)

Zealer 11-01-10 08:45 PM

Using the item slot "icons" in my own addon
 
Hi,

Does anyone know if it's possible to use the item slot icons or images that are displayed when you click on your portrait? I'd like to reuse these images for my own addon I just don't know if I am going to have to dump a screenshot and modify them all individually, or if they are out there and I can pull them up somehow.

Thanks!

Zealer

Ailae 11-01-10 09:00 PM

If they're part of the stock UI, they are available, just a matter of finding the name of it. I'm not sure what you mean so can't tell where to look specifically.

There's an online browser available at the link below, not sure if it's totally up to date with the latest 4.0.1 patch, but maybe your art is there.

http://wowprogramming.com/utils/artbrowser

Zealer 11-01-10 09:13 PM

Thanks for the quick reply. This definitely helps. I'm looking for the equipping items screen where you can drop your items into your wearable slots. Helm, Shoulders, Belt etc.

Ailae 11-01-10 09:35 PM

That would be the PaperDoll-frame.

http://wowprogramming.com/utils/artbrowser/PaperDoll

Duugu 11-01-10 09:39 PM

Quote:

Originally Posted by Zealer (Post 215830)
Thanks for the quick reply. This definitely helps. I'm looking for the equipping items screen where you can drop your items into your wearable slots. Helm, Shoulders, Belt etc.

API_GetItemIcon returns the items texture name and path.

Most (all?) item textures are located in "Interface\Icons".

[edit]
doh ... misunderstood that

Zealer 11-02-10 05:31 PM

Sweet
 
Ailae, those are exactly what I was looking for. What path would I use to access those?

Thanks again for the help!

Ailae 11-02-10 06:43 PM

http://wowprogramming.com/utils/artbrowser

translates into

<GameDir>\Interface\

But those files are packaged into the MPQ-archives so they won't be readily available right off the bat. You can however download them from Blizzard at the url below, just grab the artpack and the folder structure will look familiar from what you saw in the artbrowser. The files are .blp though, so you might need to get some software to view them (I believe XnView does a good job of this).

http://us.blizzard.com/support/artic...rticleId=21466

Zealer 11-02-10 09:06 PM

Works!
 
Thanks Ailae!

That allowed me to get the proper file names and I got it working!

Appreciate all the help.


All times are GMT -6. The time now is 04:59 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI