How to create a simple WoW UI Addon
Вставка
- Опубліковано 22 сер 2024
- -------------------------------- Addon Template ------------------------------------------
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function(self, event, ...)
if event == "PLAYER_LOGIN" then
-- Add Scripts Below:
end
end)
frame:SetScript("OnUpdate", function(self, elapsed)
-- Add Scripts Below:
end)
-------------------------------- Addon Template ------------------------------------------
-------------------------------- FULL RUDARUI ADDON ------------------------------------------
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function(self, event, ...)
if event == "PLAYER_LOGIN" then
-- Put your :Hide() calls here
TimeManagerClockTicker:Hide()
MinimapZoneText:Hide()
GameTimeFrame:Hide()
MinimapCompassTexture:Hide()
ExpansionLandingPageMinimapButton:Hide()
MinimapBackdrop:Hide()
Minimap:Hide()
MinimapCluster.TrackingFrame.Button:Hide()
MinimapCluster.TrackingFrame.Background:Hide()
MinimapCluster:Hide()
PlayerFrame.PlayerFrameContent.PlayerFrameContentContextual:Hide()
TargetFrame.TargetFrameContent.TargetFrameContentContextual:Hide()
FocusFrame.TargetFrameContent.TargetFrameContentContextual:Hide()
end
end)
frame:SetScript("OnUpdate", function(self, elapsed)
BuffFrame:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", 0, -5)
BuffFrame:SetScale(1.25)
DebuffFrame:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", -250, -200)
DebuffFrame:SetScale(1.25)
PlayerLevelText:Hide()
TargetFrame.TargetFrameContent.TargetFrameContentMain.LevelText:Hide()
FocusFrame.TargetFrameContent.TargetFrameContentMain.LevelText:Hide()
TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
end)
-------------------------------- FULL RUDAR ADDON ------------------------------------------
Great video. THANKS 👍
Can you link us a pastebin for your details config? I know your setup is pretty basic but I like its layout.
So cool
How do you get class icon portraits?
that's just wow setting, no addon needed
@@zig5411 oh i see thanks most be a new thing
How do you get that nice black tint around your spelbars?
Lorti Ui or Sui
Thats the name of the addon?
FrameColor
can u do that with "Edit mode" only?
Editmode is limited