Download
(991 b)
Download
Updated: 12-12-10 03:08 PM
Addon for:
oUF.
Updated:12-12-10 03:08 PM
Created:11-01-08 04:19 AM
Downloads:27,138
Favorites:134
MD5:

oUF Smooth Update  Popular! (More than 5000 hits)

Version: 1.4a
by: Xuerian [More]

Smoothly animates status bars on oUF frames.

You can smooth bars in various ways:

  • frame.Health.Smooth = true
  • frame.Power.Smooth = true
  • frame:SmoothBar(frame.Health)
  • frame:SmoothBar(frame.Power)
  • frame:SmoothBar(any other statusbar)

1.4a
Removed debugging

1.4
Updated TOC
No longer smooths changes between status bars with different maximum values
(Most obvious on target changes)

1.3
Fixed namespace acquisition

1.2
Applied fixes in comments. Partly untested.


1.1
Updated API
(frame.Smooth(Power|Health) to frame.(Health|Power).Smooth)
Added :SmoothBar(bar) method to frame for non-standard bars.
Post A Reply Comment Options
Unread 05-28-09, 11:50 AM  
wagglesmurfsignup
A Defias Bandit

Forum posts: 3
File comments: 5
Uploads: 0
Great work Gotai!
Report comment to moderator  
Reply With Quote
Unread 08-20-09, 11:48 PM  
FatalEntity
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 5
Uploads: 3
I was having a problem with the status bar being full even if it should be empty. By applying the smoothing function to the health bar and mana bar and logging in on a warrior or DK its most noticeable that their rage/runic power bar is at FULL and not empty as it should be when you log in (assuming you diffident log out with some amount of power. Happens to any statsbar that should be at zero after it is created.

I fixed it by changing the Smooth function to this

Code:
local function Smooth(self, value)
	if value ~= self:GetValue() then
		smoothing[self] = value
	else
		smoothing[self] = nil
		self:SetValue_(value) -- Added this
	end
end
Last edited by FatalEntity : 08-20-09 at 11:49 PM.
Report comment to moderator  
Reply With Quote
Unread 11-03-09, 09:46 AM  
c0ding
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
How to make it works with only de button bar style?

http://www.wowinterface.com/download...lerDiablo.html

It's from Zork, but only the button bar.

Regards,
Report comment to moderator  
Reply With Quote
Unread 01-12-10, 04:40 AM  
mrruben5
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by c0ding
How to make it works with only de button bar style?

http://www.wowinterface.com/download...lerDiablo.html

It's from Zork, but only the button bar.

Regards,
It's for horizontal bars only. You'll have to ask Roth for a feature request
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 01-12-10, 05:09 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Originally posted by mrruben5
It's for horizontal bars only. You'll have to ask Roth for a feature request
oUF Smooth Update works on both horizontal and vertical bars; it does not include any code that checks for or is affected by a bar's orientation.

That said, though, you are correct in that Roth would need to add support in his layout.
Report comment to moderator  
Reply With Quote
Unread 01-12-10, 07:29 AM  
mrfit
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
how do i get this addon work? :x i have oUF and oUF_might, when i put this addon in my addon folder its not working.
Report comment to moderator  
Reply With Quote
Unread 01-12-10, 02:03 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Originally posted by mrfit
how do i get this addon work? :x i have oUF and oUF_might, when i put this addon in my addon folder its not working.
The author of oUF_might must add support for it in the layout.

If you wish to add support for it yourself, please read the description for this mod, as that quite simply answers "How".
Report comment to moderator  
Reply With Quote
Unread 01-12-10, 04:09 PM  
mrfit
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Xuerian
The author of oUF_might must add support for it in the layout.

If you wish to add support for it yourself, please read the description for this mod, as that quite simply answers "How".
deleted the first 3 lines in ur .lua, now its working thx
Report comment to moderator  
Reply With Quote
Unread 01-18-10, 08:10 PM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Edit: Disregard. It would help if I had the latest version (1.3).

Is there a way to speed up the pace that the bar fills/depletes? I like the smooth effect, but it seems to be quite delayed after damage is given or taken. I'd rather not get rid of smooth update, but rather make it more sensitive to changes in health / power.
Last edited by Toran : 01-18-10 at 08:35 PM.
Report comment to moderator  
Reply With Quote
Unread 02-06-10, 02:34 PM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 263
Uploads: 5
When changing targets sometimes (when new target has more power or hp or has different type of power) bars update smothly, is there a way to update them smoothly only for changes of current target/tot?
Report comment to moderator  
Reply With Quote
Unread 07-09-10, 10:52 AM  
Taet
A Deviate Faerie Dragon

Forum posts: 17
File comments: 81
Uploads: 0
Any programer, plz create negate logic for this plugin.

MAX HP = empty bar
lossed HP = filed bar
death = full bar
Report comment to moderator  
Reply With Quote
Unread 12-13-10, 04:32 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Taet, that would be trivial, but would need to be implemented in the layout you use, not in a plugin. Ask the author of the layout you use to add an option, find a different layout that works this way (I know there are several out there), or learn WoW Lua and edit the layout yourself.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: