Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Modified Versions

Modified Versions Your modified version of ShestakUI.

Advertising

 
Thread Tools
Old 10.11.2012, 22:49   #21
m2jest1c
 Assistant User Information

m2jest1c's Avatar
for
Quote:
Originally Posted by rkw View Post
self.Power.bg:SetTexture(C.media.mana)
you need to do like this

["mana"] = [[Interface\AddOns\DarkShestakUI\Media\Textures\Mana.tga]],

and be sure to restart the client

Quote:
Originally Posted by rkw View Post
where do I find the folder recountbutton?
https://github.com/m2jest1c/ShestakU...sc/ToolBar.lua

and this button dont support Skada

Добавлено через 5 минут
Offtop
Old 10.11.2012, 22:49   #1.5 - Disable Ads

Advertise on this site

Old 10.11.2012, 23:16   #22
rkw
 Elder Member User Information

rkw's Avatar
thanks for the quick response.

not work

Config\Settings.lua
lua Code [Select]:
--  Media options
----------------------------------------------------------------------------------------
C["media"] = {
    ["normal_font"] = [[Interface\AddOns\DarkShestakUI\Media\Fonts\Normal.ttf]],        -- Normal font
    ["blank_font"] = [[Interface\AddOns\DarkShestakUI\Media\Fonts\Blank.ttf]],      -- Blank font
    ["pixel_font"] = [[Interface\AddOns\DarkShestakUI\Media\Fonts\Pixel.ttf]],      -- Pixel font
    ["pixel_font_style"] = "OUTLINEMONOCHROME",           -- Pixel font style("OUTLINEMONOCHROME" or "OUTLINE")
    ["pixel_font_size"] = 8,                                                            -- Pixel font size for those places where it is not specified
    ["mana"] = [[Interface\AddOns\DarkShestakUI\Media\Textures\Mana.tga]],
    ["blank"] = [[Interface\AddOns\DarkShestakUI\Media\Textures

Modules\UnitFrames\Layout.lua
lua Code [Select]:
self.Power:SetStatusBarTexture(C.media.mana)

    self.Power.frequentUpdates = true
    self.Power.colorDisconnected = true
    self.Power.colorTapping = true
    self.Power.colorPower = true
    if C.unitframe.plugins_smooth_bar == true then
        self.Power.Smooth = true
    end

    self.Power.PreUpdate = T.PreUpdatePower
    self.Power.PostUpdate = T.PostUpdatePower

    self.Power.bg = self.Power:CreateTexture(nil, "BORDER")
    self.Power.bg:SetAllPoints()
    self.Power.bg:SetTexture(C.media.mana)
    if C.unitframe.own_color == true and unit == "pet" then
        self.Power.bg:SetVertexColor(C.unitframe.uf_color[1], C.unitframe.uf_color[2], C.unitframe.uf_color[3], 0.2)
    else
        self.Power.bg.multiplier = 0.2

- rkw -
Old 10.11.2012, 23:42   #23
m2jest1c
 Assistant User Information

m2jest1c's Avatar
https://github.com/m2jest1c/ShestakU...aa5064ca87a3f2


i dont have any idea why it does not work for you
Old 11.11.2012, 00:29   #24
rkw
 Elder Member User Information

rkw's Avatar
works!!
I do not know what the reason was
I purchased, copied and pasted.. Thanks


OK. to do list:
mana make red background.
health background adjust with the skada background.
tips? :-)

- rkw -
Old 11.11.2012, 10:08   #25
m2jest1c
 Assistant User Information

m2jest1c's Avatar
look for lines containing ".bg", "SetVertexColor", this is similar to how you changed the background color of castbar
Old 11.11.2012, 12:31   #26
rkw
 Elder Member User Information

rkw's Avatar
I have a problem.
Power and Health should be both red (0.69, 0.31, 0.31), but is white power.

lua Code [Select]:
self.Health.PostUpdate = T.PostUpdateHealth

    -- Health bar background
    self.Health.bg = self.Health:CreateTexture(nil, "BORDER")
    self.Health.bg:SetAllPoints()
    self.Health.bg:SetTexture(C.media.texture)
    if C.unitframe.own_color == true then
        self.Health.bg:SetVertexColor(0.69, 0.31, 0.31)
    else
        self.Health.bg.multiplier = 5
    end

lua Code [Select]:
self.Power.PreUpdate = T.PreUpdatePower
    self.Power.PostUpdate = T.PostUpdatePower

    self.Power.bg = self.Power:CreateTexture(nil, "BORDER")
    self.Power.bg:SetAllPoints()
    self.Power.bg:SetTexture(C.media.mana)
    if C.unitframe.own_color == true and unit == "pet" then
        self.Power.bg:SetVertexColor(0.69, 0.31, 0.31)
    else
        self.Power.bg.multiplier = 5
    end



- rkw -
Old 11.11.2012, 12:51   #27
Wetxius
 Assistant User Information

Wetxius's Avatar
Change
lua Code [Select]:
if C.unitframe.own_color == true and unit == "pet" then
to
lua Code [Select]:
if C.unitframe.own_color == true then
Old 11.11.2012, 13:25   #28
rkw
 Elder Member User Information

rkw's Avatar
lua Code [Select]:
self.Power.PreUpdate = T.PreUpdatePower
    self.Power.PostUpdate = T.PostUpdatePower

    self.Power.bg = self.Power:CreateTexture(nil, "BORDER")
    self.Power.bg:SetAllPoints()
    self.Power.bg:SetTexture(C.media.mana)
    if C.unitframe.own_color == true then
        self.Power.bg:SetVertexColor(0.71, 0.43, 0.27)
    else
        self.Power.bg.multiplier = 5
    end



confused
Old 11.11.2012, 13:56   #29
m2jest1c
 Assistant User Information

m2jest1c's Avatar
lua Code [Select]:
bg:SetVertexColor(r * mu, g * mu, b * mu)
to
lua Code [Select]:
bg:SetVertexColor(0.71, 0.43, 0.27)
in https://github.com/m2jest1c/ShestakU...ents/Power.lua
Old 11.11.2012, 14:24   #30
rkw
 Elder Member User Information

rkw's Avatar
Yes, thx!


is it possible for life and mana display add a percentile?

Tags
black

Thread Tools



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