Hello! I for some reason the border that I enter are not displayed
how to solve this problem? |
Unit Frames
Man,
I know its an older post, but what are the unit frames you are using ? I really love the standing player figures ;-) Cheers, Jens Quote:
|
Quote:
Yup, GrimUI |
Actually what Yhor put up was a remake of MazzleUI using a whole boat load of addons. I think he managed to recreate using STUFF unit frames and ZMOBDB advanced 6. Those screen shots are not actually my UI. Looks similar though, as it should :) they are all based on the Mazzle look and feel.
|
Ahh, my bad :p
|
I was following your "Getting Started" Tutorial, using this code:
Code:
lpanels:CreateLayout("LiteStats", { Quote:
Please help! |
Quote:
Code:
lpanels:CreateLayout("LiteStats", { |
Quote:
tldr; Tried out the code yet LitePanels refuses to show up on my UI. |
should be:
lpanels:ApplyLayout(nil, "LiteStats", "AnotherLayout") missed that bit |
Hi,man. I've just get to know this Addon.And I think I'll like it.
But here's some questions I want to ask: I used to use the code down here as a single Addon ,to creat a button that shows or hide some UIforms.(Like LUI) Code:
local Minimaphide = CreateFrame("Button", "Minimaphide", UIParent); I want to know if I can add this in to layout.lua of LitePanles. If it will do , where shall I add? above this: Code:
lpanels:CreateLayout("Load For All", { Code:
{ |
Your code can be standalone, I believe. You can leave it by itself outside of litepanels code.
|
Gradients
Hey I was wondering if there was a way for the vertical gradient to start at the bottom and fade out as it moved upwards into the panel, instead of it starting at the top and fading out as it moves downward into the panel.
|
I did that with some panels, code for one panel, which is just a black shadowy bar at the bottom of my screen getting more translucent to the top:
Code:
bg_color = "0,0,0", gradient_color = "0,0,0", Switching around the gradient_alpha and bg_alpha should then switch the fading to top-to-bottom... |
Whats the parent bind i should make for Player's cast bar?
and how do i find out what should i put for "Parent = ?" |
Quote:
|
Hi, I am trying out litepanels which means i am new =P
I am trying to attach a box on to my stance bar and i am using bartender. what would the parent name be? and same as dominos, =P thanks |
Quote:
I´ve reworked my whole Interface with litepanels only a few days ago and made panels for my actionbars as well. Because my Actionbars are at the bottom of the screen, i anchored the mainpanels to the bottom and positioned it from there using x_off and y_off. if you want to use borders, you can set the parent of these borders to the main panels. For example: My main Panel is named "Mitte" and i have a top border named "MitteBorderUp" and a border at the bottom of "Mitte" named "MitteBorderDown". I set them both "parent_to = "Mitte" and anchored them to TOP/BOTTOM. Code:
lpanels:CreateLayout("ActionBar",{ |
I have a question regarding scripts in panels.
I want to create a backgroundpanel for my raidframes, but it should only be displayed, when i´m actually in a raid/group. Does anyone know, if 1. this is possible 2. if it is: how can i reach that goal? I´m pretty new to the whole lua/wow api world and would be grateful if you have any hints ;) |
Thanks.
But I am asking for a parent name Q.Q like you ask for a raid frame, it is the same as my action bars. I only want it shows up when the acion bar exist. such thing as stance/pet bar. |
Quote:
|
Quote:
First, you have to have 2 diffirent scripts for the panel, an OnLoad = function(self). And a OnEvent = function(self). In the OnLoad script, you should check if your in a raid: Code:
-- All the other stuff goes here. So now you have to make it check almost constantly, we could do this with an OnUpdate script, but it costs too many ressources, so we need to use events. Events are something that is triggeret by certain things in WoW: Fx the "UNIT_HEALTH" event fires when the health level of a unit changes. But we need an event that fires, when the player enters or leaves a group or raid. I can't find it right now, but you could search around this page and check the events. But when you've found the event, you need to make your panel check for the event, this is done in the OnLoad script: So, we take the code from above, and alter it to this: Code:
-- All the other stuff goes here. Code:
-- The usual stuff, like before Hope it helps, good hunting! :) |
Quote:
|
Quote:
|
How about Dominos?
Bartender doesnt have a totem bar, or rather ugly :( So, I think i will be using dominos, or is there a lite totem bar replacement? |
Quote:
|
Quote:
|
Quote:
I prefer TotemTimers. Check it out as well :P |
4 Attachment(s)
Now I am curious if I can apply a gradient to a texture. Testing... I'll get back to you.
Edit: Okay tested... And here is the easiest way I came up with. I made a gradient texture and added some chop to it.... ie used one of my random brushed in gimp and made the choppy pattern on it. Code:
{ name = "tester", -- test I've got the texture available if you'd like to use it, its in the zip file. |
Quote:
|
sure thing chicken wing
Yes I'm hyper... gogo Monster!! |
RazerNaga
Hey guys really love this addon just starting to get used to anchoring panels to my action bars..
Then I had to go buy a Razer Naga. I had no problem setting the frames to anchor my Bartender Actionbars, with a little bordered black box around my action bar. I used this code sorry if any of this is horrible but it worked for me: { name = "Action", anchor_frame = "BT4Bar1Overlay", y_off = 1, width = "100%", height = "101%", bg_color = "0 0 0", bg_alpha = 1, strata = "LOW", border = "Interface\\AddOns\\Ferous Media\\Borders\\fer8", border_color = ".45 .45 .45", border_size = 18, inset = 2, }, But for the life of me I cant figure out how to anchor to my RazerNaga Addon Bars? I know its similar to dominos but I couldn't get it to anchor to Dominos either. Anyone know of the bar names I need to Anchor to? Or where I would find the name of the bars I'd like to anchor to? I tried /fstack I get this: <4> table:1F393DE8 <4>ActionButton1 <2> table:29FE3588 <1> table:29FE3560 <0>World Frame <0> UI Parent |
I just anchor to the action button and adjust the size from there if I want them to be moveable with the action bars. If not I'd suggest you just size them correctly and put them where you want. Then you can just position the buttons on top of the graphic you created.
Example: Parent = "ActionButton1" |
1 Attachment(s)
Yay for fun things to do with LitePanels :)
Boss Icon Toggle Button for the World Map lua Code:
|
To any interested users of Litepanels/Litestats,
I've long since stopped subscribing to WoW in favor of school and employment, so development of my addons have noticeably fallen by the wayside. I've created a Git repository for anyone interested in fixing bugs or updating compatibility with current patches. Fork me @ Github |
Gloss frames?
I just stumbled across this addon and I think it's awesome! :D
I was wondering if it's possible to add a gloss look to a panel. I know how to create the panels itself but just wondering if there's a way to add a gloss look to it. Thanks! |
Grab some glossy textures and start layering "panels" would be your best bet - and easiest to tweak to get your desired result. I use status bar textures for most of my panels. I am sure you could do something similar to get the gloss feel to it.
There are quite a few UI compilations that use litepanels or kgpanels you could probably get an idea of where to start from there. |
Gloss
Quote:
|
For textures:
SharedMedia: Renaitre --- there is actually a texture in here called "gloss" that you could use. Ferous Media Pack The files should show up if they are in the right format & you made the layout correctly. You could try and use the texture that looks like it has gloss or actually add a "gloss" texture as a second frame on top of the main one. That is generally how people get glossy looking textures on different elements without hiding to much of the panel/button/whatever behind them I'm looking for an interface with a glossy look to it. Don't you know you cant find one when you go looking :) Found caelUI, which is the main one I was thinking of, since it does gloss very well without being overwhelming. |
Gloss
Quote:
{ name = "LeftChat", --4--------------------------------------- anchor_to = "BOTTOMLEFT", width = 320, height = 160, bg_color = {0,0,0}, bg_alpha = 0.65, tex_file = "glosstex", }, All the textures I used were put in the media folder of Lite Panels and I've tried fer31, the glass textures for Arkive UI, and a couple of others and I couldn't get any of them to work correctly. I have no doubt that I'm doing it wrong since I'm not familiar with lua but that doesn't stop me from tinkering with it ;) Thanks for your help and suggestions. I really appreciate it. I was hoping that someone in the community would've made glossy frames using Lite Panels. |
Okay so this might be your problem. Are you moving the file you are trying to use the the litepanels media folder? That folder is located in the Litepanels Addon folder, it should be empty or might have a couple files in it already.
If yes... then lua Code:
If no... then you need to make sure the path is correct. Example: lua Code:
That could explain your black box problem. One of my panels looks like: lua Code:
|
Gloss
Yes, they are in the media folder within Lite Panels. I used your code and installed OUF & OUF_Karma to fully test and it works perfectly. I put the texture within the media folder of Lite Panels and it works correctly. I think the problem with my code is that I need to tinker with the color coding for the texture and playing with different textures. I found the one that I like and it's as close as I can get to what I want until I have time to find another texture.
Thanks for all of your help! :D |
You can also do "CLASS" instead of {#,#,#} for your colors anywhere in the layout btw.
Glad its working for you. Let me know if I can be of anymore help. |
Lite problem
Hi,
Nowdays I edit my minimap with Litepanels but I've got a little problem. I'm trying to make disappear 2 bars when I enter in combat and appear again when get out of combat. I'm not really good in Lua so I found the code copy/paste it, and when I use it one time, it work really good, but when I use it twice it make all my frame disapear =/ Here you can fin my layout.lua : http://pastebin.com/4Une5Rpe Can someone help me ? |
Quote:
I would suggest doing something similar with your panels. Just a toggle for in/out combat. Let me know how if it works I may be able to tweak it for you. |
OMG, I'm a real noob --'
I don't how I haven't seen you're post... But Thanks for the quickly reply I wil test on my side too |
I read my code again, I've got the same as you, ( exept for my wish to make two frame disappear ) and I really don't understand why , 1 disapear is good, ans 2 make alle my panels bug =/
EDIT : I don't have paste the write layout I re upload the right lua EDIT 2 : http://pastebin.com/kXdqsyxF but it's the same when "Minimap_location" and "Minimap_tracking" have the code when I enter in combat all my frames disapear |
Its not the same. I just use a toggle frame vs show/hide on event. I fixed it and should have a working copy below. Try it out. It is your entire layout. I just checked to make sure it worked correctly multiple times with test panels. It should work to do the following - show intended panels (ie Minimap_location and Minimap_tracking) unless you are in combat then those 2 panels will hide.
lua Code:
|
I've just try you're code but it the same, all my panel disapear =/
|
Solved : The problem were not the code but the parents... Thanks you for your help =) :banana:
|
Yay! Glad its working for you now
|
For those interested. LitePanels is still fully functioning in patch 5.0.4 pre MoP and should continue to work in MoP.
LiteStats works fine if you disable the "Talents" module in the config.lua for that addon. :) |
Function for repeated panels
Maintenance at the moment so wanted to play with my layout a bit. Awesome addon btw.
For an example I will use a simple 1px class-colored border on the minimap: Lua Code:
And the same one with a black border. Lua Code:
So what I would like is a means to turn those 2 simple border lines into a function so I then simply say something like border_class("somenewframe") or border_black("somenewframe") and not have to repeat all that lua for each of dozens of frames, and more importantly, just tweak one line when I want to add a shadow, or change a detail for every frame with one edit. Hope that makes sense. Could you provide any samples for making those functions within the lua file if it is possible? If the functions won't work, perhaps just some variables would work to simplify global changes to all panels? Thanks! |
@maven
Forgive me, I haven't coded Lua for over a year and I'm doing this on my phone. But perhaps something along these lines? Lua Code:
Should use "CLASS" if you omit the color parameter. |
OnLeave problem
Hi, I have used LitePanels in a simple way for long time ...
Now I'd like to use it trying to make something more complex, but I am having some difficulties: Lua Code:
The problem is, as pointed out in this forum earlier, that I'd like to make P2 panel show and hide on the event Enter and Leave. But I have filled the P2 panel with a 3x3 bar of BT4 and when I hovering over it the P2 panel disappear if I use a simple self:SetAlpha(0) condition. Also the solution I found in this thread, as posted above, isn't working. Any idea ? Thanks. P.s. This is really a great addon. |
Solved, thanks to other answer in this forum in this way:
Lua Code:
Without parenting with BT4 bars I think it is impossible. |
I've a couple of panels that i want to hide in Pet Battles. How can do that?
|
Quote:
Code:
if event == "PET_BATTLE_CLOSE" then |
Quote:
Code:
lpanels:CreateLayout("Button Bar", { |
I haven't used LitePanels (so backup your layout file) but a quick look at the docs and I think something like this might work, assuming you want all the panels in this layout to hide and assuming LP parents all subsequent frames to the first in a layout:
Code:
lpanels:CreateLayout("Button Bar", { |
All times are GMT -6. The time now is 11:48 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI