Quantcast
Help needed. - ESOUI
Thread Tools Display Modes
06/01/22, 06:57 AM   #1
Aceybeast
Join Date: May 2022
Posts: 4
Question Help needed.

Any clue why this code dosent work? Some ranks get redirected correctly but some not and it's the same line of code so dont see why it dosent work.



function Shaiya.Initialize()
RedirectTexture("/esoui/art/mappins/skyshard_seen.dds", "")
RedirectTexture("/esoui/art/unitframes/ava_ranks_citizen.dds", "Shaiya/rank1.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_citizen.dds", "Shaiya/rank1.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_citizen.dds", "Shaiya/rank1.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_citizen.dds", "Shaiya/rank1.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_citizen.dds", "Shaiya/rank1.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_volunteer.dds", "Shaiya/rank2.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_volunteer.dds", "Shaiya/rank2.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_volunteer.dds", "Shaiya/rank2.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_volunteer.dds", "Shaiya/rank2.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_volunteer.dds", "Shaiya/rank2.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_recruit.dds", "Shaiya/rank3.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_recruit.dds", "Shaiya/rank3.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_recruit.dds", "Shaiya/rank3.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_recruit.dds", "‪Shaiya/rank3.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_recruit.dds", "‪Shaiya/rank3.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_tyro.dds", "Shaiya/rank4.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_tyro.dds", "‪Shaiya/rank4.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_tyro.dds", "Shaiya/rank4.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_tyro.dds", "‪Shaiya/rank4.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_tyro.dds", "‪Shaiya/rank4.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_legionary.dds", "Shaiya/rankLegi.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_legionary.dds", "‪Shaiya/rankLegi.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_legionary.dds", "Shaiya/rankLegi.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_legionary.dds", "‪Shaiya/rankLegi.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_legionary.dds", "‪Shaiya/rankLegi.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_veteran.dds", "Shaiya/rank6.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_veteran.dds", "Shaiya/rank6.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_veteran.dds", "Shaiya/rank6.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_veteran.dds", "‪Shaiya/rank6.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_veteran.dds", "‪Shaiya/rank6.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_corporal.dds", "Shaiya/rank7.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_corporal.dds", "Shaiya/rank7.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_corporal.dds", "Shaiya/rank7.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_corporal.dds", "‪Shaiya/rank7.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_corporal.dds", "‪Shaiya/rank7.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_sergeant.dds", "Shaiya/rank8.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_sergeant.dds", "‪Shaiya/rank8.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_sergeant.dds", "Shaiya/rank8.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_sergeant.dds", "‪Shaiya/rank8.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_sergeant.dds", "‪Shaiya/rank8.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_firstseargant.dds", "/Shaiya/rank9.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_firstseargant.dds", "‪Shaiya/rank9.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_firstseargant.dds", "Shaiya/rank9.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_firstseargant.dds", "‪Shaiya/rank9.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_firstseargant.dds", "‪Shaiya/rank9.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_lieutenant.dds", "Shaiya/rank10.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_lieutenant.dds", "‪Shaiya/rank10.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_lieutenant.dds", "Shaiya/rank10.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_lieutenant.dds", "‪Shaiya/rank10.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_lieutenant.dds", "‪Shaiya/rank10.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_captain.dds", "Shaiya/rank11.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_captain.dds", "Shaiya/rank11.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_captain.dds", "Shaiya/rank11.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_captain.dds", "‪Shaiya/rank11.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_captain.dds", "‪Shaiya/rank11.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_major.dds", "Shaiya/rank12.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_major.dds", "Shaiya/rank12.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_major.dds", "Shaiya/rank12.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_major.dds", "‪Shaiya/rank12.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_major.dds", "‪Shaiya/rank12.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_centurion.dds", "Shaiya/rank13.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_centurion.dds", "‪Shaiya/rank13.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_centurion.dds", "Shaiya/rank13.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_centurion.dds", "‪Shaiya/rank13.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_centurion.dds", "‪Shaiya/rank13.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_colonel.dds", "Shaiya/rank14.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_colonel.dds", "Shaiya/rank14.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_colonel.dds", "Shaiya/rank14.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_colonel.dds", "‪Shaiya/rank14.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_colonel.dds", "‪Shaiya/rank14.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_tribune.dds", "Shaiya/rank15.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_tribune.dds", "Shaiya/rank15.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_tribune.dds", "Shaiya/rank15.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_tribune.dds", "‪Shaiya/rank15.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_tribune.dds", "‪Shaiya/rank15.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_brigadier.dds", "Shaiya/rank16.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_brigadier.dds", "‪Shaiya/rank16.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_brigadier.dds", "Shaiya/rank16.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_brigadier.dds", "‪Shaiya/rank16.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_brigadier.dds", "‪Shaiya/rank16.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_prefect.dds", "Shaiya/rank17.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_prefect.dds", "Shaiya/rank17.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_prefect.dds", "Shaiya/rank17.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_prefect.dds", "‪Shaiya/rank17.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_prefect.dds", "‪Shaiya/rank17.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_praetorian.dds", "Shaiya/rank18.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_praetorian.dds", "‪Shaiya/rank18.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_praetorian.dds", "Shaiya/rank18.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_praetorian.dds", "‪Shaiya/rank18.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_praetorian.dds", "‪Shaiya/rank18.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_palatine.dds", "Shaiya/rank19.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_palatine.dds", "‪Shaiya/rank19.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_palatine.dds", "Shaiya/rank19.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_palatine.dds", "‪Shaiya/rank19.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_palatine.dds", "‪Shaiya/rank19.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_augustpalatine.dds", "Shaiya/rank20.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_augustpalatine.dds", "Shaiya/rank20.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_augustpalatine.dds", "Shaiya/rank20.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_augustpalatine.dds", "‪Shaiya/rank20.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_augustpalatine.dds", "‪Shaiya/rank20.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_legate.dds", "Shaiya/rank21.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_legate.dds", "Shaiya/rank21.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_legate.dds", "Shaiya/rank21.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_legate.dds", "‪Shaiya/rank21.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_legate.dds", "‪Shaiya/rank21.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_general.dds", "Shaiya/rank22.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_general.dds", "‪Shaiya/rank22.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_general.dds", "Shaiya/rank22.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_general.dds", "‪Shaiya/rank22.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_general.dds", "‪Shaiya/rank22.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_warlord.dds", "Shaiya/rank23.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_warlord.dds", "‪Shaiya/rank23.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_warlord.dds", "Shaiya/rank23.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_warlord.dds", "‪Shaiya/rank23.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_warlord.dds", "‪Shaiya/rank23.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_grandwarlord.dds", "Shaiya/rank24.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_grandwarlord.dds", "‪Shaiya/rank24.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_grandwarlord.dds", "Shaiya/rank24.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_grandwarlord.dds", "‪Shaiya/rank24.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_grandwarlord.dds", "‪Shaiya/rank24.dds")
RedirectTexture("/esoui/art/unitframes/ava_ranks_grandoverlord.dds", "Shaiya/rank25.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_grandoverlord.dds", "Shaiya/rank25.dds")
RedirectTexture("/esoui/art/ava/ava_rankicon_grandoverlord.dds", "‪Shaiya/rank25.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon_grandoverlord.dds", "‪Shaiya/rank25.dds")
RedirectTexture("/esoui/art/tutorial/ava_rankicon64_grandoverlord.dds", "‪Shaiya/rank25.dds")
end
  Reply With Quote
