Download
(93Kb)
Download
Updated: 04-29-13 12:59 AM
Pictures
File Info
Updated:04-29-13 12:59 AM
Created:09-07-12 11:22 PM
Downloads:4,465
Favorites:16
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)


Post A Reply Comment Options
Unread 10-08-16, 03:53 PM  
MCCrafterTV
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
How to change font colour?

How do you change the colour of the clock text?
Last edited by MCCrafterTV : 10-08-16 at 03:54 PM.
Report comment to moderator  
Reply With Quote
Unread 11-11-14, 06:14 PM  
Lemons224
A Defias Bandit

Forum posts: 2
File comments: 18
Uploads: 0
First off this is the coolest minimap addon I've found so thanks for making it. I've messed around with it a lot and was able to insert a custom mail icon after much wailing and gnashing of teeh



But one thing still bothers me! I followed your code so that the location bar opens the world map, but the world map tooltip that pops up kind of annoys me as it covers up the location text completely. I feel like it would be much cleaner if it didn't pop up at all, but I haven't the faintest idea how to hide it? Do you know? Thanks.
Report comment to moderator  
Reply With Quote
Unread 10-24-14, 12:50 PM  
Gridspace
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
My new favourite minimap addon!

Hope its fully supported in WoD, and would love to see that new mail icon!
Report comment to moderator  
Reply With Quote
Unread 08-18-14, 12:53 PM  
goldman1337
A Murloc Raider

Forum posts: 6
File comments: 39
Uploads: 0
hey! i just came back to using your addon, and i found a bug: i changed the offset coords(x=1270 and y=880) and when the "raid flag thingie"(the one that has the number of players on the raid) appears, it appears on it's default position instead of where the map is.

thanks

EDIT: i might be wrong, but i think there's a diferent icon for diferent number of players, and another diferent one for guild groups, watch out for that =P
Last edited by goldman1337 : 08-18-14 at 04:47 PM.
Report comment to moderator  
Reply With Quote
Unread 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: 51
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!
Report comment to moderator  
Reply With Quote
Unread 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.
Report comment to moderator  
Reply With Quote
Unread 09-17-12, 04:16 PM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
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)
Last edited by Gallahead : 09-17-12 at 11:48 PM.
Report comment to moderator  
Reply With Quote
Unread 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: 51
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!
Report comment to moderator  
Reply With Quote
Unread 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: 51
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!
Report comment to moderator  
Reply With Quote
Unread 09-13-12, 04:26 PM  
goldman1337
A Murloc Raider

Forum posts: 6
File comments: 39
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
Report comment to moderator  
Reply With Quote
Unread 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.
Report comment to moderator  
Reply With Quote
Unread 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: 51
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!
Report comment to moderator  
Reply With Quote
Unread 09-12-12, 02:24 AM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
thanks.
Report comment to moderator  
Reply With Quote
Unread 09-11-12, 12:04 PM  
goldman1337
A Murloc Raider

Forum posts: 6
File comments: 39
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.
Report comment to moderator  
Reply With Quote
Unread 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: 51
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: