Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > General Discussion

General Discussion The place for World of Warcraft discussions that don’t fit into any other forum.

Advertising

 
Thread Tools
Old 02.07.2010, 21:05   #1
 Elder Member User Information

Tkmstr1009's Avatar
aThreatMeter

Is it possible to bring aThreatMeter back? sThreatMeter2 is causing troubles when I try to reposition it in the LUA files. aThreatMeter was nice and simple underneath my cast bar.
Old 02.07.2010, 21:05   #1.5 - Disable Ads

Advertise on this site

Old 03.07.2010, 19:35   #2
Shestak
 Junior Member User Information

Shestak's Avatar
Tkmstr1009, no, install aThreatMeter from older versions.
Old 04.07.2010, 01:47   #3
Tkmstr1009
 Elder Member User Information

Tkmstr1009's Avatar
Quote:
Originally Posted by Shestak View Post
Tkmstr1009, no, install aThreatMeter from older versions.
So I can just install aThreatMeter from an older release of ShestakUI? It won't cause any problems?
Old 04.07.2010, 16:02   #4
Shestak
 Junior Member User Information

Shestak's Avatar
Tkmstr1009, no. Install aThreatMeter from ShestakUI 1.9.4, and open aThreatMeter\aThreatMeter.lua(~5 line) and change position:
Code [Select]:
f:SetPoint(threat_position, "oUF_Player_Castbar", threat_position, threat_position_x, threat_position_y)
font:
Code [Select]:
local nametext = CreateFS(f, main_font_size, "LEFT")
Code [Select]:
local perctext = CreateFS(f, main_font_size, "RIGHT")
and replace border function:
Code [Select]:
CreateBG(f, 1, 0, 0, 0, 1)
to:
Code [Select]:
SetTemplate(f)
Posted in 25 minute
Oh, forgot. And add it in the beginning of the file.
Code [Select]:
CreateFS = function(parent, size, justify)
    local f = parent:CreateFontString(nil, "OVERLAY")
    f:SetFont(main_font, main_font_size, main_font_style)
    f:SetShadowColor(0, 0, 0, 0)
    if(justify) then f:SetJustifyH(justify) end
    return f
end
Old 04.07.2010, 16:15   #5
Shestak
 Junior Member User Information

Shestak's Avatar
Or just install from attach for ShestakUI 2.1
Attached Files
File Type: rar aThreatMeter.rar (1.8 KB, 39 views Who downloaded?)

Tags
athreatmeter

Thread Tools



Mobile Style Русский English Deutsch Italian Chinese