@Led: Stuf question
Led, last I checked you use StUF for your unitframes. However, I wasn't aware that StUF had a HP Deficit option... how did you do this? Wait... you probably just set the backdrop color to classcolored, and the statusbar to the black/dark color... d'oh :P
Now I just wish I could achieve an oUF_Nin effect with StUF :o Sadly, StUF's author isn't responding to me asking for the feature to be added :P It's in StUF_Raid, after all! I can't port it over, no matter how hard I try =/ /meaningless post |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Im using Stuf, tried to create some nice Unitframes, but, where i can get nice borders, textures , like Led or Zagrei to use? And where i put them, so Stuf can read them?
|
Just search for "border" or "texture", there's several collections of statusbar and border textures on this site.
For how to get them into WoW, in your addons folder should be an addon named "SharedMedia". If you don't have it, download it now. Inside that addon's folder is a file called "Instructions for MyMedia.txt", all you have to do is follow the instructions in that file. :-) |
Quote:
|
Quote:
|
Quote:
FOR STUF: Around line 200 of 'bars.lua', change this: Code:
if db.fade and not f.barfade then Code:
if db.fade and not f.barfade then The ONLY difference, obviously, is the SetBackdrop call. What you do is this: -You find the frame you want to put the backdrop on -Find it's name (in this case, 'f') -Insert the frame's name into the highlighted areas -/reloadui ingame, and see if it worked! (LOL) To clarify, the following code is what you use in all of the addons. Don't forget to change the frame names to match the frame you want to attach it to! Code:
local bg = CreateFrame("Frame", nil, f) |
I love you!!!! :banana:
Its perfect, i tried and it worked, to discover the frame name, im using this command Code:
/script ChatFrame1:AddMessage(GetMouseFocus():GetName()) |
Quote:
And yes I'm with the op here, I'd love to have a class colored health deficit with transparent health bar on the main frames of Stuf not only the raid frames. Right now I have a set up similar to Led, with dark grey healthbar and class colored background. I'd love to know if anyone has figured out a way to make this happen with stuf. :) |
Quote:
|
Hey Zagrei, im trying to put SetBackdrop on target frame, i'm putting the code after the player frame code, i changed the frame name, but when i reload, al the screen is a bit dark, the target frame is correct, but all the screen is a bit dark, what i'm doing wrong? :(
\/ Agree with Led, i'm newb too, and it's look awesome the effect!!!! |
Wel lZAgrei I guess you already answered your own question so now it's my turn.
PLEEAAAAASSEEEEEEE tell me in DETAIL how you managed to get the ouf_nin look?!!?,8!!?,?!!!?! I NEEEEEEEEEED to have it ^^ I'm a total newb at lua so please, tell me step by step what I have to edit in the .lua to get the effect you have ^^ And does it work for raid frames too? |
Quote:
You know what, I'll make your life easy! Click HERE for my LUA post :P P.S. In StUF's case, the frame's name IS 'f'. The code I posted is directly from my bars.lua file :) As far as StUF_Raid goes, it USED to work perfectly. Now, I'm not too sure... I'll get back to you on that. You can test it yourself, too. |
Quote:
Code:
local function CreateBar(unit, uf, name, db) -- create status bars for health or power Does that help? |
It helped :D Worked! Btw, i tried to do the effect that Led want, and when i reload, my bar still all black.
|
Quote:
Code:
bg:SetBackdropColor(0, 0, 0, .4) NOTE: The reason that you have to reload the UI after any changes is because when you enter config mode OR make a change to a statusbar, it layers a second transparent layer on top of the current one, making it darker. Eventually, after enough changes, it will just be solid black. Just fyi :) |
Now working!!! Really thanks Zagrei, you're just pr0 :D
|
All times are GMT -6. The time now is 09:44 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI