Thread Tools Display Modes
07-22-22, 07:09 AM   #1
heliosw123
A Kobold Labourer
Join Date: Jul 2022
Posts: 1
Replace DK rune textures

Hey. Real amateur here so bear with me:

I've been trying to replace the textures of the DK runes with the old ones used in Wrath. There used to be addons which did this (RuneReplacement and Rune-It-All) but none of them have been updated recently and don't seem to work with Shadowlands.

This is what I tried to make do with after looking at the runes with /fstack (this is sadly the extent of my capabilities):

Code:
	RuneFrame.Rune1.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune2.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune3.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune4.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune5.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune6.Rune:SetTexture("Interface\\AddOns\\Runes\\1")
	
	RuneFrame.Rune1.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune2.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune3.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune4.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune5.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune6.EmptyRune:SetTexture("Interface\\AddOns\\Runes\\1")
	
	RuneFrame.Rune1.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune2.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune3.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune4.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune5.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
	RuneFrame.Rune6.Rune2:SetTexture("Interface\\AddOns\\Runes\\1")
Now I have two problems. The first one is that while this works, it stops working as soon as I use a rune. The unused runes then revert to their original icon and so do the used ones once they cool down. I'm clearly missing something obvious here. Any ideas?

Problem number two is something that I planned on doing once I got this working by looking at others' code but I haven't found anything yet so I ask here. How do I set individual textures for different specs? I've just been working on Blood runes now but I would like to do the same thing here with Unholy and Frost. Right now this replaces the runes for all three specs even though I would like this to be Blood only (and then the same with the other specs of course).

Hope I've made myself clear and apologies again for being completely inept at this! Any help would be appreciated. Cheers.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Replace DK rune textures


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