PDA

View Full Version : Looking for Unitframes (Syndt)



BackdoorBeauty
10-22-2006, 03:16 PM
http://www.dethecusdrama.com/users/fistina/crowdcontrol.png

I'm looking for these unitframes in particular.

I've tried to current Simplicity version available on these forums, but there are they lack the debuffs on the right hand side of the bars, aswell as the ToT and ToTT below the target frame.

They also have some issues involving placement of buffs/debuffs and the pet frames. Aswell the target frame is crooked.

If i could get a layout.lua for these, i would be mucho grateful.

Thanks in advance!

Coldfury
10-22-2006, 08:41 PM
http://www.dethecusdrama.com/users/fistina/crowdcontrol.png

I'm looking for these unitframes in particular.

I've tried to current Simplicity version available on these forums, but there are they lack the debuffs on the right hand side of the bars, aswell as the ToT and ToTT below the target frame.

They also have some issues involving placement of buffs/debuffs and the pet frames. Aswell the target frame is crooked.

If i could get a layout.lua for these, i would be mucho grateful.

Thanks in advance!

ill give it a try

BackdoorBeauty
10-22-2006, 08:46 PM
if you could do this for me, i would be eternally grateful!

Coldfury
10-23-2006, 12:10 AM
on the screenshot, ToT&ToTT are on top of the player frame. but you want them under? is that it?

and you want buffs and debuffs on the right side?

anyother special things you want and is not shown in the screenshot?

BackdoorBeauty
10-23-2006, 01:37 AM
sorry to correct you, but they are on top of the player frame, but it's also the target frame right above the ToT and ToTT so i just assumed they were attached to the target frame and were below it, i would appreciate them below the target frame muchly, and i have no need for pet frames so those can stay out of the options.

