Thread Tools Display Modes
11-05-22, 12:37 PM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
Map Art for Shadowlands ?

In my MagePorts addon I used the following to get the map image for my continent buttons

Lua Code:
  1. addonData.TaxiMaps =
  2. {
  3.     [1] = { --Kalimdor
  4.         mapID = 12,
  5.         mapTexture = "TAXIMAP1",
  6.     },
  7.     [2] = { -- Eastern Kingdoms
  8.         mapID = 13,
  9.         mapTexture = "TAXIMAP0",        
  10.     },
  11.     [3] = { -- Outland
  12.         mapID = 101,
  13.         mapTexture = "TAXIMAP530",        
  14.     },
  15.     [4] = { -- Northrend
  16.         mapID = 113,
  17.         mapTexture = "TAXIMAP571",        
  18.     },
  19.     [5] = { -- Pandaria
  20.         mapID = 424,
  21.         mapTexture = "TAXIMAP870",        
  22.     },
  23.     [6] = { -- Draenor
  24.         mapID = 572,
  25.         mapTexture = "TAXIMAP1116",        
  26.     },
  27.     [7] = { -- Broken Isles
  28.         mapID = 619,
  29.         mapTexture = "TAXIMAP1220",        
  30.     },
  31.     [8] = { -- Zandalar
  32.         mapID = 875,
  33.         mapTexture = "TAXIMAP1642",        
  34.         mapFaction = "Horde",
  35.     },
  36.     [9] = { -- Kul'Tiras
  37.         mapID = 876,
  38.         mapTexture = "TAXIMAP1643",        
  39.         mapFaction = "Alliance",
  40.     },
  41. }

These images are still in the TAXIFRAME folder of Interface but there doesn't seem to be one for Shadowlands and I suspect not for Dragonflight either..

The mapIDs are still the same pointing to 1550 for Shadowlands but the only texture numbers of files in existanceare 10 to 150 long lists of texture numbers ... not the 9 at most for nineslicing I was expecting at worst.

Does anyone know of a way to get a smaller list of textures or even a single texture for the Shadowlands continent map and eventually the Dragonflight continent map ?

And, worse case scenario, how would I arrange those texture numbers into a small button texture ?

Thanks in advance for any info you can provide.


Edit:
It seems the list of texture numbers can be used with a MapCanvas object - probably not ideal for button use though. https://github.com/tomrus88/Blizzard...lLayer.lua#L46

Edit2:
Going through Canvas or creating my own mini canvas doesn't work. Unable to increase the number of map tiles ( to make smaller segments ) as it makes the script run too long and error out. And this wasn't as small as I needed it.

Might have to forego on the continent map buttons and re-do the addon yet again. Might be able to have Continent NAME buttons. I am assuming the name returned by the map functions are localized.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 11-05-22 at 01:37 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Map Art for Shadowlands ?


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