06/01/22, 07:09 AM   #2
Aceybeast
Join Date: May 2022
Posts: 4
Edit: Accidently posted here was going to post on lua help
  Reply With Quote
06/01/22, 02:25 PM   #3
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 388
I would think nobody can be sure as to why that is because the functions and the API do only what is approved. Meaning we don't have explicit documentation for what will and won't work. So this is unfortunately the best answer I'm afraid.

If you do that and you are certain your spelling and path is correct, if you reloaded the UI, and if you existed the game and logged in with the mod active and they still will not change then it is not permitted to change them. You can try deleting the ShaderCache.cooked file and try again.

I see a lot of AVA textures and I have my doubts about being allowed to change any of that. The reason I feel you have to accept a "just because" answer is for the simple fact that code can not be prejudice toward only certain operations unless there are restrictions.
__________________
Admin for TES5Edit, occasional LOOT masterlist contributor, and Wrye Bash contributor. I also maintain special Fallout 3 and Fallout NV versions of Wrye Flash.

Last edited by Sharlikran : 06/01/22 at 02:28 PM.
  Reply With Quote
06/01/22, 03:02 PM   #4
Aceybeast
Join Date: May 2022
Posts: 4
Yeah might be the AVA texture thing, cuz i have deleted the cache and tried everything so. Just seems weird that some work and some not.
  Reply With Quote
06/03/22, 09:40 AM   #5
Aceybeast
Join Date: May 2022
Posts: 4
Got it working for some reason cant edit legionary and after deleting that line of code it works
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Help needed.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off