The buffs and debuffs on the right (sorry i'm horrible at lefts and rights) preferrably 1 row of buffs, and 1 row of debuffs would be amazing.

Thanks again for taking the time out to do this for me.

One thing that's not shown in that screenshot are the target buffs/debuffs.

If you could just put those underneath the ToT and ToTT that would be attached to the Target frame that would be great, Buffs above debuffs preferably.

So i'll point form it all so it's a little more coherent.

-ToT and ToTT below the target frame (left and right respectively)
-Party Frame Buffs are 1 row on the right
-Party Frame Debuffs are 1 row on the right below the Buffs (preferably these 2 rows aren't taller than the frame)
-Target Buffs are 1 row below the ToT and ToTT
-Target Debuffs are 1 row below the Target Buffs

Coldfury
10-23-2006, 06:42 AM
sorry to correct you, but they are on top of the player frame, but it's also the target frame right above the ToT and ToTT so i just assumed they were attached to the target frame and were below it, i would appreciate them below the target frame muchly, and i have no need for pet frames so those can stay out of the options.

The buffs and debuffs on the right (sorry i'm horrible at lefts and rights) preferrably 1 row of buffs, and 1 row of debuffs would be amazing.

Thanks again for taking the time out to do this for me.

One thing that's not shown in that screenshot are the target buffs/debuffs.

If you could just put those underneath the ToT and ToTT that would be attached to the Target frame that would be great, Buffs above debuffs preferably.

So i'll point form it all so it's a little more coherent.

-ToT and ToTT below the target frame (left and right respectively)
-Party Frame Buffs are 1 row on the right
-Party Frame Debuffs are 1 row on the right below the Buffs (preferably these 2 rows aren't taller than the frame)
-Target Buffs are 1 row below the ToT and ToTT
-Target Debuffs are 1 row below the Target Buffs

cool. just give me 2-3 days. i still need to make some change on my unitframe lol, and then ill start working on urs.

BackdoorBeauty
10-23-2006, 11:39 AM
not a problem, i'm more than willing to wait, and as i've said and time and time again, thanks a ton for taking this upon yourself :D

syndt
10-23-2006, 01:11 PM
sorry, just saw this thread.

http://www.dethecusdrama.com/users/fistina/Layout.zip
(careful browsing the rest of my directory if youre at work or theres children around, fair warning :P)

tot/tott below the target frame, buffs on the right, debuffs and party tot on the left.

syndt
10-23-2006, 01:12 PM
sorry to correct you, but they are on top of the player frame, but it's also the target frame right above the ToT and ToTT so i just assumed they were attached to the target frame and were below it, i would appreciate them below the target frame muchly, and i have no need for pet frames so those can stay out of the options.

The buffs and debuffs on the right (sorry i'm horrible at lefts and rights) preferrably 1 row of buffs, and 1 row of debuffs would be amazing.

Thanks again for taking the time out to do this for me.

One thing that's not shown in that screenshot are the target buffs/debuffs.

If you could just put those underneath the ToT and ToTT that would be attached to the Target frame that would be great, Buffs above debuffs preferably.

So i'll point form it all so it's a little more coherent.

-ToT and ToTT below the target frame (left and right respectively)
-Party Frame Buffs are 1 row on the right
-Party Frame Debuffs are 1 row on the right below the Buffs (preferably these 2 rows aren't taller than the frame)
-Target Buffs are 1 row below the ToT and ToTT
-Target Debuffs are 1 row below the Target Buffs

gimme a bit and ill alter mine to these specs and upload it since im bored

syndt
10-23-2006, 01:33 PM
how's this?

BackdoorBeauty
10-23-2006, 02:09 PM
that's perfect! Thanks a ton :D

Coldfury
10-23-2006, 03:05 PM
thats cool lol i was looking at things and didnt know where to find the time to do this. but meh, i guess this solve it hehe

BackdoorBeauty
10-23-2006, 03:06 PM
one thing i've noticed so far, and it seems to be the only problem is that the debuffs for the target frame are growing to the left instead of to the right (like the buffs are).

If you just link me the necessary code i can probably fix it up myself.

syndt
10-23-2006, 03:34 PM
oops!

go to line 390 where you see this:


debuff2 = { type = "Button", uitemp = "TargetDebuffButtonTemplate", Anchor = { "RIGHT", "$parentdebuff1", "LEFT", 0, 0 } },

switch the RIGHT and LEFT so it looks like this:


debuff2 = { type = "Button", uitemp = "TargetDebuffButtonTemplate", Anchor = { "LEFT", "$parentdebuff1", "RIGHT", 0, 0 } },

then repeat for debuff3, debuff4, etc all the way to debuff16

BackdoorBeauty
10-23-2006, 03:47 PM
thanks a ton! :D

Jayo
10-23-2006, 03:59 PM
thanx syndt, but how can i modify the color of the mana- & healthbar? in your screenshot it looks like dark green and dark blue. cuz these actually bright colors burn my eyez. :C

Coldfury
10-23-2006, 08:03 PM
thanx syndt, but how can i modify the color of the mana- & healthbar? in your screenshot it looks like dark green and dark blue. cuz these actually bright colors burn my eyez. :C


Change the RGB value in these code.


function Nurfed_HealthPercColor(perc, unit)
local color = {};
if (perc > 0.8) then --over 80% color
color.r = (26/255);
color.g = (215/255);
color.b = (26/255);
else
if (perc > 0.3) then --over 30% color
color.r = (( 265+((0.6-perc)*100*(128/40)))/255);
color.g = ((125+((0.6-perc)*100*(-89/40)))/255);
color.b = ((50+((0.6-perc)*100*(-136/40)))/255);
else --below 30%
color.r = (255/255);
color.g = (17/255);
color.b = (17/255);
end
end


ManaBarColor[0] = { r = (35/255), g = (50/255), b = (255/255), prefix = TEXT(MANA) }; -- mana
ManaBarColor[1] = { r = (230/255), g = (8/255), b = (8/255), prefix = TEXT(MANA) }; -- rage
ManaBarColor[2] = { r = (255/255), g = (255/255), b = (0/255), prefix = TEXT(MANA) }; -- focus
ManaBarColor[3] = { r = (230/255), g = (230/255), b = (030/255), prefix = TEXT(MANA) }; -- energy
ManaBarColor[4] = { r = (160/255), g = (170/255), b = (185/255), prefix = TEXT(MANA) }; -- happiness

BackdoorBeauty
10-24-2006, 01:27 AM
where can i find that in the .lua? i haven't been able to find those lines of code in the lua that syndt supplied me with.

Is it something that needs to be added seperately?

Jayo
10-24-2006, 06:32 AM
where can i find that in the .lua? i haven't been able to find those lines of code in the lua that syndt supplied me with.

Is it something that needs to be added seperately?

same here

Coldfury
10-24-2006, 11:54 AM
ya just add this below the commented line at the top of Layout.lua.

Jayo
10-24-2006, 02:43 PM
ya just add this below the commented line at the top of Layout.lua.

copied & pasted it but it didn't work for me, i retrieved an error message. maybe i did smth wrong, but you could upload your modified layout.lua - it would be nice. ;)

Coldfury
10-24-2006, 03:11 PM
well i looked into the thing and the problem is in Nurfed_Units.lua. Download my unitframe (http://forums.nurfed.com/showthread.php?t=12298) and replace your Nurfed_Units.lua by the one in there.



Along with code i supplied in the previous post in your Layout.lua.

it should work.

BackdoorBeauty
10-24-2006, 07:04 PM
it's not working for me for some reason, i get an error no matter where i place the code in the lua.

Coldfury
10-24-2006, 08:17 PM
post the error, it should help helping you lol

BackdoorBeauty
10-25-2006, 05:40 AM
The error i was getting before was this "Interface\Addons\Nurfed_UnitFrames\Layout.lua:540: `end' expected (to close `if' at line 28) near `<eof>'

This makes all my unitframes dissapear, party, target and player.

If i add in a 3rd end after the 2 already present in the code it works, but then my healthbars are completely white/grayish.

i can change the mana bar colours, but i have no idea how to go about changing the healthbar colour. I assume that if i'm at full health, and i change the first 3 rgb values in the code, it should change it, but it remains white for some reason.

From what it looks like in the code, it seems like the health values should change at 80% (to a yellow i'm assuming) and then at 30% (to a red i'd also assume) but there are no colour changes taking place, it remains white throughout.

Jayo
10-25-2006, 07:18 AM
exactly the same problem here too.

BackdoorBeauty
10-25-2006, 01:46 PM
one thing i've noticed in addition to this, is now that the colours (at least the mana/rage/energy etc.) bars are able to be changed, it's effected my other characters which don't use a custom layout (and don't even have the layout.lua checked).

For instance, on my warrior, his health bar is now white even though he's still using the default Nurfed unitframes with no layout changes.

Jekal
10-25-2006, 01:56 PM
i modified my frames to play little .wav clips from swap.avi everytime me or a party member gets low on health

Coldfury
10-25-2006, 03:28 PM
im guessing thats because the color of the healtbar isnt refered to the code. ill chek this out.

BackdoorBeauty
10-27-2006, 10:19 AM
any luck on these badboys Coldfury? (mostly a shameless bump to keep on the first page)

Coldfury
10-27-2006, 11:09 AM
lol nop, sorry, i totally forgot about this. im working on my new unitframe so i miss a lot of things.

Coldfury
10-28-2006, 01:16 AM
well it is in Nurfed_units. like i already posted. so i dont know. ill try looking into Syndt file. maybe its an older version of nurfed or something like that.

BackdoorBeauty
10-28-2006, 02:42 AM
that's strange, because i did replace Nurfed_units with the one that you gave me, oh well, thanks a ton for the work you're putting into this for me :P

BackdoorBeauty
10-28-2006, 09:36 AM
Alright, so i managed to figure it out somehow.



function Nurfed_HealthPercColor(perc, unit)
local color = {};
if (perc > 0.8) then --over 80% color
color.r = (26/255);
color.g = (215/255);
color.b = (26/255);
else
if (perc > 0.3) then --over 30% color
color.r = (( 265+((0.6-perc)*100*(128/40)))/255);
color.g = ((125+((0.6-perc)*100*(-89/40)))/255);
color.b = ((50+((0.6-perc)*100*(-136/40)))/255);
else --below 30%
color.r = (255/255);
color.g = (17/255);
color.b = (17/255);
end
end


ManaBarColor[0] = { r = (35/255), g = (50/255), b = (255/255), prefix = TEXT(MANA) }; -- mana
ManaBarColor[1] = { r = (230/255), g = (8/255), b = (8/255), prefix = TEXT(MANA) }; -- rage
ManaBarColor[2] = { r = (255/255), g = (255/255), b = (0/255), prefix = TEXT(MANA) }; -- focus
ManaBarColor[3] = { r = (230/255), g = (230/255), b = (030/255), prefix = TEXT(MANA) }; -- energy
ManaBarColor[4] = { r = (160/255), g = (170/255), b = (185/255), prefix = TEXT(MANA) }; -- happiness


Needs to be changed to the following



function Nurfed_HealthPercColor(perc, unit)
local color = {};
if (perc > 0.8) then --over 80% color
color.r = (26/255);
color.g = (215/255);
color.b = (26/255);
else
if (perc > 0.3) then --over 30% color
color.r = (( 265+((0.6-perc)*100*(128/40)))/255);
color.g = ((125+((0.6-perc)*100*(-89/40)))/255);
color.b = ((50+((0.6-perc)*100*(-136/40)))/255);
else --below 30%
color.r = (255/255);
color.g = (17/255);
color.b = (17/255);
end
end
return color;
end

ManaBarColor[0] = { r = (35/255), g = (50/255), b = (255/255), prefix = TEXT(MANA) }; -- mana
ManaBarColor[1] = { r = (230/255), g = (8/255), b = (8/255), prefix = TEXT(MANA) }; -- rage
ManaBarColor[2] = { r = (255/255), g = (255/255), b = (0/255), prefix = TEXT(MANA) }; -- focus
ManaBarColor[3] = { r = (230/255), g = (230/255), b = (030/255), prefix = TEXT(MANA) }; -- energy
ManaBarColor[4] = { r = (160/255), g = (170/255), b = (185/255), prefix = TEXT(MANA) }; -- happiness


The bolded area being the only difference between the two pieces of code.

Thanks for all the help from Coldfury though!

Coldfury
10-28-2006, 10:39 AM
Alright, so i managed to figure it out somehow.



function Nurfed_HealthPercColor(perc, unit)
local color = {};
if (perc > 0.8) then --over 80% color
color.r = (26/255);
color.g = (215/255);
color.b = (26/255);
else
if (perc > 0.3) then --over 30% color
color.r = (( 265+((0.6-perc)*100*(128/40)))/255);
color.g = ((125+((0.6-perc)*100*(-89/40)))/255);
color.b = ((50+((0.6-perc)*100*(-136/40)))/255);
else --below 30%
color.r = (255/255);
color.g = (17/255);
color.b = (17/255);
end
end


ManaBarColor[0] = { r = (35/255), g = (50/255), b = (255/255), prefix = TEXT(MANA) }; -- mana
ManaBarColor[1] = { r = (230/255), g = (8/255), b = (8/255), prefix = TEXT(MANA) }; -- rage
ManaBarColor[2] = { r = (255/255), g = (255/255), b = (0/255), prefix = TEXT(MANA) }; -- focus
ManaBarColor[3] = { r = (230/255), g = (230/255), b = (030/255), prefix = TEXT(MANA) }; -- energy
ManaBarColor[4] = { r = (160/255), g = (170/255), b = (185/255), prefix = TEXT(MANA) }; -- happiness


Needs to be changed to the following



function Nurfed_HealthPercColor(perc, unit)
local color = {};
if (perc > 0.8) then --over 80% color
color.r = (26/255);
color.g = (215/255);
color.b = (26/255);
else
if (perc > 0.3) then --over 30% color
color.r = (( 265+((0.6-perc)*100*(128/40)))/255);
color.g = ((125+((0.6-perc)*100*(-89/40)))/255);
color.b = ((50+((0.6-perc)*100*(-136/40)))/255);
else --below 30%
color.r = (255/255);
color.g = (17/255);
color.b = (17/255);
end
end
return color;
end

ManaBarColor[0] = { r = (35/255), g = (50/255), b = (255/255), prefix = TEXT(MANA) }; -- mana
ManaBarColor[1] = { r = (230/255), g = (8/255), b = (8/255), prefix = TEXT(MANA) }; -- rage
ManaBarColor[2] = { r = (255/255), g = (255/255), b = (0/255), prefix = TEXT(MANA) }; -- focus
ManaBarColor[3] = { r = (230/255), g = (230/255), b = (030/255), prefix = TEXT(MANA) }; -- energy
ManaBarColor[4] = { r = (160/255), g = (170/255), b = (185/255), prefix = TEXT(MANA) }; -- happiness


The bolded area being the only difference between the two pieces of code.

Thanks for all the help from Coldfury though!

cool :) np :)

muradmode
10-28-2006, 11:19 AM
Thanks for posting up this layout :) . Modified it a little to my liking, moving ToT & ToTT to the side, while putting Target buff/debuffs underneath the frame, and Party buffs underneath the frame and debuffs off to the right. It is currently the clean, informative layout of my choice, big thanks again for the upload.

http://img105.imageshack.us/img105/9578/wowscrnshot102706164701eb7.th.jpg (http://img105.imageshack.us/my.php?image=wowscrnshot102706164701eb7.jpg)


Edit: I'm a spelling noob. =[

Isuck
10-29-2006, 01:31 AM
Thanks for posting up this layout :) . Modified it a little to my liking, moving ToT & ToTT to the side, while putting Target buff/debuffs underneath the frame, and Party buffs underneath the frame and debuffs off to the right. It is currently the clean, informative layout of my choice, big thanks again for the upload.

http://img105.imageshack.us/img105/9578/wowscrnshot102706164701eb7.th.jpg (http://img105.imageshack.us/my.php?image=wowscrnshot102706164701eb7.jpg)


Edit: I'm a spelling noob. =[

can you upload your files plz? (layout and used statusbars)

Coldfury
10-29-2006, 02:03 AM
can you upload your files plz? (layout and used statusbars)

these statusbar are one of the default one, already included in nurfed.
just open them to see which one it is.

muradmode
10-29-2006, 06:06 PM
Heres a link to the layout etc, the font and status bar go into the Nurfed Utility/Fonts and Nurfed Utility/Images folders respectively ;)

http://www.box.net/public/6x25ykxmjq

Jayo
12-07-2006, 05:09 AM
does this lua file work with the new patch?

Stickx
12-07-2006, 01:43 PM
DOwnload onyx's simplicity layout. pretty much the same.

syndt
12-07-2006, 10:41 PM
http://forums.nurfed.com/showthread.php?t=12645

same layout as the one i use but with buffs and debuffs anchored differently

a67rhf7823jn8747==