Download
(93 Kb)
Download
Updated: 04-29-13 12:59 AM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:04-29-13 12:59 AM
Created:09-07-12 11:22 PM
Downloads:2,289
Favorites:22
MD5:
Light'n'Stylish Minimap (Fan Update)
Version: 3
by: fostic_popcorn [More]
The original author is Fellrond and all credit goes to him.

I fell in love with this minimap addon and couldn't do without it for MoP. So I fixed it up (it broke because the BG queue functionality was deprecated) and decided to post it as its own addon, in case other people liked it too. However if I am stepping on anybody's toes I will be more than happy to take this down.

Features:
- Square
- Coordinates
- Access to Tracking
- Access to Calendar
- Access to Clock functions
- Scrollwheel zooms the minimap
- /rl command to reload ui (useful shortcut)
- Low memory usage

Customization:
Is done via fairly simple lua editing. See the 2nd screenshot in the preview.

Future Ideas:
- A better-looking "new mail" icon (if people request it)

I can try and tackle other requests people may have... But keep in mind I'm not actually a real programmer, I just go in and mess around with other people's code
v3_ _ _ _

I 99.9999% sure that I finally nailed that stupid bug with the Minimap hiding the coord/clock frames with this update.

v2.95_ _ _ _

Functionality: I accidentally broke hovering over blipsticks whilst messing with FrameLevel. Everything should be working once more with this update.

v2.9_ _ _ _

Cosmetic: Fixed FrameStrata shenanigans that was causing the minimap to overlap on top of the coord & clock frames.

v2.8_ _ _ _

Minor pet battle UI fix. Following how the normal minimap behaves, all of LnS's frames will now also be hidden during pet battles. This is a minor cosmetic fix, so if you don't pet battle or this doesn't bother you, it's not a necessary update. :)

v2.75_ _ _ _

Added scrollwheel zooming.

v2.5_ _ _ _

Clock functionality now takes advantage of the Blizzard's, so you can now clickthrough for more options (Set 24h/Set Local vs Realm Time)

Also tweaked the calendar font so that the text always centers horizontally.
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
2.95
93kB
fostic_popcorn
03-19-13 10:04 PM
2.9
93kB
fostic_popcorn
03-19-13 09:33 PM
2.8
93kB
fostic_popcorn
11-02-12 05:10 PM
2.75
93kB
fostic_popcorn
09-14-12 08:45 PM
2.5
92kB
fostic_popcorn
09-12-12 10:38 PM
2
93kB
fostic_popcorn
09-07-12 11:22 PM


Post A Reply Comment Options
Old 04-29-13, 01:02 AM  
fostic_popcorn
A Murloc Raider
 
fostic_popcorn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 53
Uploads: 2
Hey anon, sorry it took so long to get back to you.

The problem with the coords not showing up was that the minimap would be triggered by something (opening certain frames?) which would for some reason dynamically add frame levels to the minimap and thus cause the minimap to overlap and hide the coordinate bar. This only started happening last patch (5.2) for whatever reason...not sure what Blizzard changed.

My solution for now is to set the strata of the coord & clock bar to be a strata above the minimap (Medium) and hope that it doesn't interfere with anyone's UI.

Sorry if anyone was getting irritated by the bars randomly disappearing!
fostic_popcorn is offline Report comment to moderator  
Reply With Quote
Old 04-13-13, 04:56 AM  
anonplayer
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
How do you get it to show the coordinates? I'm not seeing any.

UPDATE: Fixed
Last edited by anonplayer : 04-13-13 at 05:10 AM.
anonplayer is offline Report comment to moderator  
Reply With Quote
Old 09-17-12, 04:16 PM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
edit:

in addition to the instance difficulty flag code use this to move the guild flag too.
Code:
   MiniMapInstanceDifficulty:ClearAllPoints()
   MiniMapInstanceDifficulty:SetPoint("TOPRIGHT", Minimap, "TOPRIGHT", 0, 0)
   GuildInstanceDifficulty:ClearAllPoints()
   GuildInstanceDifficulty:SetPoint("TOPRIGHT", Minimap, "TOPRIGHT", 0, 0)
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Last edited by Gallahead : 09-17-12 at 11:48 PM.
Gallahead is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 08:46 PM  
fostic_popcorn
A Murloc Raider
 
fostic_popcorn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 53
Uploads: 2
Show Map redux:

Hit enter after QueueStatusMinimapButtonBorder:Hide() and paste:

Code:
   MiniMapWorldMapButton:SetNormalTexture(nil)
   MiniMapWorldMapButton:SetPushedTexture(nil)
   MiniMapWorldMapButton:SetAllPoints(lctn_bar)
Look for _G["MiniMapWorldMapButton"], and either delete the line or comment it out:

Code:
--   _G["MiniMapWorldMapButton"],
@Frayol Unfortunately I couldn't figure out how to get the lctn_bar frame to respond to clicks or to toggle the worldmapframe. I'm a very very amateur coder... *tears* So I did the next best thing (I think?)

However it will work.

I've also updated LnS to support scrollwheel zooming as requested! If anything else is needed or if people want to further customize the addon to suit their needs, feel free to ask!
fostic_popcorn is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 01:25 AM  
fostic_popcorn
A Murloc Raider
 
fostic_popcorn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 53
Uploads: 2
@Frayol: That is an AMAZING idea. Thank you for suggesting it!! goldman, if would like that fuctionality (clicking on zone text to open map), I can get that code to you sometime tomorrow.

