Download
(272Kb)
Download
Updated: 03-05-07 10:11 AM
Pictures
File Info
Updated:03-05-07 10:11 AM
Created:unknown
Downloads:14,738
Favorites:36
MD5:

SimpleUnitFrames  Popular! (More than 5000 hits)

Version: 1.4.2.29572
by: rophy [More]

Various tweaks to the Blizzard Unit Frames.


I try to make the mod as modular as possible, all the following files can be removed if you don't need the functionality:

* Basics.lua : Adds HP/MP Text and/or ClassIcon to any frame. required by XXXXFrame.lua modules.
* PlayerFrame.lua : HP/MP and ClassIcon for PlayerFrame.
* TargetFrame.lua : HP/MP and ClassIcon for TargetFrame.
* PartyFrame.lua : HP/MP and ClassIcon for PartyFrames.
* ToTFrame.lua : HP/MP for TargetofTargetFrame.
* PetFrame.lua: HP/MP for PetFrame.
* PartyPetFrame.lua: HP for PartyPetFrame.
* FocusFrame.lua : HP/MP and ClassICon for addon FocusFrame: http://www.wowinterface.com/downloads/fileinfo.php?id=6463
* TargetPortraitDamage.xml : Adds Portrait Damage to the TargetFrame.
* PartyPortraitDamage.xml : Adds Portrait Damage to the PartyFrame.
* TargetBuffs.xml, TargetBuffs.lua : Add extra buff slots to the TargetFrame.

If you have MobHealth3 then Target frame can show estimated HP for non-friendly targets.


Class Icons only need less than 10 lines of code and the overhead is minimal, so I decided to not separate Class Icons from HP/MP text, you can toggle Class Icon off in the slash command if you don't need the feature.

/suf for in-game commands, or use DeuceCommander for drop down menu configuration.


Thanks Xan for contributing the PortraitDamage and CassIcons, Keith Chiem for TargetBuffs.

Post A Reply Comment Options
Unread 02-06-07, 05:46 AM  
Osamar
A Murloc Raider

Forum posts: 8
File comments: 42
Uploads: 0
I am using "SUF" for a time plus "PlayeXPbar" and work OK for me. Just pops one LUA error whenever anybody enters in my group, I will try this new version.It could be for not using an english client?

Sorry, but what is Portrait Damage?

It could be possible to have an option panel instead/plus commands?

Could you take localization to external files to localize this addon?

Thanks, and excuse my english.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 07:04 AM  
rophy
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 126
Uploads: 7
Originally posted by Osamar
I am using "SUF" for a time plus "PlayeXPbar" and work OK for me. Just pops one LUA error whenever anybody enters in my group, I will try this new version.It could be for not using an english client?

Sorry, but what is Portrait Damage?

It could be possible to have an option panel instead/plus commands?

Could you take localization to external files to localize this addon?

Thanks, and excuse my english.
Tell me the version you're having the error, and the exact error message you received, it should work in all languages.

SimpleUnitFrames use the Ace2 framework for console commands, so you can use DeuceCommander ( a mod which translates all addons using AceConsole-2.0 to a drop down menu ) to access SUF console commands in a drop down menu.

PortraitDamage is the numbers displayed on the PlayerFrame portait when you're being hit or healed, Blizzard provided PortraitDamage for PlayerFrame, and SUF added the same thing to Party and Target Frame.

Since it's modularized, it doesn't make sense to merge all locales into one file, making each module file have many localization files doesn't sound good too, so I decide to put the locales inside the module file.
Last edited by rophy : 02-06-07 at 07:04 AM.
Report comment to moderator  
Reply With Quote
Unread 02-06-07, 07:37 AM  
Stover
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
great addon, but can you make the HP/Mana text from target as mouseover?
Last edited by Stover : 02-06-07 at 07:38 AM.
Report comment to moderator  
Reply With Quote
Unread 02-10-07, 10:45 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Target damage overlay

How do I disable the target damage overlay? I use SCTD, and don't want the display on my target frame. Thanks.
Report comment to moderator  
Reply With Quote
Unread 02-10-07, 10:50 AM  
rophy
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 126
Uploads: 7
Re: Target damage overlay

Originally posted by dwex
How do I disable the target damage overlay? I use SCTD, and don't want the display on my target frame. Thanks.
Delete TargetPortraitDamage.xml in the SimpleUnitFrames directory.
Report comment to moderator  
Reply With Quote
Unread 02-12-07, 10:00 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Random icon for

TargetFrame.lua doesn't handle a nil return from UnitCreatureType(), e.g. when the target is a slime or a bug. There should either be no icon, or a ? icon or something of that sort.

Edit: I noticed that there's actually already an icon in place for unknown, so I added:

Code:
if (not icon) or (icon == "Not specified") then
	icon = "UNKNOWN"
end
after

Code:
icon = UnitCreatureType('target')
which seems to do the right thing. The "Not specified" probably needs to be localized.
Last edited by dwex : 02-12-07 at 12:38 PM.
Report comment to moderator  
Reply With Quote
Unread 02-21-07, 06:32 PM  
koshiru
A Kobold Labourer

