Quantcast
ESOUI - View Single Post - [Question] Changing ability icon possible?
View Single Post
06/24/18, 02:25 PM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 3,088
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!
  Reply With Quote