• 0

    posted a message on kgPanels Offical Thread
    I've tried all night to get my old scripts from eePanels to work and I've figured out the most if it. Problem is I can't get a backround color to apply to a panel. I want to apply a gradient based on class, this is what I've tried:

    OnLoad:

    self:RegisterEvent("PLAYER_ENTERING_WORLD")
    self:RegisterEvent("PLAYER_TARGET_CHANGED")


    OnEvent:
      local _, class = UnitClass("target");
      if class == "WARRIOR" then
        self:SetBackdropBorderColor(0.780,0.611,0.431,1)
        self:SetGradientAlpha("HORIZONTAL", 0.780,0.611,0.431, 0, 0.780,0.611,0.431, 0.5)
      elseif class == "PRIEST" then
        self:SetBackdropBorderColor(1,1,1,1)
        self:SetGradientAlpha("HORIZONTAL", 1,1,1, 0, 1,1,1, 0.5)
      elseif class == "DRUID" then
        self:SetBackdropBorderColor(1,0.490,0.0392,1)
        self:SetGradientAlpha("HORIZONTAL", 1,0.490,0.0392, 0, 1,0.490,0.0392, 0.5)
      elseif class == "HUNTER" then
        self:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
        self:SetGradientAlpha("HORIZONTAL",0.6705,0.8313,0.4509, 0, 0.6705,0.8313,0.4509, 0.5)
      elseif class == "MAGE" then
        self:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
        self:SetGradientAlpha("HORIZONTAL", 0.4117,0.8,0.9411, 0,0.4117,0.8,0.9411, 0.5)
      elseif class == "PALADIN" then
        self:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
        self:SetGradientAlpha("HORIZONTAL", 0.9607,0.5490,0.7294, 0, 0.9607,0.5490,0.7294, 0.5)
      elseif class == "SHAMAN" then
        self:SetBackdropBorderColor(0.1411,0.3490,1,1)
        self:SetGradientAlpha("HORIZONTAL", 0.1411,0.3490,1, 0, 0.1411,0.3490,1, 0.5)
      elseif class == "WARLOCK" then
        self:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
        self:SetGradientAlpha("HORIZONTAL", 0.580, 0.5098, 0.7882, 0, 0.580, 0.5098, 0.7882, 0.5)
      elseif class == "ROGUE" then
        self:SetBackdropBorderColor(1,0.9607,0.4117,1)
        self:SetGradientAlpha("HORIZONTAL", 1,0.9607,0.4117, 0, 1,0.9607,0.4117, 0.5)
      end


    The border part works fine but not the SetGradientAlpha (which, after a quick check at WoWWiki is what I should be using). I've also tried a simple SetBackdropColor and that didn't work either so I assume the problem is not with SetGradientAlpha. Any idea what I should do?
    Posted in: General AddOns
  • 0

    posted a message on MyMedia
    I tried using the .bat and now it seems MyMedia works with ALL mods! Yay, finally!
    Posted in: General AddOns
  • 0

    posted a message on MyMedia
    Quote from quaunaut »

    Edit for clarity:

    The default MyMedia file is not registering with LibSharedMedia-3.0, only 1.0, so any mods using 3.0 don't get to use them. The SML command should be changed to SharedMedia.


    Could you ellaborate on this coz I still can't get this to work as I'd like. What should I change?
    Posted in: General AddOns
  • 0

    posted a message on Chatter- Ace3 chat mod (was Chatterbox)
    I'd like to add a feature request. Could you please add a modifier for allowing different scroll speeds? Like no modifier=scroll 1 line, hold in Shift and scroll and you'd get 3 lines, hold CTRL and scroll and you'd reach the top/bottom.
    Posted in: General AddOns
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Some changes:

    Party OOC:
    http://i28.tinypic.com/2dgkkep.jpg

    Party Combat:
    http://i28.tinypic.com/15cdnqr.jpg

    Addonlist:
    http://i25.tinypic.com/30j1kdk.jpg

    I don't use all of em though :)
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Tiany »

    Party: http://img3.uploadhouse.com/fileuploads/1698/169816348daf9b1623b1e95dc8034dfe83e1853.jpg

    UF's are WAY smaller again, different font, different chat kgPanel, ....


    Zomg, that's so hot!
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Ganders »

    Had to chuckle with this because I actually do play with a 6 year old computer...

    /sigh


    Hehe :)

    Quote from Phanx »

    Druid alt's UI. Shaman main's UI is mostly the same.


    Whats that Statusbar texture on Omen etc.?
    Posted in: General Chat
  • 0

    posted a message on ButtonFacade (was LibButtonSkin-1.0)
    Quote from Phanx »

    I find it much simpler just to override the default UI-Quickslot textures with custom textures to affect the character sheet and bag buttons. A whole bordered and glossy skin would be too much for such small buttons, I think.


    That's what I do. About it being to much I'd have to disagree, I think it looks really hot with a black border and gloss, especially togheter with appopriate Skinner settings :)
    Posted in: General AddOns
  • 0

    posted a message on ButtonFacade (was LibButtonSkin-1.0)
    Quote from StormFX »

    If they're actual buttons, they'd be skinnable. But it'd be up to someone else to write a mod to apply the skinning engine (in the case of the character sheet). Why anyone would want button border on the character sheet is beyond me, though. >.<


    Hot gloss :P

    It doesn't really matter, I use custom textures to add that.
    Posted in: General AddOns
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from paradigmlie »

    While i love the oUF and rBars mods (i'm pretty sure those are the right ones) I am failing at LUA coding.

    What are good UF mods that arent mem hogs like Pitbull? All i use from pitbull are the health, power, and text. Heres a SS of what i use from it. (not shown is my party, on which i have a custom text header that shows the talent trees of my party members)



    Something i like about pitbull is the [outline] modifier. I'm going to take it off anything thats on top of a frame, but for my health and mana, it hangs off the frame, so i would like to have it outlined so its easier to see...


    If you remove all other models it won't eat that much memory. Plus, it doesn't really matter. Unless you play with a 6 year old computer memory won't affect nothing but your loading time.
    Posted in: General Chat
  • 0

    posted a message on ButtonFacade (was LibButtonSkin-1.0)
    Will this skin the buttons in the character frame and Baggins also? (I know the author of Baggins would have to add support, just mean in general, those kinds of buttons.)
    Posted in: General AddOns
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Seerah »

    custom blp for the player arrow on the minimap?


    That's Questhelper, you can see the regular arrow in the center of the minimap :)

    Altough. That got me thinking, I'm probably gonna make a custom arrow the match the blips I found in the Chinchilla thread. I think they're called Charmed. Amazing textures :)
    Posted in: General Chat
  • 0

    posted a message on kgPanels Offical Thread
    Quote from Kagaro »

    Make sure you have the lastest version, Also are you using dis-embeds?



    I just updated with WAU before running wow so everything was up to date. Yes I am running disembedded.
    Posted in: General AddOns
  • 0

    posted a message on [Pitbull] Separated Bar
    That's just the textures and the frame background color that makes it look like that.
    Posted in: Unit Frames
  • 0

    posted a message on kgPanels Offical Thread
    I can't get this to work with SharedMedia, the files how up in the list but no textures are visible when I select them. I know kgPanels uses SharedMediaLib-3.0 but so does Omen and that works. The textures also show up in eePanels2 and all other mods that user SharedMedia. I know this might not be a problem with kgPanles but with SharedMedia (alot of confusion here imo.). Anyways, do you have any idea what I might be doing wrong?
    Posted in: General AddOns
  • To post a comment, please or register a new account.