ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Graphics Help (https://www.esoui.com/forums/forumdisplay.php?f=176)
-   -   [Question] Changing ability icon possible? (https://www.esoui.com/forums/showthread.php?t=7892)

Jerkling 06/24/18 11:09 AM

[Question] Changing ability icon possible?
 
i was just wondering if it is possible to change the image for the icon an ability uses? i'm particularly interested in whether the icons for the Grim Focus morphs Relentless Focus and Merciless Resolve could be swapped as i feel the purpleish icon looks much more like the magicka version of the skill.

Baertram 06/24/18 02:25 PM

http://www.esoui.com/forums/showthread.php?t=5258

-> Function
Lua Code:
  1. RedirectTexture("/esoui/art/buttons/gamepad/xbox/nav_xbone_a.dds", "/esoui/art/buttons/gamepad/ps4/nav_ps4_x.dds")

Sometimes buggy though. You'd need to find the texture names via the addon zgoo by using /zgoo mouse above the action slots and search for the child controls of the type CT_TEXTURE or CT_BUTTON. They have some functions like GetTextureNamePath or onClickedTexture, onMouseOverTexture etc. which show you the .dds filenames.

Be sure to logout after you changed the textures in your addon code AND delete the file shader_cache.cooked in the c:\user\username\documents\Elder Scrolls Online\live directory or the textures won't exchange properly!

Jerkling 06/26/18 02:25 PM

great, thank you so much, Baertram.

Shinni 06/26/18 02:29 PM

Quote:

Originally Posted by Baertram (Post 35140)
Be sure to logout after you changed the textures in your addon code AND delete the file shader_cache.cooked in the c:\user\username\documents\Elder Scrolls Online\live directory or the textures won't exchange properly!

I want to stress this part. This also applies when deactivating your addon. Be prepared for bug reports where users disable your addon, but the texture does not revert to the original.


All times are GMT -6. The time now is 01:12 PM.

vBulletin © 2019, Jelsoft Enterprises Ltd
© 2014 - 2019 MMOUI