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 30.01.2013, 03:25   #1
 Elder Member User Information

Balgar's Avatar
Question Combo Point Bar

Currently the combo point bar is attached to the target unitframe. I really enjoy the style of your combo bar, however I would like to be able to move it to the middle of my screen.

Is this possible to do with some LUA editing?
Old 30.01.2013, 03:25   #1.5 - Disable Ads

Advertise on this site

Old 30.01.2013, 11:17   #2
Oz
 Senior Member User Information

Oz's Avatar
Path: ShestakUI\Modules\UnitFrames\Layout.lua
Line: 681

Use a plain text editor like this and open that file.

Change -->
lua Code [Select]:
self.CPoints:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 7)
to (for example) -->
lua Code [Select]:
self.CPoints:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
Remember to backup that file before updating or you'll lose this editing.
Say Thank:
Shestak (30.01.2013)
Old 30.01.2013, 23:24   #3
Balgar
 Elder Member User Information

Balgar's Avatar
Is there any way to have the target debuffs remain uneffected by this frame? Currently when I gain combo points they expand upwards to make room for the combo bar.
Old 31.01.2013, 04:38   #4
m2jest1c
 Assistant User Information

m2jest1c's Avatar
try change in file ShestakUI\Core\Functions.lua (~987)
lua Code [Select]:
if self.RangeBar then
        if cpoints[1]:IsShown() and self.RangeBar:IsShown() then
            cpoints:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 21)
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 33) end
        elseif cpoints[1]:IsShown() or self.RangeBar:IsShown() then
            cpoints:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 7)
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 19) end
        elseif self.Friendship and self.Friendship:IsShown() then
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 19) end
        else
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 5) end
        end
    else
        if cpoints[1]:IsShown() or (self.Friendship and self.Friendship:IsShown()) then
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 19) end
        else
            if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 5) end
        end
    end
to
lua Code [Select]:
if self.RangeBar and self.RangeBar:IsShown() then
        if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 19) end
    elseif self.Friendship and self.Friendship:IsShown() then
        if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 19) end
    else
        if self.Auras then self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 5) end
    end
Says Thank:
Balgar (31.01.2013), Shestak (31.01.2013)

Tags
combo points

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
DBM scan point problem .. NaAngel Technical Support 2 21.03.2011 18:08


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