View Single Post
12-30-17, 09:53 AM   #4
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Sounds to me like, they may have done the same thing with texture paths than they did with sound paths, and replaced them all with numerical IDs.

You can display the textures by just using their ID, still, if that's what you're aiming to do. Just quick example:

lua Code:
  1. local f = CreateFrame("frame")
  2. f:RegisterEvent("PLAYER_LOGIN")
  3. f:SetScript("OnEvent", function()
  4.     f.texture = f:CreateTexture(nil, "OVERLAY")
  5.     f.texture:SetTexture(1616898)
  6.     f.texture:SetPoint("CENTER", f)
  7.     f.texture:SetSize(50, 50)
  8.     f:SetFrameStrata("HIGH")
  9.     f:SetSize(50, 50)
  10.     f:SetPoint("CENTER", UIParent)
  11. end)

Pretty sloppy example but it displays the icon for one of the mounts in the center of the screen, whose icon ID I picked out at random.

People made a list of SoundKitIDs relative to their path before, idk if anyone may have done the same to textures.

http://www.wowinterface.com/forums/s...ad.php?t=53918

Last edited by Ammako : 12-30-17 at 09:58 AM.
  Reply With Quote