Download
(2 Kb)
Download
Updated: 01-20-13 02:15 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:01-20-13 02:15 PM
Created:10-29-10 07:30 AM
Downloads:2,287
Favorites:2
MD5:
Square
Version: 2.0
by: locan [More]
This is a very lightweight, very simple addon that makes your minimap square and hides (by default) the:
  • Zone text
  • Zoom in/out button
  • World map button
  • N at the top of the minimap
  • Calendar button
  • Tracking button

and repositions/reskins the:
  • Mail icon
  • Battlegrounds icon
  • LFG icon
  • Dungeon difficulty indicator

It also allows you to use the mouse wheel to zoom in and out.

There is no in-game configuration, but I've added comments to the lua file to make it pretty easy to tweak. I've also added custom positions for the tracking button and calendar button, even though they're hidden by default.

This will not allow you to reposition, resize, reskin or re-anything your minimap. The goal of this addon was to make a square minimap that looks okay with as little code as possible.

This is my first addon, so I'm kind of learning as I go, but it should be pretty stable and bug-free right now.

Things I might add:
  • Slash commands, if I can figure out how
  • Other button layouts, if I have the time

Thanks for trying it out, any feedback is definitely welcome, good or bad, because I'm just starting to get my hands dirty with this Lua business and I've got a lot left to learn.

Changes:

1.1:
  • Changed default offset of icons from minimap
  • Added a border

1.2:
  • Changed dungeon difficulty indicator positioning

2.0:
  • The biggest update yet! Updated for MoP, and also added functions to scale and position the minimap (because the tiny minimap was hurting my eyes). Also, because of the new bigger minimap, the quest tracking frame and buff frames have been tweaked a bit too. All of this new stuff is disabled by default, so if you don't want it, don't worry about it! Not sure if anyone's still using this addon, but if you are, you can breathe a sigh of relief.

Thanks to Zerpy for help with the border code.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
1.2
2kB
locan
10-29-10 04:36 PM
1.0
1kB
locan
10-29-10 07:30 AM


Post A Reply Comment Options
Old 10-29-10, 11:54 AM  
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view AddOns

Forum posts: 86
File comments: 77
Uploads: 16
for borders i use this here:

Code:
local bordersize = 1 
local backdrop = {bgFile = 'Interface\\Buttons\\WHITE8x8', edgeFile = 'Interface\\Buttons\\WHITE8x8', edgeSize = bordersize, insets = {left = -bordersize, right = -bordersize, top = -bordersize, bottom = -bordersize}}
    Minimap:SetBackdrop(backdrop)
    Minimap:SetBackdropColor(0, 0, 0)
    Minimap:SetBackdropBorderColor(0, 0, 0)
Sniffles is offline Report comment to moderator  
Reply With Quote
Old 10-29-10, 02:23 PM  
locan
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 7
Uploads: 1
Originally posted by Zerpy
for borders i use this here:

Code:
local bordersize = 1 
local backdrop = {bgFile = 'Interface\\Buttons\\WHITE8x8', edgeFile = 'Interface\\Buttons\\WHITE8x8', edgeSize = bordersize, insets = {left = -bordersize, right = -bordersize, top = -bordersize, bottom = -bordersize}}
    Minimap:SetBackdrop(backdrop)
    Minimap:SetBackdropColor(0, 0, 0)
    Minimap:SetBackdropBorderColor(0, 0, 0)
Thanks a bunch, I'll play around with it a bit and update the addon.
locan is offline Report comment to moderator  
Reply With Quote
Old 10-29-10, 09:48 PM  
jessica
A Murloc Raider

Forum posts: 6
File comments: 90
Uploads: 0
Not movable right?
jessica is offline Report comment to moderator  
Reply With Quote
Old 10-30-10, 09:54 AM  
locan
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 7
Uploads: 1
Originally posted by jessica
Not movable right?
Correct, it's fixed in the normal minimap position.
locan is offline Report comment to moderator  
Reply With Quote
Old 01-10-11, 04:33 AM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 422
File comments: 65
Uploads: 8
Love your minimap. You did a great job with keeping it clean, and only adding what was necessary. It was far easier to fit into my UI than most other minimaps out there.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Coote is offline Report comment to moderator  
Reply With Quote
Old 02-12-13, 05:56 PM  
noxtrinity
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thank you for this, so clean and simple, exactly what I'm looking for.
noxtrinity is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: