#Export retail texture for use in classic
15 messages · Page 1 of 1 (latest)
That file (4719247) is a texture atlas. It contains all the pala holy power stuff
The things you listed there are sub textures/atlas members of that atlas
The file you need is simply 4719247
all it is is a big picture with many smaller pictures in it
if you make it as a progress texture, that allows you to recenter x and y and crop etc. to make it only display the subelement you want
you'd just have to remove any progress obviously
otherwise you can make it a texture aura and use https://warcraft.wiki.gg/wiki/API_TextureBase_SetTexCoord on it
if I run https://warcraft.wiki.gg/wiki/API_C_Texture.GetAtlasInfo to get the atlas info for e.g. uf-holypower-runeholder, I get this:
So I know the 4 tex coords, and I know the width and height setting.
So I use 4719247 as my texture (the atlas), set width to 150 and height to 43, then I go to actions -> on init -> custom and paste
local tex = aura_env.region.texture.texture
if tex then
tex:SetTexCoord(0.001953125, 0.294921875, 0.859375, 0.943359375)
end
and instead of this:
I get this: