I've been trying to write a script for eepanels2 that will change the background panel color to match the class color of my target, similar to what you use in your UI. Here's what I have atm:
function eePanels2:TargetFrameVisibility(self, event, ...)
local _, class = UnitClass("player");
if class == "WARRIOR" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.79, 0.67, 0.59, 1.00)
elseif class == "PRIEST" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 1.00, 1.00, 1.00, 1.00)
elseif class == "DRUID" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.95, 0.73, 0.56, 1.00)
elseif class == "HUNTER" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.75, 0.92, 0.73, 1.00)
elseif class == "MAGE" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.69, 0.86, 0.96, 1.00)
elseif class == "PALADIN" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.99, 0.81, 0.89, 1.00)
elseif class == "SHAMAN" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.64, 0.73, 1.00, 1.00)
elseif class == "WARLOCK" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.68, 0.59, 0.97, 1.00)
elseif class == "ROGUE" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 1.00, 0.92, 0.62, 1.00)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
I haven't been able to get the script to work. If you or anyone else could tell me where I made my mistakes or post a script that can do what I'm looking for I would really appreciate it. Thanks.
A little something I've been working on for my hunter alt !
I'm loving your unitframes btw, this is as close as it gets to DUF and god knows I loved that addon.
I'm new to PitBull and really like what I see across this thread. My problem every time I try to import a code I always end up with something like below
I like the interface made by cralexns but it happens even if I choose a different code. What am I doing wrong? Need to mention, PitBull reports the code was successful imported.
Alright, so over the last 2 weeks or so I have been trying to hunt down the unit frames that I saw from a video.
I tracked it down to a Korean site, but can't download them as I need to register for Naver. The site is in Korean, which wasn;t the problem as I was able to translate the site and get pretty far in the process, but there is a confirmation code that is phoned in, so I couldn't finalize it.
Anyway, the unit frames seem to be Pitbull or Discord. I'm not quite sure.
The buffs/debuffs of the target and the debuffs of the player are easily done through other mods, but the rest of it is beyond my capability. I attempted it with Pitbull, but it came out quite sloppily.
These are the unit frames that I am wanting.
Anybody able to determine the layout? If there is one, that is.
Or, if anybody is daring (read super amazing) enough to create these. Would forever love you.
Looks like to be Nurfed UI atleast the unreleased version of it.
Quote from jd83 »
Alright, so over the last 2 weeks or so I have been trying to hunt down the unit frames that I saw from a video.
I tracked it down to a Korean site, but can't download them as I need to register for Naver. The site is in Korean, which wasn;t the problem as I was able to translate the site and get pretty far in the process, but there is a confirmation code that is phoned in, so I couldn't finalize it.
Anyway, the unit frames seem to be Pitbull or Discord. I'm not quite sure.
The buffs/debuffs of the target and the debuffs of the player are easily done through other mods, but the rest of it is beyond my capability. I attempted it with Pitbull, but it came out quite sloppily.
These are the unit frames that I am wanting.
Anybody able to determine the layout? If there is one, that is.
Or, if anybody is daring (read super amazing) enough to create these. Would forever love you.
I've been trying to write a script for eepanels2 that will change the background panel color to match the class color of my target, similar to what you use in your UI. Here's what I have atm:
I haven't been able to get the script to work. If you or anyone else could tell me where I made my mistakes or post a script that can do what I'm looking for I would really appreciate it. Thanks.
It's almost correct but it should be:
local _, class = UnitClass("target");
Quote from aeon|Homer »
Hm. Can anyone guide me through how to get the eePanels to stick to my frames like that? I can't get it to work, at all.
Help greatly appreciated!
Go to the eePanels option, select the panel you want to attach to something. In "Parent" write the name of the frame. To get the name of a frame use this macro: /run ChatFrame1:AddMessage(GetMouseFocus():GetName())
First of all a big thanks to Avazza for posting your eepanels scripts.
It all works great except for a weird problem with the border on my target frame. When I first join the game or do a /rl the border on my target frame shows up white for every class. If I open up eepanels and click "edit script" under my target panel and then just click "ok" it magically starts to work.
function eePanels2:TargetFrameVisibility(self, event, ...)
local _, class = UnitClass("target");
if class == "WARRIOR" then
eePanel1:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel1:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel1:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel1:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel1:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel1:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel1:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel1:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel1:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
I've been trying to write a script for eepanels2 that will change the background panel color to match the class color of my target, similar to what you use in your UI. Here's what I have atm:
function eePanels2:TargetFrameVisibility(self, event, ...)
local _, class = UnitClass("player");
if class == "WARRIOR" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.79, 0.67, 0.59, 1.00)
elseif class == "PRIEST" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 1.00, 1.00, 1.00, 1.00)
elseif class == "DRUID" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.95, 0.73, 0.56, 1.00)
elseif class == "HUNTER" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.75, 0.92, 0.73, 1.00)
elseif class == "MAGE" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.69, 0.86, 0.96, 1.00)
elseif class == "PALADIN" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.99, 0.81, 0.89, 1.00)
elseif class == "SHAMAN" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.64, 0.73, 1.00, 1.00)
elseif class == "WARLOCK" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 0.68, 0.59, 0.97, 1.00)
elseif class == "ROGUE" then
eePanels2.db.profile.panels[12].background.frame:SetGradientAlpha("VERTICAL", 0.05, 0.05, 0.05, 0.47, 1.00, 0.92, 0.62, 1.00)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
I haven't been able to get the script to work. If you or anyone else could tell me where I made my mistakes or post a script that can do what I'm looking for I would really appreciate it. Thanks.
I'm new to PitBull and really like what I see across this thread. My problem every time I try to import a code I always end up with something like below
I like the interface made by cralexns but it happens even if I choose a different code. What am I doing wrong? Need to mention, PitBull reports the code was successful imported.
Like Caith got in her/his UI.
Hm. Can anyone guide me through how to get the eePanels to stick to my frames like that? I can't get it to work, at all.
Help greatly appreciated!
Does anybody by any chance know which texture this guy uses for his player, target and tot frames?
http://farm3.static.flickr.com/2226/2259241888_3390c57e5c_o.jpg
Love them!
I tracked it down to a Korean site, but can't download them as I need to register for Naver. The site is in Korean, which wasn;t the problem as I was able to translate the site and get pretty far in the process, but there is a confirmation code that is phoned in, so I couldn't finalize it.
Anyway, the unit frames seem to be Pitbull or Discord. I'm not quite sure.
The buffs/debuffs of the target and the debuffs of the player are easily done through other mods, but the rest of it is beyond my capability. I attempted it with Pitbull, but it came out quite sloppily.
These are the unit frames that I am wanting.
Anybody able to determine the layout? If there is one, that is.
Or, if anybody is daring (read super amazing) enough to create these. Would forever love you.
Which ones ? :p
It's almost correct but it should be:
local _, class = UnitClass("target");
Go to the eePanels option, select the panel you want to attach to something. In "Parent" write the name of the frame. To get the name of a frame use this macro: /run ChatFrame1:AddMessage(GetMouseFocus():GetName())
It all works great except for a weird problem with the border on my target frame. When I first join the game or do a /rl the border on my target frame shows up white for every class. If I open up eepanels and click "edit script" under my target panel and then just click "ok" it magically starts to work.
Like this dude got http://static.pici.se/pictures/bUTLyKFVC.jpg
My guess would be either "Flat" or "Minimalist". Both textures are found in SharedMedia.
Thats cos they are textures, not layouts, the layout ull have to create urself or import a layout and select the texture.