Download
(312 Kb)
Download
Updated: 03-06-13 04:57 AM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:03-06-13 04:57 AM
Created:unknown
Downloads:111,475
Favorites:637
MD5:
kgPanels  Popular! (More than 5000 hits)
Version: 1.15
by: Kagaro [More]
kgPanels, successor to eePanels. This mod allows you to place artwork in your UI. Please be sure to grab the config addon to be able to configure kgPanels. The menu is LOD so once created memory usage is minimal. This mod also allows you to attach scripts to events for each panel.

Please note the download also now includes kgPanels config as a single zip
Please see curse.com for the wiki pages
http://www.wowace.com/projects/kg-panels/pages/kg-panel-wiki
Version 1.5.3-beta
-- Compatability updates for Cataclysm
Version 1.5.2
-- Updated package for Ace3SharedMediaWidget changes.
Version 1.5
-- Fixes in embeds for disembedded usage
Version 1.4.0
-- Fixes for vanishing buttons with new Ace3
Version 1.39
-- Add libDualSpec support
Version 1.38
-- Fix for the FrameFidner function
Version 1.37
-- API changes for 3.3.3

Toc update for 3.1, fix for kgPanelsConfig to be up to date toc
Updates for 3.2
Archived Files (14)
File Name
Version
Size
Author
Date
v1.5.4.4
288kB
Kagaro
12-05-10 11:52 AM
v1.5.3-beta
227kB
Kagaro
09-04-10 03:25 PM
v1.5.2
226kB
Kagaro
07-20-10 05:32 AM
v1.38
218kB
Kagaro
03-25-10 08:04 AM
v1.37
216kB
Kagaro
03-23-10 08:44 AM
v1.36
215kB
Kagaro
02-07-10 11:09 AM
v1.33
206kB
Kagaro
08-07-09 05:51 AM
v1.32
206kB
Kagaro
07-28-09 02:54 AM
v1.29
212kB
Kagaro
04-22-09 09:30 AM
v1.27
204kB
Kagaro
03-28-09 12:26 PM
v1.26
202kB
Kagaro
03-24-09 08:02 AM
v1.24
201kB
Kagaro
03-21-09 06:26 PM
v1.20
192kB
Kagaro
03-10-09 11:59 AM
78841
31kB
Kagaro
07-22-08 01:01 PM


Post A Reply Comment Options
Old 10-19-10, 06:12 PM  
lilgulps
A Theradrim Guardian
 
lilgulps's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 31
Uploads: 3
What the fuck man? I love the addon, but every single time you updated my colors change. Its getting real old to reset them all each update
lilgulps is offline Report comment to moderator  
Reply With Quote
Old 10-17-10, 01:01 PM  
Doe
A Murloc Raider

Forum posts: 7
File comments: 15
Uploads: 0
No more backgrounds?

Since the cata update I cannot for the life of me get any sort of background to appear, I normally had a shaded grey/black background, but no matter what I do to the options, it is always completely transparent (basically the panels have turned into nothing more than borders).

Any ideas on what's going on?
Doe is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 02:34 PM  
Orko
An Aku'mai Servant
 
Orko's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 154
Uploads: 12
Script Error

I am using the script to add art to a frame when target is elite, rare or boss...After the patch I get this error and can not figure out why

