Looking for a DefaultUI Mover
I am currently looking for a Addon that can move certain things. I am not looking for something complex, maybe something along the lines of:
/[addonname] config; (for the addon) or /[addonname] unlock; -- Will unlock things from the UI, such as durability, world state, text that comes up in the middle, error text (abilities), etc. Something easy that will just let me do that, and maybe let me hide things. Not something that gives me everything but the kitchen sink though lol. Any suggestions? |
Quote:
|
Quote:
|
Quote:
My only experience is changing something in the Lua to fit my needs, adding a thing here and there, and some other things. I do not know how to make a entire addon though ^^v EDIT: looks like you deleted your post when I posted mine lol :o |
1 Attachment(s)
Quote:
LP_FrameMover removed link to off-site download -Seerah added link back in (at bottom), take that! :p -Nibelheim Now, it's certainly not the most convenient method of moving / hiding frames, but it's the most reliable. Just /framestack to find the name of the frame you want to move / hide, and edit the Core.lua file accordingly. To find out the current Point, RPoint, X, and Y positions of any frame, simply type this code into your chat window: Code:
/run print(FrameName:GetPoint()) PS. If you want to start moving / hiding frames that are created by Load-on-demand addons, things get a little trickier. There's also some complex frames to look out for, one of note is the VehicleSeatIndicator frame. PSS. This is untested as I'm not at my WoW PC atm, so if any errors occur, let us know :p PSSS. Interesting, it actually took me exactly 30 minutes to do. >.> PSSSS. Heh, just kidding, 4 PSs would be nuts! |
You're like half the reason my UI is working correctly/as intended xD <3
PS: Drink much coffee lol? I did one RL and you have like 4 PSSSSSSSS Code:
/run print(DurabilityFrame:GetPoint()) Code:
TOPRIGHT table: 1EFFBBA0 BOTTOMRIGHT -0 0 |
Just as reference, these are some of the frame names I'm manipulating in RealUI.
"ZoneTextFrame" -- Text that appears when you change zones "RaidWarningFrame" -- Raid warning messages in the middle of screen "TicketStatusFrame" -- GM Ticket status "GroupLootFrame1" -- Loot Rolling frames "GroupLootFrame2" "GroupLootFrame3" "GroupLootFrame4" "WorldStateAlwaysUpFrame" -- PvP info at Top Center of screen "UIErrorsFrame" -- Error messages "PlayerPowerBarAlt" -- Sound bar and Insanity gauge on Atremedes, Cho'gall, etc "DurabilityFrame" "Boss1TargetFrame" "Boss2TargetFrame" "Boss3TargetFrame" "Boss4TargetFrame" "CompactRaidFrameManager" -- I hide the default Blizz raid frames |
Quote:
Actually, noticed a small bug. In Core.lua, change the line: Code:
p = t.parent and _G[t.parent] or UIParent Code:
p = t.parent and _G[t.parent] or f:GetParent() |
Having some trouble with moving the DurabilityFrame... I'm sure I am just doing it wrong.. ><
Code:
["DurabilityFrame"] = {parent = nil, point = "TOPRIGHT", rpoint = "BOTTOMRIGHT", x = -300, y = 0, scale = 1}, Code:
Interface\AddOns\LP_FrameMover\Core.lua:45: attempt to call field 'MoveFrames' (a nil value) |
Quote:
|
Saw that, then I noticed I had an error somewhere
|
Quote:
So, with those two bug corrections, it should hopefully work :p |
Hmm... still doesn't seem to be moving at all. No errors this time or anything
Code:
["DurabilityFrame"] = {parent = nil, point = "CENTER", rpoint = "CENTER", x = -300, y = 0, scale = 1}, I have no problem waiting for you to get home and testing it for yourself though. |
Quote:
|
Quote:
|
Alright. In the FM.MoveAllFrames = function() block, add the line below right after the f:SetScale(t.scale) line.
f.SetPoint = function() end So, should look like: Code:
FM.MoveAllFrames = function() Quote:
Change the line local f = _G[i] in the FM.HideAllFrames = function() block to: Code:
local f = _G[v] Code:
FM.HideAllFrames = function() |
1 Attachment(s)
Oh Nib, you're like my own little Evil Genius~ :D
Thank you so much lol ^^ ~ Yes that means it started working ^^v EDIT: Added that list bit in too~ Will test right now. EDIT2: Yes I love my ~ Signs. EDIT3: Image of my DurabilityFrame moved (topleft), Hiding frames work too. EDIT4: another post going straight into my sig ;D I also put Code:
--[[Common Frames: (http://wowprogramming.com/utils/artbrowser) |
Quote:
|
This seems really interesting! I have one question: Has the download link been updated with the changes/bugs mentioned in this thread, or do they still need to be applied?
I guess I could check it myself, but I thought I would ask ;) EDIT: Just realized that the post with the link was last edited over an hour before the more recent posts. There's my answer! Haha :rolleyes: |
Quote:
|
All times are GMT -6. The time now is 09:57 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI