제가 아는 범위를 넘어섰네요.
조언을 부탁 드립니다.
-- 좌우 독수리 제거
MainMenuBarArtFrame.RightEndCap:Hide()
MainMenuBarArtFrame.LeftEndCap:Hide()
--네임플레이트 직업색상
SetCVar("ShowClassColorInFriendlyNameplate", 1)
--가방 배경 삭제
MicroButtonAndBagsBar:Hide()
--메인바 테두리 제거
MainMenuBarArtFrameBackground:Hide()
--기본 캐스팅바에 시간 표시
local Casting_Time = true--Casting 창 시간 표시
if Casting_Time then
local font, size, flag = _G["NumberFontNormal"]:GetFont()
CastingBarFrame.timer = CastingBarFrame:CreateFontString(nil)
CastingBarFrame.timer:SetFont(font, 10, "THINOUTLINE")
CastingBarFrame.timer:SetPoint("RIGHT", CastingBarFrame, "RIGHT", -5, 2)
CastingBarFrame.update = 0.1
local function CastingBarFrame_OnUpdate_Hook(self, elapsed)
if not self.timer then return end
if self.update and self.update < elapsed then
if self.casting or self.channeling then
self.timer:SetText(format("%.1f/%.1f", max(self.maxValue - self.value, 0), max(self.maxValue, 0)))
else
self.timer:SetText("")
end
self.update = .1
else
self.update = self.update - elapsed
end
end
CastingBarFrame:HookScript('OnUpdate', CastingBarFrame_OnUpdate_Hook)
end
-- 메인액션바+좌하액션바 크기,위치 조절
MainMenuBarArtFrame:ClearAllPoints()
MainMenuBarArtFrame:SetScale(1.36)
ActionButton1:ClearAllPoints()
ActionButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT",366,7)
ActionButton1.SetPoint= function() end
ActionButton7:ClearAllPoints()
ActionButton7:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT",644,7)
ActionButton7.SetPoint= function() end
MainMenuBarArtFrame.SetPoint= function() end --메인바 잠금
MultiBarBottomLeft:ClearAllPoints() --좌하
MultiBarBottomLeft:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT",366,49)
MultiBarBottomLeft.SetPoint= function() end
MultiBarBottomLeftButton7:ClearAllPoints() --좌하 7번
MultiBarBottomLeftButton7:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT",644,49)
MultiBarBottomLeftButton7.SetPoint= function() end
--메뉴버튼 이동 축소
CharacterMicroButton:ClearAllPoints()
CharacterMicroButton:SetScale(0.6)
SpellbookMicroButton:SetScale(0.6)
TalentMicroButton:SetScale(0.6)
AchievementMicroButton:SetScale(0.6)
QuestLogMicroButton:SetScale(0.6)
GuildMicroButton:SetScale(0.6)
LFDMicroButton:SetScale(0.6)
CollectionsMicroButton:SetScale(0.6)
EJMicroButton:SetScale(0.6)
StoreMicroButton:SetScale(0.6)
MainMenuMicroButton:SetScale(0.6)
CharacterMicroButton:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT",0,0)
CharacterMicroButton.SetPoint= function() end
SpellbookMicroButton.SetPoint= function() end
TalentMicroButton.SetPoint= function() end
AchievementMicroButton.SetPoint= function() end
QuestLogMicroButton.SetPoint= function() end
GuildMicroButton.SetPoint= function() end
LFDMicroButton.SetPoint= function() end
CollectionsMicroButton.SetPoint= function() end
EJMicroButton.SetPoint= function() end
StoreMicroButton.SetPoint= function() end
MainMenuMicroButton.SetPoint= function() end
--우측 하단바 위치 크기 이동
MultiBarBottomRightButton1:ClearAllPoints(); -- 이동 가능하게
MultiBarBottomRightButton7:ClearAllPoints(); -- 이동 가능하게
MultiBarBottomRight:SetScale(0.60) --크기 조절(기본값1)
MultiBarBottomRightButton1:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT",-213,45) -- 1~6버튼 위치
MultiBarBottomRightButton7:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT",-213,3) -- 7~12버튼 위치
MultiBarBottomRightButton1.SetPoint = function() end
MultiBarBottomRightButton7.SetPoint = function() end
-- 채창 소셜 버튼 숨기기
QuickJoinToastButton:Hide()
-- 중앙 추가 버튼
ExtraActionButton1:ClearAllPoints()
ExtraActionButton1:SetPoint("CENTER", UIParent, "CENTER",0,-250)
ExtraActionButton1.SetPoint= function() end
--펫액션바
PetActionBarFrame:ClearAllPoints()
PetActionBarFrame:SetScale(1)
PetActionBarFrame:SetPoint("CENTER", UIParent, "CENTER",0,-336)
PetActionBarFrame.SetPoint= function() end
-- 경험치바 제거
StatusTrackingBarManager:Hide()
-- 액션바 테두리, 숫자, 상/하버튼 삭제
ActionBarUpButton:Hide()
ActionBarDownButton:Hide()
MainMenuBarArtFrame.PageNumber:Hide()
--채팅에서 방향키 사용
ChatFrame1EditBox:SetAltArrowKeyMode(false)
--채팅창 폰트 크기 세분화
CHAT_FONT_HEIGHTS = {[1] = 14, [2] = 13, [3] = 12, [4] = 11, [5] = 10, [6] = 9}
-- 네임플레이트 디버프 크기와 위치 조정
NamePlateDriverFrame:HookScript("OnEvent", function()
for _,v in pairs(C_NamePlate.GetNamePlates()) do
local bf = v.UnitFrame.BuffFrame
bf:SetScale(1.2)-- SetScale --기본 값 1 크기 수정-
bf.baseYOffset = -6 -- 디버프 위치 아래로 조정
bf:UpdateAnchor()
for i = 1, BUFF_MAX_DISPLAY do
local buff = bf.buffList[i]
if (buff) then
buff.Cooldown:SetHideCountdownNumbers(false);
buff.Cooldown:SetScale(.7)
buff.CountFrame.Count:ClearAllPoints()
buff.CountFrame.Count:SetPoint("BOTTOM",buff,"TOP")
buff.CountFrame.Count:SetVertexColor(1,1,0,1)
buff.CountFrame.Count:SetScale(0.7) --버프 중첩 폰트 크기
end
end
end
end)
--보스 프레임 없애기
for i = 1, MAX_BOSS_FRAMES do local f = _G["Boss"..i.."TargetFrame"] f:UnregisterAllEvents() f.Show = function() end f:Hide() end
--이름표 최대 사거리 60m 고정
SetCVar("nameplateMaxDistance", 60)
--이름표 화면 밖으로 움직임
SetCVar("nameplateOtherTopInset", -1) SetCVar("nameplateOtherBottomInset", -1)
--네임플레이트 생명력 %표시, 타겟 테두리 확장
hooksecurefunc("CompactUnitFrame_OnUpdate", function(frame)
if (frame.optionTable.colorNameBySelection and not frame:IsForbidden()) then
frame:SetScale((UnitGUID(frame.displayedUnit) == UnitGUID("target")) and 1 or 1) --타겟과 논타겟 네임플레이트 상하좌우 길이 변경
if (not frame.healthBar.percent) then
frame.healthBar.percent = frame.healthBar:CreateFontString(nil,"OVERLAY")
frame.healthBar.percent:SetPoint("TOP",frame.healthBar,0,-1)
frame.healthBar.percent:SetFont(STANDARD_TEXT_FONT,10,"THICKOUTLINE") -- %표시 폰트 크기 조절
end
local percentcalc = ceil((UnitHealth(frame.displayedUnit) / UnitHealthMax(frame.displayedUnit)) * 100)
if (UnitGUID(frame.displayedUnit) == UnitGUID("player")) then
frame.healthBar.percent:SetFormattedText("%d%%n124cff55ffff%d",percentcalc,UnitPower(frame.displayedUnit))
else
frame.healthBar.percent:SetFormattedText("%d%%",percentcalc)
end
frame.healthBar.border:SetScale((UnitGUID(frame.displayedUnit) == UnitGUID("target")) and 2 or 1)
if (UnitGUID(frame.displayedUnit) == UnitGUID("target")) then
frame.healthBar.border:SetVertexColor(1,1,.7,1)
end
end
end)
--네임 플레이트 이름 크기 변경
local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_LOGIN")
f:SetScript("OnEvent", function()
local function SetFont(obj, optSize)
local fontName= obj:GetFont()
obj:SetFont(fontName,optSize,"OUTLINE")
end
SetFont(SystemFont_LargeNamePlate,12)
SetFont(SystemFont_NamePlate,12)
SetFont(SystemFont_LargeNamePlateFixed,12)
SetFont(SystemFont_NamePlateFixed,12)
end)
--채팅창 페이드 인/아웃 시간 설정
CHAT_TAB_SHOW_DELAY = 0;
CHAT_TAB_HIDE_DELAY = 0;
CHAT_FRAME_FADE_TIME = 0;
CHAT_FRAME_FADE_OUT_TIME = 0;
<에러 로그>