Thread Tools Display Modes
04-21-10, 01:28 AM   #1
Malhemoth
A Murloc Raider
Join Date: Apr 2010
Posts: 6
Question KGpanels and stUF

This is a 2 question post:

1) I'm comfortable using KGpanels and I'm trying to push my creative limits with it. I set up stUF and other elements of my UI as I want them, and now I want to use photoshop and create a UI over the screenshot. I'm using a 1920x1080 resolution.

I'm aware of the 2^ limits and I'm wondering what the best way to approach this is. Resizing the screenshot or the final image? Also what is the best way to cut up the final product into segments in such a way that I can seamlessly piece them together in KGpanels?

This is the screenshot in question:
http://lh5.ggpht.com/_MKy-B_4w0A4/S8...110_165535.jpg

2) if look to the left hand side you'll see my arena and raid boss frames. I plan on drawing out a decorative panel for these two elements to share. I know that they can be scripted to pop up only on certain events. In this case the events would be upon entering an arena, or whatever triggers the raid boss UI (Think princes fight.)

My issue is that I am extremely unfamiliar with scripting. I'm hoping somone would be so kind as to help me out with that. How would I go about making a particular panel pop up for both of the aforementioned events?

Thanks for taking the time to read this, and I look forward to learning from the wealth of compiled knowledge that is WoWInterface.
  Reply With Quote
04-21-10, 02:46 AM   #2
MidgetMage55
Grinch!
 
MidgetMage55's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,498
If you know the name of the frame you can parent the panel to the unit frame and when the frame is hidden the panel will hide with it.

Put this in a macro:
/script DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName());

Then hover over the bar you want to parent to and hit the macro to find out its name. For StUF you can do this in the configuration mode.

Then enter the name of the frame in to the boxes that currently say UIParent in them. Then then re-size and nudge as needed.
__________________

I think Hong Kong Phooey was a ninja AND a pirate. That was just too much awesome. - Yhor
  Reply With Quote
04-21-10, 05:01 AM   #3
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
You can also do this:

Code:
/dump GetMouseFocus():GetName()
Or for more information about the frame:

Code:
/dump GetMouseFocus()
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
04-21-10, 12:21 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Or even

/framestack
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-21-10, 03:13 PM   #5
Malhemoth
A Murloc Raider
Join Date: Apr 2010
Posts: 6
Excellent, that solves my second question. Thanks for the prompt replies.


Now, does anyone have any tips or tricks for designing a layout on top of their UI?

Namely the best way to divide the artwork up into pieces that won't leave any seams?
  Reply With Quote
04-21-10, 08:57 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Image files can be up to 1024 pixels. If your image quality is good, then you can just scale up from there. If you prefer to break the image into smaller parts, then first start working with a canvas that is (for example) 1024. After you're finished creating the UI art, resize your canvas (say, to 512) and select to crop the picture, keeping it anchored to the bottom left corner. Save the result, undo the resize, then do it again cropping to the bottom right corner. (This is with PS, btw.)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KGpanels and stUF


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off