Message: [string "Target_OnEvent"]:12: attempt to index global 'rareelite' (a nil value)
Time: 10/16/10 16:31:44
Count: 2
Stack: [string "Target_OnEvent"]:12: in function <[string "Target_OnEvent"]:1>
[C]: in function `CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>



EDITED: Never mind I found the problem.. Was trying to hide a panel that was never created. Not sure why it was an issue before but all is well now
__________________

Do not go where the path may lead, go instead where there is no path -- and leave a trail.
Last edited by Orko : 10-16-10 at 02:36 PM.
Orko is offline Report comment to moderator  
Reply With Quote
Old 10-03-10, 01:00 PM  
eldavido
A Kobold Labourer

Forum posts: 1
File comments: 116
Uploads: 0
Edit: scratch the previous question, here's a new and improved one:

Hi folks,

I need some help. After spending about 40 hours now, researching, trying, and failing, I fall down on my knees and hope someone knows the answer.

What I'm trying to do, is script a KGpanel to be attached to the coolline cooldown bar. If the bar is shown, the KGpanel will move up in relation to it's placement within the UI, but if the coolline bar is inactive, the KGpanel "resets" to a previous placing.

To see what I mean, take a look at http://www.youtube.com/watch?v=l3f4F...eature=related

It's a bit hard to make out, but at around about the half-way point of the video, if you look at the players action bars, you can see a blue "arc" of colour. Once they start casting, this arc moves up, this is the effect I'm trying to re-create.

I'm sure it can be done, but I'll be buggered if I can figure out how :/

Halp?
Last edited by eldavido : 10-05-10 at 03:32 PM.
eldavido is offline Report comment to moderator  
Reply With Quote
Old 09-13-10, 06:38 PM  
yaldren
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Functioning Grid Expansion Script

Originally posted by Sanat
OnLoad:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("UNIT_PET")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("PLAYER_TARGET_CHANGED")

self:RegisterEvent("UNIT_NAME_UPDATE")
self:RegisterEvent("UNIT_PORTRAIT_UPDATE")

self:RegisterEvent("ZONE_CHANGED_NEW_AREA")

OnEvent:
local pmems = GetNumPartyMembers()
local rmems = GetNumRaidMembers()
local height = 62.15
local pet = UnitExists("pet") or UnitExists("partypet1") or UnitExists("partypet2") or UnitExists("partypet3") or UnitExists("partypet4")

if rmems > 1 then
self:SetWidth(443.95)
self:Show()
elseif pmems < 1 then
self:Hide()
self:SetWidth(94.55)
elseif pmems == 1 then
self:SetWidth(181.9)
self:Show()
elseif pmems == 2 then
self:SetWidth(267.25)
self:Show()
elseif pmems == 3 then
self:SetWidth(355.6)
self:Show()
elseif pmems == 4 then
self:SetWidth(443.95)
self:Show()
end

if rmems < 5 and not pet then
height = 62.15
elseif (rmems > 5 and rmems <= 10) or pet then
height = 116.1
elseif (rmems > 10 and rmems <= 15) then
height = 174.05
elseif (rmems > 15 and rmems <= 20) or (rmems <= 15 and pet) then
height = 232
elseif (rmems > 20 and rmems <= 25) then
height = 289.95
end

self:SetHeight(height)

-- Right now I have grid set to show pets in a 10 man raid, and a party. That is where the pet call comes in.\
Enjoy
i used this script but i'm still seeing the kgpanel when i'm solo and not when i'm on a raid or party, do i have to add something else to the code? i want to see this kgpanel only when i'm on a raid or on a group, also, the size of the kgpanel does it matter here?

Thanks
yaldren is offline Report comment to moderator  
Reply With Quote
Old 09-08-10, 06:46 AM  
Sanat
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Originally posted by Patramix
got a question,

how would i get a button i made glow a different color when i mouse over it?
You can use the OnEnter. And what do you mean by glow? You can change the panels BG color on the fly. But if you want something to really glow I am not sure if you can do that.
Sanat is offline Report comment to moderator  
Reply With Quote
Old 09-08-10, 06:44 AM  
Sanat
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Functioning Grid Expansion Script

OnLoad:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("UNIT_PET")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("PLAYER_TARGET_CHANGED")

self:RegisterEvent("UNIT_NAME_UPDATE")
self:RegisterEvent("UNIT_PORTRAIT_UPDATE")

self:RegisterEvent("ZONE_CHANGED_NEW_AREA")

OnEvent:
local pmems = GetNumPartyMembers()
local rmems = GetNumRaidMembers()
local height = 62.15
local pet = UnitExists("pet") or UnitExists("partypet1") or UnitExists("partypet2") or UnitExists("partypet3") or UnitExists("partypet4")

if rmems > 1 then
self:SetWidth(443.95)
self:Show()
elseif pmems < 1 then
self:Hide()
self:SetWidth(94.55)
elseif pmems == 1 then
self:SetWidth(181.9)
self:Show()
elseif pmems == 2 then
self:SetWidth(267.25)
self:Show()
elseif pmems == 3 then
self:SetWidth(355.6)
self:Show()
elseif pmems == 4 then
self:SetWidth(443.95)
self:Show()
end

if rmems < 5 and not pet then
height = 62.15
elseif (rmems > 5 and rmems <= 10) or pet then
height = 116.1
elseif (rmems > 10 and rmems <= 15) then
height = 174.05
elseif (rmems > 15 and rmems <= 20) or (rmems <= 15 and pet) then
height = 232
elseif (rmems > 20 and rmems <= 25) then
height = 289.95
end

self:SetHeight(height)

-- Right now I have grid set to show pets in a 10 man raid, and a party. That is where the pet call comes in.\
Enjoy
Sanat is offline Report comment to moderator  
Reply With Quote
Old 08-10-10, 01:31 PM  
Patramix
A Kobold Labourer

Forum posts: 1
File comments: 13
Uploads: 0
got a question,

how would i get a button i made glow a different color when i mouse over it?
Patramix is offline Report comment to moderator  
Reply With Quote
Old 08-09-10, 04:52 PM  
cormanthor
A Warpwood Thunder Caller
 
cormanthor's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 49
Uploads: 1
Gradient color scripting

I tried setting up a simple gradient background for my chat windows. All worked well until I decided that it should be class-colored like my other panels. No prob, right? I copy the code (snippet below):
Code:
local _, class = UnitClass("player");
	if class == "WARRIOR" then
        self.bg:SetVertexColor(0.95, 0.23, 0.23, self.bg:GetAlpha())
	elseif class == "PRIEST" then
...
Unfortunately, self.bg:SetVertexColor changes the whole concept of the panel back to solid, not gradient.

The question is, how do I change the background color and background gradient color separately? And is there anything I need to script for keeping the gradient setting because of this?
__________________
Some days it's just not worth chewing through the restraints...
cormanthor is offline Report comment to moderator  
Reply With Quote
Old 08-02-10, 02:02 PM  
Stusteh
A Murloc Raider

Forum posts: 8
File comments: 3
Uploads: 0
I was wondering if there is a script out there that could switch bartender profiles or to just resize and reposition them.
Stusteh is offline Report comment to moderator  
Reply With Quote
Old 07-20-10, 09:52 AM  
kasca
A Frostmaul Preserver

Forum posts: 282
File comments: 202
Uploads: 0
I agree with Masteromen. This ones hard to use. Ive watched and read everything. Still cant get it to add anything =(
kasca is offline Report comment to moderator  
Reply With Quote
Old 07-20-10, 08:49 AM  
samhain_whitefox
A Deviate Faerie Dragon
 
samhain_whitefox's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 39
Uploads: 3
like in the screenshot?

I want my UI to look like the UI in the screenshot of KGPanels, anyone know how to accomplish this? any help is appreciated thank you.
__________________
a heart alone
a heart of stone.

a shattered love
a battered child.

innocence lost
at rending cost.
samhain_whitefox is offline Report comment to moderator  
Reply With Quote
Old 06-29-10, 07:31 AM  
Kagaro
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 132
Uploads: 9
Originally posted by Masteromen
Ok I've never used this addon B4 so how do I use http://www.wowinterface.com/download...?id=16926#info Btex is much easier to use but I can't get the frames to work! just a thought but you guys should have a help file!


Thx for any help you can give me!
No idea what Btex is, there are tutortials all over the palce for kgPanels + youtube videos.
Kagaro is offline Report comment to moderator  
Reply With Quote
Old 06-28-10, 06:06 AM  
Masteromen
A Kobold Labourer
 
Masteromen's Avatar

Forum posts: 0
File comments: 14
Uploads: 0
Ok I've never used this addon B4 so how do I use http://www.wowinterface.com/download...?id=16926#info Btex is much easier to use but I can't get the frames to work! just a thought but you guys should have a help file!


Thx for any help you can give me!
Last edited by Masteromen : 06-28-10 at 06:18 AM.
Masteromen is offline Report comment to moderator  
Reply With Quote
Old 06-24-10, 08:34 AM  
Kagaro
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 132
Uploads: 9
Originally posted by hunteds911
Ok, I found and modified a script and want to know why I keep getting errors any ideas? This is for a dynamic party frame.



OnLoad:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("RAID_ROSTER_UPDATE")

OnEvent:

local pmems = GetNumPartyMembers()
local rmem = GetNumRaidMembers()

if inRaid then

if (rmems > 5) then
self:SetWidth(220)
self:Show()
elseif (rmems > 10) then
self:SetWidth(220)
self:Show()
elseif (rmems > 20) then
self:SetWidth(220)
self:Show()
elseif (rmems > 25) then
self:SetWidth(220)
self:Show()
end

else
if (pmems < 1) then
self:Hide()
elseif (pmems > 0) then
self:Show()
end
if (pmems == 2)then
self:SetWidth(80)
self:Show()
elseif (pmems == 3) then
self:SetWidth(120)
self:Show()
elseif (pmems == 4) then
self:SetWidth(160)
self:Show()
elseif (pmems == 5) then
self:SetWidth(220)
self:Show()
end
Typo in your variable names, and inRaid doest exist as a variable.
Kagaro is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.