Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This file is loaded from "TestAddon.toc"
- hooksecurefunc("PlayerFrame_UpdateStatus",function()
- -- make changes to PlayerFrame here
- PlayerFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-NoLevel")
- PlayerStatusTexture:Hide()
- PlayerRestIcon:Hide()
- PlayerAttackIcon:Hide()
- PlayerRestGlow:Hide()
- PlayerLevelText:Hide()
- PlayerAttackGlow:Hide()
- PlayerStatusGlow:Hide()
- PlayerFrameFlash:Hide()
- TargetFrameFlash:Hide()
- end)
- ObjectiveTrackerBlocksFrame:Hide()
- ObjectiveTrackerFrame.HeaderMenu.MinimizeButton:Hide()
- MainMenuBarArtFrame:SetScale(1.12)
- StatusTrackingBarManager:Hide()
- ChatFrameToggleVoiceDeafenButton:Hide()
- ChatFrameToggleVoiceMuteButton:Hide()
- SetCVar("NameplateGlobalScale",0.8)
- SetCVar("NamePlateHorizontalScale",1)
- SetCVar("nameplateMinScale",1)
- SetCVar("nameplateMotion",1)
- SetCVar("nameplateMotionSpeed",0.03)
- SetCVar("nameplateOverlapH",0.3)
- SetCVar("nameplateOverlapV",0.5)
- SetCVar("NamePlateVerticalScale",2)
- MainMenuBarArtFrame:ClearAllPoints()
- MainMenuBarArtFrame:SetPoint("CENTER",2,2)
- MainMenuBarArtFrame.SetPoint = function() end
- ActionButton1:ClearAllPoints()
- ActionButton1:SetPoint("cENTER",-233,34)
- ActionButton1.SetPoint = function() end
- MultiBarBottomLeftButton1:ClearAllPoints()
- MultiBarBottomLeftButton1:SetPoint("cENTER",-232,23)
- MultiBarBottomLeftButton1.SetPoint = function() end
- StanceButton1:ClearAllPoints()
- StanceButton1:SetPoint("cENTER",-6000,0)
- StanceButton1.SetPoint = function() end
- for i = 1, 12 do _G["MultiBarBottomLeftButton"..i.."HotKey"]:SetAlpha(0) end
- for i = 1, 12 do _G["MultiBarBottomRightButton"..i.."HotKey"]:SetAlpha(0) end
- for i = 1, 12 do _G["ActionButton"..i.."HotKey"]:SetAlpha(0) end
- ChatFrameChannelButton:SetAlpha(0)
- MainMenuBarArtFrameBackground:Hide()
- MainMenuBarArtFrame.LeftEndCap:Hide()
- MainMenuBarArtFrame.RightEndCap:Hide()
- MainMenuBarArtFrame.PageNumber:Hide()
- PlayerHitIndicator:SetText(nil)
- PlayerHitIndicator.SetText = function() end
- PetHitIndicator:SetText(nil)
- PetHitIndicator.SetText = function() end
- PlayerPVPIcon:SetAlpha(0)
- FocusFrameTextureFramePVPIcon:SetAlpha(0)
- TargetFrameTextureFramePVPIcon:SetAlpha(0)
- GarrisonLandingPageMinimapButton:SetAlpha(0)
- local f=CreateFrame("Frame")
- f:SetScript("OnEvent",function(self,event,...)
- if event=="PLAYER_TARGET_CHANGED" then
- -- do TargetFrame changes here
- TargetFrameTextureFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-NoLevel")
- TargetFrameTextureFrameLevelText:Hide()
- elseif event=="PLAYER_FOCUS_CHANGED" then
- -- do FocusFrame changes here
- FocusFrameTextureFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-NoLevel")
- FocusFrameTextureFrameLevelText:Hide()
- end
- end)
- f:RegisterEvent("PLAYER_TARGET_CHANGED")
- f:RegisterEvent("PLAYER_FOCUS_CHANGED")
- select(1,LossOfControlFrame:GetRegions()):SetAlpha(0)
- select(2,LossOfControlFrame:GetRegions()):SetAlpha(0) select(3,LossOfControlFrame:GetRegions()):SetAlpha(0)
- select(2,LossOfControlFrame:GetChildren()):SetAlpha(0)
- select(5,LossOfControlFrame:GetRegions()):SetAlpha(0)
- LossOfControlFrame:ClearAllPoints()
- LossOfControlFrame:SetPoint("CENTER",UIParent,"CENTER",74,0)
- LossOfControlFrame.SetPoint = function() end
- LossOfControlFrame:SetScale(1)
- TargetFrameToT:ClearAllPoints()
- TargetFrameToT:SetPoint("TOPLEFT", 128, -63)
- TargetFrameToT.SetPoint = function() end
- FocusFrameToT:ClearAllPoints()
- FocusFrameToT:SetPoint("TOPLEFT", 128, -63)
- FocusFrameToT.SetPoint = function() end
- GameTimeFrame:Hide()
- function Movebuff() BuffFrame:ClearAllPoints() BuffFrame:SetScale(1.1) BuffFrame:SetPoint("CENTER",PlayerFrame,"CENTER",850,80) end hooksecurefunc("UIParent_UpdateTopFramePositions",Movebuff) Movebuff()
- function sp(f,i) tr="TOPRIGHT";f2=f.debuffFrames;s=f2[1]:GetWidth();f3=f2[i];f3:SetSize(s,s);f3:ClearAllPoints();if i>6 then f3:SetPoint("BOTTOMRIGHT",f2[i-3],tr,0,0) else f3:SetPoint(tr,f2[1],tr,-(s*(i-3)),0) end end
- function CBF(f,i) bf=CreateFrame("Button",f:GetName().."Debuff"..i,f,"CompactDebuffTemplate");bf.baseSize=22;bf:SetSize(f.buffFrames[1]:GetSize()) end;function mv(f) for i=4,12 do sp(f,i) end end
- function mv3(f) CompactUnitFrame_SetMaxDebuffs(f,12); if not f.debuffFrames[4] then for i=4,12 do CBF(f,i) end end mv(f) end;hooksecurefunc("CompactUnitFrame_UpdateDebuffs",function(f) if f:GetName():match("^Compact") then mv3(f) end end);
- UIErrorsFrame:SetAlpha(0)
- DefaultCompactUnitFrameOptions.displayRoleIcon = false
- DefaultCompactUnitFrameOptions.displayName = false
- SetCVar("comboPointLocation",1)
- CharacterMicroButton:ClearAllPoints()
- CharacterMicroButton:SetPoint("CENTER",-6000,0)
- CharacterMicroButton.SetPoint = function() end
- MicroButtonAndBagsBar:ClearAllPoints()
- MicroButtonAndBagsBar:SetPoint("CENTER",-6000,0)
- MicroButtonAndBagsBar.SetPoint = function() end
- CastingBarFrame:ClearAllPoints() CastingBarFrame:SetPoint("CENTER",UIParent,"CENTER", 0, -145)
- CastingBarFrame.SetPoint = function() end
- CastingBarFrame:SetScale(1.3)
- PlayerName:Hide()
- FocusFrameTextureFrameName:Hide()
- TargetFrameTextureFrameName:Hide()
- TargetFrameToTTextureFrameName:Hide()
- FocusFrameToTTextureFrameName:Hide()
- PlayerFrameRoleIcon:SetAlpha(0)
- PlayerFrameGroupIndicator.Show = function() return end
- MiniMapTrackingBackground:SetAlpha(0)
- MiniMapTrackingIcon:SetAlpha(0)
- MiniMapMailFrame:Hide()
- MiniMapMailIcon:Hide()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement