PDA

View Full Version : [search]Custome UnitFrames



m0rPh3uS
06-30-2006, 01:33 AM
Hi!

im a noob in Nurfed but i think its really cool ^^

i would like to have unit frames with the following:

PLAYER xxHP / xxHP - 100%
--PIC-- xxMana / xxMana 100%
EXPBAR (no need but when i have the function to toogle it that would be cool ^^)

hm. like that ^^
http://img220.imageshack.us/img220/9472/wow9qo.jpg

and PVP Rank and so on...

it should be not like the perl layout its only a sample of the xxhp/xxhp - 100% that you know what i mean ^^


the unit frames shold also have a targets target function. so i can see my target has this target in his target (yeah cool sentence ^^ im german :) )

and the party frames should like the same or nearly the same with there buffs etc ^^

for raid ui i use ct_raid so i dont need something for this.


so.. i hope you understand what i mean / would like to have
does anybody have somthing like this? ^^ or is ther a way to configure the nurfed unitframes with a grapich based menu? not only in the .lua files with text editors ^^

and when yes, how can i "install" this in my nurfed ui? :D

i say sry for my bad english im a german guy ^^
hope somebody can help me ^^


greetz m0rPh

edit:
like this
http://www.psyonix.net/upload/nunit_layout.jpg
but there are no persentages at the hp/mana bars :(

Kat
06-30-2006, 02:17 AM
To put the "100%" at the end of the bar, all you need to do is go to Nurfed_Unit_hp and change


text2 = {
type = "FontString",
layer = "OVERLAY",
Font = { NRF_FONT.."framd.ttf", 10, "OUTLINE" },
JustifyH = "RIGHT",
TextColor = { 1, 0.25, 0 },
Anchor = "all",
vars = { format = "$miss" },
},

to


text2 = {
type = "FontString",
layer = "OVERLAY",
Font = { NRF_FONT.."framd.ttf", 10, "OUTLINE" },
JustifyH = "RIGHT",
TextColor = { 1, 0.25, 0 },
Anchor = "all",
vars = { format = "$perc" },
},

m0rPh3uS
06-30-2006, 02:52 AM
is this then only for the HP bar?
how can i make this for the mana bar ^^

but that looks easy to change :) thx i will try it when i'm @ home ^^


edit:
-- Text Format Vars
-- (HP/MP text and status bars)
-- $miss = Missing hp/mp
-- $cur = current hp/mp
-- $max = Max hp/mp
-- $perc = Percent hp/mp

it think the last means percent for hp AND mana bar, so it would be for both.
kewl :D

Isuck
06-30-2006, 03:45 AM
thx a lot, I wanted that bad too!

Kat
06-30-2006, 05:04 AM
I haven't tried it with the mana bar, but it should work. Just add the text2 code to Nurfed_Unit_mp. You might need to adjust the font size slightly though.

Isuck
06-30-2006, 05:53 AM
is there a way to make this change only for the target? because I only need this for raid-bosses where there are just too much numbers without.

if a boss has ~1 mio hp and you smashed him to 80% there is:

800000/1000000 -200000 <-- this is too much for the frame.

this is a bit annoying. but for a healer it's better if you have the $miss, because your target is usually a player and not a raidboss.

best would be the $perc for ENEMIES and the $miss for friendly players, if anyone could solve this, he is a hero!


and sry for my english mistakes, I'm not a native english speaker ;)

a67rhf7823jn8747==