WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   New 8.0 mainbar: I can no longer change the gryphons (https://www.wowinterface.com/forums/showthread.php?t=56413)

Ansi 07-22-18 03:04 PM

New 8.0 mainbar: I can no longer change the gryphons
 
I can no longer replace the Mainbar gryphons with different graphics as I could before this patch.

I've been trying to figure out what happened and this is what I've got so far.

It seems like Blizzard changed the path to the graphics with 8.0 when I'm looking at this supposed copy of WoW's ui textures: https://github.com/Gethe/wow-ui-text...ve/MainMenuBar.
As far as I can see this one is new.




Surprisingly it seems to hold all the elements in 1 single image - and if that is the case, that would explain why I cannot replace any graphic (.BLP), like UI-MAINMENUBAR-DWARF, with my own anymore.


It looks like this:





So... How do I fix that? Do I have to edit the image with all those elements in it just to replace the gryphons?


I appriciate all the help I can get here. Thanks in advance.


/Ansi

zork 07-23-18 03:24 AM

Maybe Blizzard is using the texture atlas for the gryphons now?
The atlas references a texture file and a texcoord to grab the specific part of that texture. Like a sprite texture.

I have not looked into actionbars yet. Hopefully updating rActionBar will not be that bad. :fingerscrossed:

Kanegasi 07-23-18 05:10 AM

You can try replacing the texture using Lua and SetTexture or however it works. The gryphon frames are delacred as these now:

MainMenuBarArtFrame.LeftEndCap
MainMenuBarArtFrame.RightEndCap

Miiru 07-23-18 10:44 AM

Quote:

Originally Posted by zork (Post 328890)
Maybe Blizzard is using the texture atlas for the gryphons now?

Yes they do :)

candrid 07-28-18 07:29 AM

Quote:

Originally Posted by Miiru (Post 328904)
Yes they do :)

Sorry to re-up this thread.

Does that mean we have to do our textures in the same manner or can I just make tga like normal?

zork 07-28-18 12:08 PM

You should be able to use the same texture as before but this time around replacing just the texture image is not enough. You either adjust the texture sprite that is used in the atlas (if that is even possible) or you need to reset the texture of each gryphon to the old one.

Ansi 07-30-18 01:06 AM

Quote:

Originally Posted by zork (Post 329125)
You should be able to use the same texture as before but this time around replacing just the texture image is not enough. You either adjust the texture sprite that is used in the atlas (if that is even possible) or you need to reset the texture of each gryphon to the old one.

Complicated! Thanks, Zork, and everyone else.


All times are GMT -6. The time now is 11:39 AM.

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