Also I didn't actually know anyone wanted scroll fuctionality haha >.>. I'll take a look into that sometime this weekend!
fostic_popcorn is offline Report comment to moderator  
Reply With Quote
Old 09-13-12, 04:26 PM  
goldman1337
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
thanks for the help! i'll try to get used to pressing M(should've done that a long time ago).
can't wait for scroll zoom though =P
goldman1337 is offline Report comment to moderator  
Reply With Quote
Old 09-13-12, 04:39 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Originally Posted by fostic_popcorn
For #2, showing the map button: Unfortunately I can't see myself using that (I always hit M), so that won't make it into the actual addon - but here's the code for it if you want it to change personally:
Just as a matter of interest, wouldn't it be fairly easy to add a click option of ToggleFrame(WorldMapFrame) to say the location bar? That way you'd get the functionality to open the map and no ugly/extra icons on display. Just a thought.
Frayol is offline Report comment to moderator  
Reply With Quote
Old 09-12-12, 11:34 PM  
fostic_popcorn
A Murloc Raider
 
fostic_popcorn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 53
Uploads: 2
Originally Posted by goldman1337
ummm, is there a way to restore the alarm function to the clock? when i click it the pop up wont appear...

EDIT: also the "show map" button is kinda of a big loss, is there any way to open it?
Wow, would you believe I've been using this minimap addon for so long I'd completely forgotten you could actually click on the clock for extra options? (Partially because there's no slash command to bring up that window like /cal and /sw).

After checking it out I decided to change the clock functionality so it's no longer generated by the addon but instead uses Blizzard's. This way, you can clickthrough as you requested, and easily change it between 24 & 12 hrs / realm time and local time. Thanks for letting me know about that as I really do like this feature. It should be downloadable now from the latest version of this addon


For #2, showing the map button: Unfortunately I can't see myself using that (I always hit M), so that won't make it into the actual addon - but here's the code for it if you want it to change personally:

First, Ctrl+F for:

Code:
   _G["MiniMapWorldMapButton"],
And then comment it (or simply delete it?) so it looks like this:

Code:
--   _G["MiniMapWorldMapButton"],
So that alone will get the functionality you want back in. However personally I think it looks quite ugly (because the texture was intended for the original minimap). If you would like to make it look nicer (and I think that's what this addon is all about), then you'll want to style it in the PLAYER_LOGIN function. So scroll up / Ctrl+F over to:

Code:
   QueueStatusMinimapButtonBorder:Hide()
Hit enter twice to start a new line. Paste the following code in:

Code:
   MiniMapWorldMapButton:SetNormalTexture(nil)
   MiniMapWorldMapButton:SetPushedTexture(nil)
   local MiniMapWorldMapButtonBackground = MiniMapWorldMapButton:CreateTexture(nil,"BACKGROUND")
   MiniMapWorldMapButtonBackground:SetTexture("Interface\\WorldMap\\UI-World-Icon")
   MiniMapWorldMapButtonBackground:SetPoint("CENTER", MiniMapWorldMapButton, "CENTER", 0, 0)
   MiniMapWorldMapButtonBackground:SetSize(20, 20)
   MiniMapWorldMapButton:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", 0, 2)
Result:

Fully functional However as you can see you might then run into an issue where the name of the zone will be too long and overlap onto the button. For that reason I put in that last line so you can move it to wherever you wish (the last 2 numbers will move for x and y). It's up to you where you want to move it (maybe to the left of the location bar?) But if you need help let me know again!
fostic_popcorn is offline Report comment to moderator  
Reply With Quote
Old 09-12-12, 02:24 AM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
thanks.
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Gallahead is offline Report comment to moderator  
Reply With Quote
Old 09-11-12, 12:04 PM  
goldman1337
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
ummm, is there a way to restore the alarm function to the clock? when i click it the pop up wont appear...

EDIT: also the "show map" button is kinda of a big loss, is there any way to open it?
Last edited by goldman1337 : 09-12-12 at 10:34 PM.
goldman1337 is offline Report comment to moderator  
Reply With Quote
Old 09-09-12, 09:49 PM  
fostic_popcorn
A Murloc Raider
 
fostic_popcorn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 53
Uploads: 2
Originally Posted by Gallahead
i cant move the dungeon flag.
is there any option to do so?
There's no option, but it's very easy to do in LUA. Where would you prefer to move it to?

Code:
   MiniMapInstanceDifficulty:ClearAllPoints()
   MiniMapInstanceDifficulty:SetPoint("TOPRIGHT", Minimap, "ANCHORPOINT", x, y)
Depending on what corner you want to put it in, change "ANCHORPOINT" to "BOTTOMRIGHT", "TOPRIGHT", etc. And then put in the x & y values for how much you want to move it.

You can also customize further if you like, using options such as MiniMapInstanceDifficulty:SetScale(0.X)!

The best place to put it would be in the PLAYER_LOGIN function. So Ctrl+F for:

Code:
   QueueStatusMinimapButtonBorder:Hide()
Hit enter for a new line after, and paste the code
Last edited by fostic_popcorn : 09-09-12 at 09:49 PM.
fostic_popcorn is offline Report comment to moderator  
Reply With Quote
Old 09-09-12, 02:17 AM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
i cant move the dungeon flag.
is there any option to do so?
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Gallahead is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: