Download
(21Kb)
Download
Updated: 10-21-10 07:16 AM
Pictures
File Info
Updated:10-21-10 07:16 AM
Created:unknown
Downloads:9,034
Favorites:23
MD5:

AI-Minimap  Popular! (More than 5000 hits)

Version: 4.0
by: Quokka [More]

Small Square Minimap addon

Features:

- Achievment tracker in the top left screen
- Blizzard like Zone text (above minimap on mouse over)
- Blizzard minimap clock Hidden
- Clock is Classcolored unless you have an invite pending
- Coordinates - above to the minimap
- Icons moved arround
- Mouse Wheel Zooming
- Moved Minimap to bottom right
- New Mail Icon
- New Minimap Icons
- Vehicle Seat above the minimap
- moved GM frame
- Moved the Quest tracker / Achievement frame to the top right

- Right mouse click opens the calender
- Middle mouse click opens the game menu

Other that Clock, all setting are in the .lua

This Minimap goes perfect with my AI.

make sure to check for the rest of AI-UI.

4.0
- New Icons
- Updated for Cataclysm
- Lots off changes

3.3
- New Mail Icon
- Small updates
- Toc update

2.4
- Fixed Achievment Tracker

2.3
- Fixed some bugs
- toc update

2.1
- Achievment tracker moved
- font changed
- code clean up
*Still looking into the Capturebar

2.0
- updated for WotLK

1.0
- Initial Release
Optional Files (0)


Post A Reply Comment Options
Unread 11-26-10, 12:04 PM  
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 196
File comments: 239
Uploads: 15
Re: Clock

Originally posted by Sithas
Hi I love this minimap and have been using the 3.3 version for awhile now. Over time I have made a few little changes to the 3.3 version to fit my needs. After updating to 4.0 I have been going through the code to copy over my changes and have a question about the clock. I have no experience with lua code at all so I just tinker until I get the results. I realized that the current clock in 4.0 isnt the actually blizzard clock which was hidden just below the minimap. I personally loved the clock the way it was in 3.3 so I used this code to change it back.

LoadAddOn('Blizzard_TimeManager')
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
local color = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
clockFrame:Hide()
clockTime:SetFont(font, 14)
clockTime:SetTextColor(color.r, color.g, color.b, color.a)
TimeManagerClockButton:SetPoint("TOPRIGHT", Minimap, "BOTTOMRIGHT", 0, 25)

I have replaced all the existing clock code with that. Now my problem is that I want to make the calendar open with right click like in 3.3 but that function was always buggy in the 3.3 version for me. When I would right click it would open up the calendar as well as the time manager. If you could just paste the code needed to simply open and close the calendar only with a right click I can do the rest. The fact that I am able to gut your mod and change it with no coding experience at all is a testament to your abilities as a mod creator!

I did have some problems with the clock & 4.0 because blizzard, moved the option out off the menu. So I needed to hard code it to be gone.

I moved to the code with the complete menu. So i could hide the default micro menu the code is

Code:
------------------------
--  Right click menu  --
------------------------
local menuFrame = CreateFrame("Frame", "MinimapRightClickMenu", UIParent, "UIDropDownMenuTemplate")
local menuList = {
	{text = CHARACTER_BUTTON,
    func = function() ToggleCharacter("PaperDollFrame") end},
	{text = SPELLBOOK_ABILITIES_BUTTON,
	func = function() ToggleFrame(SpellBookFrame) end},
	{text = WORLDMAP_BUTTON,
	func = function() ToggleFrame(WorldMapFrame) end},
	{text = TALENTS_BUTTON,
	func = function() ToggleTalentFrame() end},
	{text = ACHIEVEMENT_BUTTON,
	func = function() ToggleAchievementFrame() end},
	{text = QUESTLOG_BUTTON,
	func = function() ToggleFrame(QuestLogFrame) end},
	{text = SOCIAL_BUTTON,
	func = function() ToggleFriendsFrame(1) end},
	{text = PLAYER_V_PLAYER,
	func = function() ToggleFrame(PVPFrame) end},
	{text = ACHIEVEMENTS_GUILD_TAB,
	func = function() if IsInGuild() then if not GuildFrame then LoadAddOn("Blizzard_GuildUI") end GuildFrame_Toggle() end end},
	{text = LFG_TITLE,
	func = function() ToggleFrame(LFDParentFrame) end},
	{text = L_LFRAID,
	func = function() ToggleFrame(LFRParentFrame) end},
	{text = HELP_BUTTON,
	func = function() ToggleHelpFrame() end},
	{text = L_CALENDAR,
	func = function()
	if(not CalendarFrame) then LoadAddOn("Blizzard_Calendar") end
		Calendar_Toggle()
    end},
}

Minimap:SetScript("OnMouseUp", function(self, button)
	if(button=="RightButton") then
		ToggleDropDownMenu(1, nil, MiniMapTrackingDropDown, "cursor", 0, 0)
	elseif(button=="MiddleButton") then
		EasyMenu(menuList, menuFrame, "cursor", 0, 0, "MENU", 2)
	else
		Minimap_OnClick(self)
	end
end)


AIMiniMap:RegisterEvent("PLAYER_LOGIN") 
AIClock:SetScript("OnLeave", function() GameTooltip:Hide() end)
AIClock:RegisterEvent("CALENDAR_UPDATE_PENDING_INVITES")
AIClock:RegisterEvent("PLAYER_ENTERING_WORLD")
AIClock:SetScript("OnUpdate", Update)
AIClock:RegisterEvent'UPDATE_INSTANCE_INFO'
AIClock:SetScript("OnMouseDown", function() GameTimeFrame:Click() end)
__________________
Report comment to moderator  
Reply With Quote
Unread 11-23-10, 04:43 AM  
Sithas
A Kobold Labourer

Forum posts: 1
File comments: 28
Uploads: 0
Clock

Hi I love this minimap and have been using the 3.3 version for awhile now. Over time I have made a few little changes to the 3.3 version to fit my needs. After updating to 4.0 I have been going through the code to copy over my changes and have a question about the clock. I have no experience with lua code at all so I just tinker until I get the results. I realized that the current clock in 4.0 isnt the actually blizzard clock which was hidden just below the minimap. I personally loved the clock the way it was in 3.3 so I used this code to change it back.

LoadAddOn('Blizzard_TimeManager')
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
local color = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
clockFrame:Hide()
clockTime:SetFont(font, 14)
clockTime:SetTextColor(color.r, color.g, color.b, color.a)
TimeManagerClockButton:SetPoint("TOPRIGHT", Minimap, "BOTTOMRIGHT", 0, 25)

I have replaced all the existing clock code with that. Now my problem is that I want to make the calendar open with right click like in 3.3 but that function was always buggy in the 3.3 version for me. When I would right click it would open up the calendar as well as the time manager. If you could just paste the code needed to simply open and close the calendar only with a right click I can do the rest. The fact that I am able to gut your mod and change it with no coding experience at all is a testament to your abilities as a mod creator!

Report comment to moderator  
Reply With Quote
Unread 04-09-10, 12:35 AM  
Alenari
A Defias Bandit

Forum posts: 2
File comments: 39
Uploads: 0
Re: Moving quets and achiv tracker

Change "0" to move it left or right and "-2" to move it up or down.

Code:
---- AchievementWatchFrame ----
	WatchFrame:ClearAllPoints()
	WatchFrame:SetPoint('TOP', UIParent, 'TOP', 0, -2)
	WatchFrame.ClearAllPoints = function() end

I changed it to
Code:
	WatchFrame:SetPoint('TOP', UIParent, 'TOP', 0, -200)
to get it more to its original place.

I also added
Code:
------------------------- Dungeon Diff ---------------------------
    MiniMapInstanceDifficulty:ClearAllPoints()
    MiniMapInstanceDifficulty:SetParent(Minimap)
    MiniMapInstanceDifficulty:SetPoint("TOPRIGHT",Minimap,"TOPRIGHT",0,0)
    MiniMapInstanceDifficulty:SetScale(0.7)
To move the flag indicating the dungeon difficulty settings.
Report comment to moderator  
Reply With Quote
Unread 03-08-10, 10:03 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 331
Uploads: 8
Moving quets and achiv tracker

Im trying to move quest and achiv tracker but nothing happens. Tried anchoring them to the minimap aswell but the stay under the map.

Aren't these lines for moving those?

Code:
----------------------- AchievementWatchFrame -------------------------
	WatchFrame:ClearAllPoints()
--	WatchFrame:SetPoint('TOPLEFT', UIParent, 'TOPLEFT', -25, -24)
	WatchFrame:SetPoint('TOP', UIParent, 'TOP', 0, -2)
	WatchFrame.ClearAllPoints = function() end

----------------------- QuestWatchFrame -------------------------
--   QuestWatchFrame:ClearAllPoints()
--   QuestWatchFrame:SetPoint('TOPLEFT', UIParent, 'TOPLEFT', 5, -24)
--   QuestWatchFrame.SetPoint = function() end
__________________
Arp UI oUF_Arp
Last edited by Tobbe8716 : 03-08-10 at 10:06 AM.
Report comment to moderator  
Reply With Quote
Unread 12-08-09, 06:58 PM  
Flatha
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Update?