Forum posts: 1
File comments: 29
Uploads: 0
focus frame

I have Focus Frame
http://www.wowinterface.com/download...ocusFrame.html

I was wondering if would be possible to add the class icon and info to this mod.
Is it also possible to have the hp/mp for the pet like there is for ToT?
Report comment to moderator  
Reply With Quote
Unread 02-24-07, 10:13 AM  
dwex
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 91
Uploads: 2
Target damage overlay

Thanks for your recent updates.

Please add an option to disable the target damage overlay. Having to edit the .toc file every time there's an update isn't a great solution.
Report comment to moderator  
Reply With Quote
Unread 02-26-07, 06:23 AM  
Osamar
A Murloc Raider

Forum posts: 8
File comments: 42
Uploads: 0
Is there a way to have party buffs always visible?

Thanks.
Report comment to moderator  
Reply With Quote
Unread 03-02-07, 05:43 AM  
picachu
A Kobold Labourer
 
picachu's Avatar

Forum posts: 0
File comments: 35
Uploads: 0
As with revision 29307 i got following errors when i try to configure ToT via DeuceCommander (each setting gave me another error plus the previous one):

Error occured in: Global
Count: 1
Message: ..\AddOns\SimpleUnitFrames\ToTFrame.lua line 23:
attempt to call method 'TargetofTarget_Update' (a nil value)
Debug:
[C]: TargetofTarget_Update()
SimpleUnitFrames\ToTFrame.lua:23: func()
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:484:
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:425

Error occured in: Global
Count: 1
Message: ..\AddOns\SimpleUnitFrames\ToTFrame.lua line 35:
attempt to call method 'TargetofTarget_Update' (a nil value)
Debug:
[C]: TargetofTarget_Update()
SimpleUnitFrames\ToTFrame.lua:35: func()
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:484:
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:425

Error occured in: Global
Count: 1
Message: ..\AddOns\SimpleUnitFrames\ToTFrame.lua line 47:
attempt to call method 'TargetofTarget_Update' (a nil value)
Debug:
[C]: TargetofTarget_Update()
SimpleUnitFrames\ToTFrame.lua:47: func()
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:484:
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:425

Error occured in: Global
Count: 1
Message: ..\AddOns\SimpleUnitFrames\ToTFrame.lua line 59:
attempt to call method 'TargetofTarget_Update' (a nil value)
Debug:
[C]: TargetofTarget_Update()
SimpleUnitFrames\ToTFrame.lua:59: func()
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:484:
...face\AddOns\ChatLog\Libs\Dewdrop-2.0\Dewdrop-2.0.lua:425
Report comment to moderator  
Reply With Quote
Unread 03-02-07, 09:06 AM  
rophy
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 126
Uploads: 7
Originally posted by picachu
[b]As with revision 29307 i got following errors when i try to configure ToT via DeuceCommander (each setting gave me another error plus the previous one):
Fixed.
Next time please use the bug report page.
Report comment to moderator  
Reply With Quote
Unread 03-10-07, 01:09 PM  
Glayde
A Murloc Raider

Forum posts: 4
File comments: 6
Uploads: 0
Is there any way to make the buffs of the party display without having to mouse over?
Report comment to moderator  
Reply With Quote
Unread 03-11-07, 10:41 AM  
rophy
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 126
Uploads: 7
Originally posted by Glayde
Is there any way to make the buffs of the party display without having to mouse over?
Can't with the current SimpleUnitFrames, may be I'll add another module for this later.
Report comment to moderator  
Reply With Quote
Unread 05-16-07, 10:10 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Some of the more complicated, slimline compact unitframe things i've seen have the ability to display the targets health not just percentage, yet every simple, tweak the default look unitframe thing i've tried simply puts a 100/100 or (100%) in. Is there a way for the simple mods of the default look to actually add the proper targets health like these other so-small-you-can-hardly-read unit frames out there?

I like what you've done mate, but really want the real health of targets displayed like some of the other unitframes i've seen out there.

unless... Blizzard has disabled that ability?
Last edited by Maziel : 05-16-07 at 11:04 AM.
Report comment to moderator  
Reply With Quote
Unread 05-16-07, 12:57 PM  
rophy
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 126
Uploads: 7
Originally posted by Maziel
Some of the more complicated, slimline compact unitframe things i've seen have the ability to display the targets health not just percentage, yet every simple, tweak the default look unitframe thing i've tried simply puts a 100/100 or (100%) in. Is there a way for the simple mods of the default look to actually add the proper targets health like these other so-small-you-can-hardly-read unit frames out there?

I like what you've done mate, but really want the real health of targets displayed like some of the other unitframes i've seen out there.

unless... Blizzard has disabled that ability?
You cannot see non raid unit's exact HP, but there exist mods which 'estimates' target HP by calculating damage done to him and percentage changed.

Go get 'MobHealth3' in wowace, it's a library for doing such job, and SimpleUnitFrames supports it. So when you have MobHealth3 enabled, SUF will see (estimated) exact HP on target HP.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: