WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   How to export creature portraits. (https://www.wowinterface.com/forums/showthread.php?t=57332)

pucelle 08-06-19 10:36 PM

How to export creature portraits.
 
Hi, I'm developing a WoW web app, I need the boss's round type portrait, just like what shown in the dungeon maps.

I did some research on it, and I already know I can get the portrait by calling an WoW interface API and passing a display id.

So is there a way to export the portraits as image files?

Thanks.

Ketho 08-07-19 03:45 AM

Quote:

Originally Posted by pucelle (Post 333066)
I did some research on it, and I already know I can get the portrait by calling an WoW interface API and passing a display id.

So is there a way to export the portraits as image files?


You mean specifically the round portraits with the displayID from EJ_GetCreatureInfo() and SetPortraitTextureFromCreatureDisplayID() ?

Since these are essentially cut-outs from model textures I don't think there is a way to export those, no
You might want to ask on wow.tools discord otherwise

pucelle 08-07-19 03:59 AM

Quote:

Originally Posted by Ketho (Post 333068)
You mean specifically the round portraits with the displayID from EJ_GetCreatureInfo() and SetPortraitTextureFromCreatureDisplayID() ?

Since these are essentially cut-outs from model textures I don't think there is a way to export those, no
You might want to ask on wow.tools discord otherwise

Yes, that's just what I want, I know it's very hard, so currently I guess I need to implement a plugin to show portraits in table for specified display ids and take screenshot, then parse them to portrait images.

Thanks very much.

By the way, I'm level 0 at wow AddOn...

Thubz 08-09-19 05:30 AM

Quote:

Originally Posted by pucelle (Post 333069)
Yes, that's just what I want, I know it's very hard, so currently I guess I need to implement a plugin to show portraits in table for specified display ids and take screenshot, then parse them to portrait images.

Thanks very much.

By the way, I'm level 0 at wow AddOn...

i use to take the files directly out of the game to create my UI, there is a portrait folder init aswell never checked whats init but might b what your looking for

https://wowwiki.fandom.com/wiki/Extr...nterface_files

pucelle 08-18-19 08:48 PM

Quote:

Originally Posted by Thubz (Post 333095)
i use to take the files directly out of the game to create my UI, there is a portrait folder init aswell never checked whats init but might b what your looking for

https://wowwiki.fandom.com/wiki/Extr...nterface_files

Thanks for your reply, I've tried this way and makesure it doesn't work.
After all, thanks for you very much.


All times are GMT -6. The time now is 06:36 PM.

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