The simplest/easiest solution is to set the Parent to the pitbull target frame. This [modified and untested] script should also work:
function eePanels2:TargetFrameVisibility(self, event, ...)
if (UnitExists("target")) then
THIS:Show()
else
THIS:Hide()
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
Heh! I was really close :-P, good for my second LUA script ever.
Oh, right, Overshee - I really like those graphics. :) Anyway, I just have PS Elements instead of Photoshop, and it's not as easy (for me at least) to set up alpha channels, etc. Try downloading GIMP (it's free) and opening your textures in that program. Right-click on your image in GIMP, go to Transparency, then Add Alpha channel. Just as long as it has the proper dimensions, an alpha channel, and is a TGA or BLP file, it should work. As for the white edges, here's a tutorial by Bouvi that has a tip in there about how to fix it in Photoshop: http://www.box.net/shared/xu51y48fip
Heh, that means a lot coming from you, your interface isn't exactly unknown :).
It's just a gradient and some brushes I found on DA, really :-P.
Also, is there the odd chance you know how to make a bar texture? Or know of a tutorial for one?
Kicked up eePanels2 today and setup the panels, looks amazing now, I must say, the simple addition of the waterfall GUI, and the ability to right click on each frame makes setting up the panels so simple.
What i am missing is possibly if somebody could help me out with a simple script to hide/show a panel depending on whether i have a target selected or not. i use pitbull, and I have a panel that sits behind the UF, looks a bit daft with no target selected though.
Regards.
Well, I have no idea what I'm doing, but try this out?
function eePanels2:TargetFrameVisibility(self, event, ...)
if(UnitExists("target")) = 1 then
eePanel1:Show()
else
eePanel1:Hide()
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
Hope it works ^^, be sure to tell me if it does.
A script is not needed. It just needs to be parented to the target frame.
Heh. That works too ^^ (would my method work? I honestly have no idea what I'm doing and I'd like to know if it would...
BTW, can I please get some .tga exporting help from you Seerah? I posted a few pages back, and I would really like to skin my interface, but it isn't working right.
Would there be any way to use the scripting function in EEpanels to generate text? I would really like to do away with the stance bar in my UI and replace it with a simple text using GetsShapeshiftFormInfo. Will the script function support this?
If you made little images with the name of the form it would work, then just use a variant of the raid form back a page to make a different one show up according to what stance you had on.
Kicked up eePanels2 today and setup the panels, looks amazing now, I must say, the simple addition of the waterfall GUI, and the ability to right click on each frame makes setting up the panels so simple.
What i am missing is possibly if somebody could help me out with a simple script to hide/show a panel depending on whether i have a target selected or not. i use pitbull, and I have a panel that sits behind the UF, looks a bit daft with no target selected though.
Regards.
Well, I have no idea what I'm doing, but try this out?
function eePanels2:TargetFrameVisibility(self, event, ...)
if(UnitExists("target")) = 1 then
eePanel1:Show()
else
eePanel1:Hide()
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
Very nice. I have two questions, first, how did you get the hotkeys for your spells to be in the upper right corner, and move around the text in general. Second, how did you do the border around your spells?
The dimensions of all TGA or BLP images loaded by the game must be a square of 2, like: 4, 8, 16, 32, 64, 128, 256, 512, etc, to a maximum size of 512. (But both sides do not need to be the same length.) So 512x512 and 128x256 would work, but 350x162 wouldn't.
I'm honestly not sure if this is the right place to put this, but I've been having some trouble with making my .tga's work. Two times in a row (with different textures) I've gotten the first 512x512 block to work, but I can't get any of the other blocks to display for the life of me.
These blocks that have worked have also had extra plain white around the edges that must be from the alpha being too large, my first had a little opaque strip, and my new one (which uses a gradient) has a gradient going from white to clear.
I've read like 3 tutorials on how to get them to work, but they just don't. The size is right, I'm fairly sure the alpha transparencies are right, and I just don't know what I've missed.
I'm gonna upload the PSD, and hopefully a kind soul will take pity on me and make me the .tga's... I'd be forever in their debt (and if you like the look of mine I'd gladly try to skin you up one.)
It's a 1680x1050 size, although only the bottom is being skinned.
aargh, so. You have an image that is 512px widex 300 px tall. You have to put it in a 512x512 canvas because it needs to be a power for 2 for WoW to load it.
If you wanted to put it in an eepanel, would the eePanel have to be 512x512? or could you make the eepanel 512x300 without it making the image really short.
or do you mean that you'd want to make the image 512x256 and then make the image twice as tall (by warping it) as it should be in photoshop and then in eepanel make the panel 512x256 so that it'd be compressed to the right size?
0
EDIT: Wording.
0
I think you're right. IIRC you can turn it off though, that might fix it.
0
Are you sure the right textures are under the right party member?
0
Just modify the script from the last page that evilelvis made. If you change it to pet-relevant stuff, it'll work.
0
Heh! I was really close :-P, good for my second LUA script ever.
Is there a list of Events anywhere?
0
Heh, that means a lot coming from you, your interface isn't exactly unknown :).
It's just a gradient and some brushes I found on DA, really :-P.
Also, is there the odd chance you know how to make a bar texture? Or know of a tutorial for one?
0
Heh. That works too ^^ (would my method work? I honestly have no idea what I'm doing and I'd like to know if it would...
BTW, can I please get some .tga exporting help from you Seerah? I posted a few pages back, and I would really like to skin my interface, but it isn't working right.
Any help would be amazing!
0
If you made little images with the name of the form it would work, then just use a variant of the raid form back a page to make a different one show up according to what stance you had on.
0
Well, I have no idea what I'm doing, but try this out?
Hope it works ^^, be sure to tell me if it does.
0
Very nice. I have two questions, first, how did you get the hotkeys for your spells to be in the upper right corner, and move around the text in general. Second, how did you do the border around your spells?
Thanks
0
They are 512x512...
0
These blocks that have worked have also had extra plain white around the edges that must be from the alpha being too large, my first had a little opaque strip, and my new one (which uses a gradient) has a gradient going from white to clear.
I've read like 3 tutorials on how to get them to work, but they just don't. The size is right, I'm fairly sure the alpha transparencies are right, and I just don't know what I've missed.
I'm gonna upload the PSD, and hopefully a kind soul will take pity on me and make me the .tga's... I'd be forever in their debt (and if you like the look of mine I'd gladly try to skin you up one.)
It's a 1680x1050 size, although only the bottom is being skinned.
Download link://www.divshare.com/download/1828761-56e">DivShare" target="" data-ensure-absolute>http://www.divshare.com/download/1828761-56e">DivShare File - ui2.psd
Thanks in advance! Help would be appreciated sooo much.
~Overshee
0
Help please?
0
0
If you wanted to put it in an eepanel, would the eePanel have to be 512x512? or could you make the eepanel 512x300 without it making the image really short.
or do you mean that you'd want to make the image 512x256 and then make the image twice as tall (by warping it) as it should be in photoshop and then in eepanel make the panel 512x256 so that it'd be compressed to the right size?