PDA

View Full Version : Murrfed - Murr's Unit Frames



Murr
08-26-2006, 01:15 PM
Largely drawn from Roath's layout (and all credit to him for the textures).

I may also make a more traditional layout (ie square boxes) with a few tweaks I prefer over Roath's setup if there's interest.

Included is layout.lua, lib.lua (very minor modification so that mobs with 0 rage/mana/energy max will still show a bar), and the necessary images/fonts.

Aug 31 Update -
* Fixed all font errors
* Updated and fixed pet frame
* Modularized bar texture and fonts. The font is now called "murrfed.ttf" and the bar texture is called "murrfed.tga". You can find both in the Nurfed Utility folder in the fonts and images subfolders, respectively. Rename or replace either to substitute the font or bar texture of your choice.
* Minor tweaks/fixes to both layouts.
* Added model layout.

Known Issues:
Bar texture looks very stretched on the target window for standard layout. Will do something about this soon.

Standard layout
Screenshot (http://www.whattehfeck.com/murrfed/murrfed.jpg)
Download Link (http://www.whattehfeck.com/murrfed/Murrfed.zip)

Model layout
Screenshot (http://www.whattehfeck.com/murrfed/murrfed-models.jpg)
Download Link (http://www.whattehfeck.com/murrfed/Murrfed-models.zip)

Degonite
08-26-2006, 06:12 PM
I get a error sayin font not set , how do i fix it?

Murr
08-26-2006, 06:32 PM
I get a error sayin font not set , how do i fix it?

Which version are you using? I'll doublecheck, but should only require "calibri.ttf" which is packaged in the zip files.

Degonite
08-26-2006, 06:37 PM
I fixed it i reinstalled it , must of did something wrong 0.o , Just wish i could tell how much health was missing when i click a party member =P

Murr
08-27-2006, 03:03 PM
I fixed it i reinstalled it , must of did something wrong 0.o , Just wish i could tell how much health was missing when i click a party member =P

I modified it a bit, normal layout should display missing hp, etc now.

bordot
08-27-2006, 03:14 PM
Does this have mobhealth2 support?

Gigamo
08-27-2006, 03:24 PM
Would love these with portraits :)

Murr
08-27-2006, 03:37 PM
Does this have mobhealth2 support?

Not sure, but probably. The current / max are using Nurfed's current / max HP variables - if those draw from mobhealth2 if it's installed, then yes.

Murr
08-27-2006, 04:32 PM
Would love these with portraits :)

I took a crack at adding models tastefully, and here's a preview:
http://img178.imageshack.us/img178/5544/murrmodelft6.jpg

Unfortunately I like the level where it is on the target frame, but no matter what I do I can't seem to get an additional FontString to actually show up so I can add the Class under it. It's the weirdest bug. Once I figure something out I'll upload the lua.

Roath
08-27-2006, 04:59 PM
I took a crack at adding models tastefully, and here's a preview:
http://img178.imageshack.us/img178/5544/murrmodelft6.jpg

Unfortunately I like the level where it is on the target frame, but no matter what I do I can't seem to get an additional FontString to actually show up so I can add the Class under it. It's the weirdest bug. Once I figure something out I'll upload the lua.

Thanks for the credit ^^ seems alot of people forget that nowadays -_-' (not that i mind, but they could at least share their work with the public, like you do)

If i may suggest one this, to stick with the round edges you might want to add a border to the portrait (i know you mentioned you wanted to switch to a more boxed layout, which the portrait would fit with perfectly as it is in the screenshot above)

To change from my rounded backdrop to the default used in nurfed, change the following:


Nurfed_Unit_backdrop = {
bgFile = NRF_IMG.."unitframebg.tga",
FrameLevel = 0,
tile = false,
tileSize = 0,
insets = { left = 0, right = 0, top = 0, bottom = 0 },
},
to:

Nurfed_Unit_backdrop = {
bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
tile = true,
tileSize = 16,
edgeSize = 16,
insets = { left = 0, right = 0, top = 0, bottom = 0 },
},
(note that the insets remain 0 so that they shouldn't screw up placement)

Murr
08-27-2006, 06:34 PM
I tried adding a border awhile ago but the portrait border is always way, way too small for the portrait, even if I set the ModelScale down from 1.9 (which doesn't seem to do anything?). Not sure what's wrong.

Degonite
08-27-2006, 08:07 PM
Murr thanks for that update now i can use them when i raid sence i can see missing HP. <3 =D

Lincthesinc
08-28-2006, 12:34 AM
Nice! But the old normal was better than the updated one.

Gigamo
08-28-2006, 02:17 AM
Looking really nice with portraits already :)

Roath
08-28-2006, 04:46 AM
I tried adding a border awhile ago but the portrait border is always way, way too small for the portrait, even if I set the ModelScale down from 1.9 (which doesn't seem to do anything?). Not sure what's wrong.

to make it work you have to create another backdrop template similar to the one i posted above, ofcourse name it something else.

Then you have to add a child that uses that template (in the same part where the portrait codes are), the child should then contain the height and width of the backdrop.

Jam
08-29-2006, 06:13 PM
Hey, really nice frames I'm using them at the moment. However i would like to change the font used to the one I'm using in my chat window and general UI. As far as i know its called "Myriad Pro Semibold Condensed" as seen here: http://www.fonts.com/findfonts/detail.htm?pid=414480

Is there any specific lines i should change in the layout.lua or all of them? And if so what text would i need to replace it with.

Thanks!

Rothn
08-29-2006, 11:54 PM
First of all I like your Unit Frames alot, in fact I am a big fan. One problem I am having is that I am currently leveling my alt and my experience bar is missing!

I hope you can help me out and tell me what can I do.

Thanks in advance.

lynx
08-30-2006, 03:36 AM
Really nice Unitframe, though when I try to mind control a mob with my priest, it produces error that say something about pet name font not being set in Lib.lua.

I have no idea how to fix it, so a hint would be appreciated.

Thanks.

Lesly
08-30-2006, 09:31 AM
i need the lua with an potrait !
and can you make the potrait bigger and remove the "class" button ? :>

Murr
08-30-2006, 01:29 PM
I will try to address all of these things within a few days, I just got something together over the weekend and didn't really worry about pet/xp bar etc. Can easily add those in soon when things calm down for me a bit, just check this thread in the next few days and I should have some fixes / updates.

bolok
08-30-2006, 04:34 PM
It also complains about the the font when you use a nurfed raid frame. Other than that, looks great.

Murr
08-31-2006, 04:48 PM
Updated. Check main post for downloads/screens/changelog.

Tenebrion
09-01-2006, 11:52 AM
<3 your unitframes murr..I'm just curious from your screenshot, what mod makes the minimap square? what mod are you using for your buffs display? and finally what is that V logo on your minimap for? :-)

thanks! Hope I'm not bugging!

Maizen
09-01-2006, 01:34 PM
Sqeenix imo is a good Square minimap

http://www.curse-gaming.com/en/wow/addons-4215-1-squeenix.html

Jam
09-01-2006, 04:20 PM
Sorry for being stupid but how do i change to the font used in the Skurri file?

Murr
09-01-2006, 06:46 PM
The font used in the what?

The V is the La Vendetta Bossmods control panel.
I use SimpleMinimap to make the map square.
The buffbar is Elkano's Buff Bar.

kr|frus
09-02-2006, 01:03 AM
hmm, they look awesome when the bars are full

when the hp bar gets low (like under 25%) it's really unclear though, the color of the bar is then almost exactly the same as the background of the bar
same thing with mana bar, but then already from the start

edit: ah well, changed the alpha of the bar background in the lua to 0.2, & now it looks fine for me :)

Cidolfas
09-02-2006, 04:11 AM
Do the unitframes show if you are in or out of combat?

Platy222
09-02-2006, 05:28 PM
Hi ^^

at first great job on this layout but i have a question.

How do i remove the party frame when in raid all the tips i found here didnt work or i changed the wrong lines^^

Could you please explain a noob like me which lines i have to change ?

Greetz

Platypus

Lesly
09-03-2006, 02:56 AM
can you add the guild name in the target and user frame ? :)

Sapphire_Bal
09-03-2006, 03:35 PM
I really like this UI ut one thing I dont like is that I dont have any thing that shows what group I am in i really need that in raids at least in my guild anyone that can fix that for me?

Dragonwing
09-04-2006, 12:51 AM
Really nice looking unit frames. But I get an error from Discord Groupbuttons complaining about missing nurfed party pet, and GB refuses to work completely, which is rather annoying.

Freedawk
09-04-2006, 05:49 AM
Is there like a PvP Rank, PVP Icon, XP Bar?

Murr
09-05-2006, 05:09 PM
You can enable the XP bar by opening Layout.lua and finding the line that reads:
"MURRFED - REMOVE --[[ and ]]-- around xp to make XP bar show up!"
Then remove the indicated characters that surround the XP bar object and it should show up fine.

PvP icons and rank icons are not enabled, you can enable them in much the same way as the Xp bar if you like but I haven't configured their placement as I don't really care for them.

Freedawk
09-07-2006, 10:25 AM
The XP bar is kinda positioned wierd. Is there a way to center it or insert it into the frame itself instead of outside?

Roath
09-07-2006, 11:46 AM
Murr:
I will be adding XP bar to my original layout tomorrow (or maybe today), feel free to abuse it :)

Rothn
09-11-2006, 11:50 PM
How can I use the font on my chat?

noobj
09-13-2006, 01:43 AM
First off... LOVING the unitframes.. !! great work...

One thing id like to change though is the Raidframes.. can u set it where it shows the bars for individual people like the default nurfed Unit raidframes ? currently it will only show percentages... The default nurfed would show the progressive hp bars that would slide up / down based on persons health instead of just showing percentages...

Thx a bunch !!

redworm
09-13-2006, 05:26 AM
love this frames ^^

ps: how can i include this 3d portraits to partyframes?

b0urn3
09-14-2006, 03:36 PM
your frames are very nice but it's a great pity that there is no support for mobhealth :(

noobj
09-14-2006, 06:49 PM
your frames are very nice but it's a great pity that there is no support for mobhealth :(

Add in this code in your Nurfed_utility, Nurfed_unit.lua file after the line

function Nurfed_Units:GetHealth(unit)
local currhp, maxhp = UnitHealth(unit), UnitHealthMax(unit);






if (maxhp == 100 and (IsAddOnLoaded("MobHealth") or IsAddOnLoaded("MobInfo2")) and unit == "target") then
local check = MobHealth_GetTargetMaxHP();
if (check and check > 0) then
maxhp = check;
currhp = MobHealth_GetTargetCurHP();
else
currhp = UnitHealth(unit);
end
else
currhp = UnitHealth(unit);
end

Code to add is in BOLD the line before that is already in the Nurfed_unit.lua file

Tynnan
09-15-2006, 08:57 AM
I love these unit frames, but I have a slight problem: Whenever I kill anything I get the error:

Interface\Addons\Nurfed_UnitFrames\Lib.lua:244: attempt to call method 'GetXP' (a nil value)

what do I need to change in the LUA to keep this error from popping up?

EDIT:

I did THIS:

You can enable the XP bar by opening Layout.lua and finding the line that reads:
"MURRFED - REMOVE --[[ and ]]-- around xp to make XP bar show up!"
Then remove the indicated characters that surround the XP bar object and it should show up fine.

PvP icons and rank icons are not enabled, you can enable them in much the same way as the Xp bar if you like but I haven't configured their placement as I don't really care for them.

And now I get no errors.

redworm
09-27-2006, 03:58 PM
need new murfed update with new nurfed frames @murr :/ I want use your layout with new nurfed ver, but get bunch of errors if i usw custom lua.

Martymcfly
09-28-2006, 05:45 PM
Just updated to the new Nurfed UI and lost your unit frames. I Tried downloading the files again and coping them into the Nurfed Utility (Fonts/Images) and the Unit Frames Folders. Any reason they didn't work or does it sound like I did something wrong?

Ralrra
09-28-2006, 05:52 PM
There's a LOT different in the new version of nurfed and the old version. A lot of the layouts (especially ones that edited lib.lua and such) are going to have to be mostly re-written. The ones that only modified layout.lua should still be ok with some minor, yet necessary, tweaking.

Though some variable names and element tags changed also so there's a few things that'll break in those too.

Nerus
09-29-2006, 01:15 AM
Please update, these uframes were great.

WTS_DPS
10-03-2006, 11:45 AM
***UPDATE THEASE PLEASE***

WTS_DPS
10-04-2006, 02:16 AM
To the top !

Mycroft
10-05-2006, 06:20 PM
Not quite 100% what murrfed posted (very simliar, minor changed here and there), but I've got it working with the new nurfed.

You'll need the images / fonts from murrfed and if you want the empty rage bar on mobs who don't have one you'll need to find that line in the nurfedunits.lua in the utility folder.

http://www.node3.net/World_of_Warcraft/Other/Layout.lua

a67rhf7823jn8747==