x_x can we get an update to this?
Report comment to moderator  
Reply With Quote
Unread 11-09-09, 04:12 AM  
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 196
File comments: 239
Uploads: 15
Re: Re: Re: Achievement Tracker

Sorry for the bug.

Fixed thanks Baine
Report comment to moderator  
Reply With Quote
Unread 11-09-09, 03:49 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 393
Uploads: 1
Re: Re: Achievement Tracker

Originally posted by shinchih2001
[2009/11/06 09:34:49-869-x1]: AI-MiniMap-2.3\AI-MiniMap.lua:159: Panel_mbp:SetFrameStrata(): Unknown frame strata: 底色
AI-MiniMap-2.3\AI-MiniMap.lua:159: in function `CreatePanel'
AI-MiniMap-2.3\AI-MiniMap.lua:170: in main chunk
that error got nothing to do with the code i posted
anyways
open "AI-MiniMap.lua"
and replace line 159 with:
Code:
p:SetFrameStrata("BACKGROUND")
i wrote something similiar regarding ai-info few days ago, shouldn't have been so hard to spot^^
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 07:36 PM  
shinchih2001
A Defias Bandit

Forum posts: 3
File comments: 198
Uploads: 0
Re: Achievement Tracker

Originally posted by Baine
Code:
----------------------- AchievementWatchFrame -------------------------
   WatchFrame:ClearAllPoints()
   WatchFrame:SetPoint('TOPLEFT', UIParent, 'TOPLEFT', 5, -24)
   WatchFrame.ClearAllPoints = function() end
use this one instead, your's broke the watch frame, aka no achievement could be tracked
[2009/11/06 09:34:49-869-x1]: AI-MiniMap-2.3\AI-MiniMap.lua:159: Panel_mbp:SetFrameStrata(): Unknown frame strata: 底色
AI-MiniMap-2.3\AI-MiniMap.lua:159: in function `CreatePanel'
AI-MiniMap-2.3\AI-MiniMap.lua:170: in main chunk
Report comment to moderator  
Reply With Quote
Unread 11-04-09, 12:03 PM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 393
Uploads: 1
Achievement Tracker

Code:
----------------------- AchievementWatchFrame -------------------------
   WatchFrame:ClearAllPoints()
   WatchFrame:SetPoint('TOPLEFT', UIParent, 'TOPLEFT', 5, -24)
   WatchFrame.ClearAllPoints = function() end
use this one instead, your's broke the watch frame, aka no achievement could be tracked
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 10:26 AM  
ProblematicPerson
A Kobold Labourer
 
ProblematicPerson's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
LUA

Originally posted by gwiz665
I like this one. It's a shame you can't move the map around, but other than that it looks great. For the completely lua-handicapped, if you want to put the map up in the regular right corner you have to change

MinimapCluster:SetPoint("BOTTOMRIGHT", UIParent, 14, -7.5 ) -- Bottom
-- MinimapCluster:SetPoint("TOPRIGHT", UIParent, 14, 0 )

to

-- MinimapCluster:SetPoint("BOTTOMRIGHT", UIParent, 14, -7.5 ) -- Bottom
MinimapCluster:SetPoint("TOPRIGHT", UIParent, 14, 0 )

in AI-MiniMap.lua.
What if i want to move it to the middle...would i change "TOPRIGHT", UIParent, 14, 0, to "CENTER", UIParent, 0, 0,? or BOTTOMCENTER?
Report comment to moderator  
Reply With Quote
Unread 08-05-09, 06:17 AM  
Oakenwynd
A Kobold Labourer

Forum posts: 1
File comments: 39
Uploads: 0
Originally posted by gwiz665
I like this one. It's a shame you can't move the map around, but other than that it looks great.
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 02:48 AM  
gwiz665
A Kobold Labourer
 
gwiz665's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
I like this one. It's a shame you can't move the map around, but other than that it looks great. For the completely lua-handicapped, if you want to put the map up in the regular right corner you have to change

MinimapCluster:SetPoint("BOTTOMRIGHT", UIParent, 14, -7.5 ) -- Bottom
-- MinimapCluster:SetPoint("TOPRIGHT", UIParent, 14, 0 )

to

-- MinimapCluster:SetPoint("BOTTOMRIGHT", UIParent, 14, -7.5 ) -- Bottom
MinimapCluster:SetPoint("TOPRIGHT", UIParent, 14, 0 )

in AI-MiniMap.lua.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.