와우 인벤 델라UI 사용자 포럼

전체보기

모바일 상단 메뉴

본문 페이지

[TIP] pMinimap 폴더안에 pMinimap.LUA 파일 수정

아느칸
조회: 1080
2008-11-24 07:07:04

pMinimap = CreateFrame('Frame', 'pMinimap', UIParent)
pMinimap:SetScript('OnEvent', function(self, event, ...) self[event](self, event, ...) end)
pMinimap:RegisterEvent('ADDON_LOADED')

pMinimapToggleClock = InterfaceOptionsDisplayPanelShowClock_SetFunc
InterfaceOptionsDisplayPanelShowClock_SetFunc = function() end

for _, check in pairs{InterfaceOptionsDisplayPanelShowClock} do
 local f = check:CreateFontString(nil, 'OVERLAY', 'GameFontNormal')
 f:SetPoint('TOPLEFT', check, 0, 10)
 f:SetText('|cff00ff33OVERRID BY PMINIMAP!|r')

 check:Disable()
 check.Enable = function() end
end

function pMinimap.ADDON_LOADED(self, event, name)
 if(name ~= 'pMinimap') then return end
 
  
 local db =  pMinimapDB or {point = {'TOPRIGHT', 'TOPRIGHT', -15, -15}, scale = 1, offset = 5, colors = {0, 0, 0, 0.5}, durability = true, coords = false, clock = true, level = 2, strata = 'BACKGROUND', font = 'Interface\\AddOns\\pMinimap\\font.ttf', fontsize = 13, fontflag = 'OUTLINE'}
    
 MinimapBorder:SetTexture('')
 MinimapBorderTop:Hide()
 MinimapToggleButton:Hide()

 MinimapZoomIn:Hide()
 MinimapZoomOut:Hide()
 Minimap:EnableMouseWheel()
 Minimap:SetScript('OnMouseWheel', function(self, dir)
  if(dir > 0) then
   Minimap_ZoomIn()
  else
   Minimap_ZoomOut()
  end
 end)

 -- MinimapZoneText:Hide()
 -- MinimapZoneTextButton:Hide()

이부분 주석 처리 하시면 됩니다(녹색글씨)

Lv32 아느칸

모바일 게시판 하단버튼

댓글

새로고침
새로고침

모바일 게시판 하단버튼

지금 뜨는 인벤

더보기+

모바일 게시판 리스트

모바일 게시판 하단버튼

글쓰기

모바일 게시판 페이징

최근 HOT한 콘텐츠

  • 와우
  • 게임
  • IT
  • 유머
  • 연예
AD