kgPanels
Create panels for customizing your UI, sucessor to eePanels
OnClick now provides a pressed and released variable you can check for.
if pressed then -- do mouse down actions elseif released then -- do mouse up actions end
This means your script will get called twice when someone clicks the panel.
Here is a youtube link to a video Tutorial
Ive created an Example Texture Pack.
This example pack is just a template. If you want to use it as a storage spot for your art, look at the read me file for directions on usage.
What I have done now kagaro, is opened both eePanels.lua file and kgPanels.lua that exist in the saved variable folder, and put in the values that way =)
It's pretty much a direct copy from eePanels now. Thanks for the advice though ^^
I've been trying to find and create a script to show my attack power and update it as it changes.
I thought the Bonus Spell Damage sample script would help me figure it out but when I put it in and reload nothing happens. I've checked intercept mouse clicks, copied the script and put it in exactly where it says to and nothing comes up in there either. I also tried a another sample script to show the panel only when in combat, same thing copy and pasted the script from Samples and reloadui, panel is there out of combat still.
Is there a place that can help me with this? I am no programmer and don't really understand scripts (I'd like to). This seem either broken or I am missing something totally.
Any help would be greatly appreciated.
upgrade from eepanels to eepanels2 then up to kgpanels? or just relayout it, kgpane;s config has soo many more options
Hmm. All I saw was an option to import from eePanels2 sadly.
there is an import eepanels layout command in the config.
Hey mate,
I have been using eePanels for a while since coming back to WoW, but I think maybe I should update to kgPanels now.
Is there a simple way to try and import most of the settings from eePanels into kgPanels? Would it be best to go into the WTF/Config folder and copy over the value from the eePanels.lua file to the kgPanels.lua file?
Thanks
I have tried an underscore and it did not help. Sorry I should have mentioned that.
Here is the error. 1x <string>:"rightmenu-info_OnLoad":40: attempt to index global 'LegoFortressFishing_Broker' (a nil value)
try an _ char it might just not be shwn well thats its an underscore.
I have scripted my Fortress blocks in Kgpanels to show and hide with onclick events.
However one specific Fortress piece is giving me an issue because it has a space in its name.
As the Frame Finder displays it LegoFortressFishing Broker
of course scripting this the space causes issues.
Sample Onload script of panel.
LegoFortressFishing Broker:Hide() LegoFortressFishing Broker:SetFrameStrata("HIGH")
I have tried wrapping this to get the right syntax here.
Also played the google game, with not luck. Anyone here able to help me get this wrapped correctly?
Hey guys, I´m having a problem with KG Panels which I recently noticed. (Only the action bar layer, chat and recount layer working correctly.)
When I log on, my action bar layer looks like this: http://img682.imageshack.us/img682/4135/pic1rk.jpg
When I /reload UI, and only when I /reload UI, it looks like this: http://img695.imageshack.us/img695/1949/pic2vo.jpg
As you can see, the boarders are a bit thicker when I /reload UI.
This is how its supposed to be AND how it was originally designed.
(THE WIDTH/HEIGHT NUMBERS DO NOT CHANGE THO.)
So then I thought, just make it a big thicker, and I added 1 width and 1 height each panel and then it looked like it should look.
But when I /reload UI now OR even when I log off / on again, it looks like this: http://img19.imageshack.us/img19/4646/pic3ai.jpg
(P.S: I can avoid /rl, the problem is, when I do not change the settings it looks smaller. (screen 1)
When I change the widht and height to the settings I want to (screen 2), THEN THEY CHANGE THRU logging on or off and look bigger (screen 3). (so this time no /rl).)
The same happens with skada, it just wont let me set a new position for it, after each relog / new log on it moved 1inch to the left.
Hi, and thanks for nice work.
Don't have much experience with scripting, but trying figure out how to change texture or background color based on DK presence change (Blood, Frost, Unholy).
Please )
I've set up my KgPanels to what I wanted with artworks and so, I have 3 active panels now :
Down : for button middle, where action bars are.
Corner 1: Right down corner, smoke picture
Corner 2: Left down corner, smoke picture.
Whenever I relog, reload UI or exit game and I log in again, the down panel changes to black like I chose Solid background, gray actually and the Corner 1 panel disappears. I need to /kgpanels config everytime and under active panels choose Down > Texture and choose artowork again. For Corner 1, I need to same thing but I can copy all options from corner 1 again and paste it and it will work.
what's the prob?
Cause most of the times it wont save your changes.
If you are try logging out to character screen first after you make changes, so your settings are saved.
http://wowprogramming.com/docs/api/UnitHasVehicleUI
http://wowprogramming.com/docs/events/UNIT_ENTERED_VEHICLE
You should register your frame for UNIT_ENTERED_VEHICLE and then use UnitHasVehicleUI to check whether or not you're bringing up the vehicle UI (driving or gunning) as opposed to getting in a passenger seat.