Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(22 Kb)
Download
Updated: 07-11-11 01:44 PM
Pictures
File Info
Updated:07-11-11 01:44 PM
Created:07-29-10 02:43 AM
Downloads:4,396
Favorites:42
MD5:
oUF Svelte
Version: 2.3
by: Ferous [More]
Requires oUF 1.5.x to work!

See Changelog For Changes!

Most Ideal for Healing
But nice to use as a Tank or DPS!


Units Supported
  • Player
  • Target
  • Target of Target
  • Focus
  • Pet/Vehicle
  • Party/Raid (not tested v2.3 - I would assume it works though.)

Other Features
  • Castbar and Castbar Icons for Player & Target.
  • Buffs and DeBuffs for Player & Target.
  • Debuffs on Focus, Buffs & Debuffs for Pet.
  • Numerical Combo Points.
  • HolyPower, SoulShards, EclipseBar, and Runebar Display.
  • Tags for Healers on Party/Raid Frames. Also Weakened Soul Indicator.
  • Aggro border on Party/Raid Frames.
  • DeBuff Highlighting on Party/Raid Frames.
  • Raid Markers on party/raid frames.
  • Mouseover Highlight on Frames.
  • Heal Prediction
  • oUF_Experience
  • oUF_Reputation

Plug-ins Supported

Credits
  • P3lim and Haste for base code (oUF_Lily and oUF_P3lim).
  • EvilPaul for reference code on the new modules.

Notes
  • Added Weakened Soul indicator, shows as <<.
  • I added fast frequentUpdates. You can change on the top of the Lua.
  • oUF_MoveableFrames is recommended if you want to move it around and don't want to sift through the Lua.
  • The config is not done. This layout can and will always change.

To Do
  • Config on top of Lua still a work in progress! I will try to make it better as I go along.

Known Issues
  • Not showing debuff highlight that I am aware of.

-------------- CONFIG (Still a work in progress. I still need to add config for other buffs and debuffs. )

Code:
-- CONFIG (still a work in progress, please bear with me while I make it!)

-- Player Config
	-- Set Size
	
	local statusbarcolorz = {.15, .15, .15, 1}		-- health statusbar color
	
	local backdropcolorz = {0, 0, 0, 1}				-- health backdrop color
	
	local hpbackdropcolorz = {0, 1, 1, 0.5}			-- health backdrop color
	
	local powerbackdropcolorz = {0, 0, 0, 1}		-- power backdrop color
	
	local powerbarbg = {.50, .50, .50}				-- power bar background color
	
	local castbarcolor = {0, 1, 1, .5}				-- cast bar color
	
	local powerbackgroundalpha = 0.3				-- power bar background alpha
	
	local powercolorclassz = true					-- color power by class. Make false for no class colors. 
	local powercolortapppingz = true				-- color the power if target is tapped
	local powerdisconnectz = false					-- color the power if target is disconnected
	
	local healthsetheightz = 20						-- Player and Target Height
	
	local playersetwidth = 230						-- Player Set Width
	local targetsetwidth = 230						-- Target Set Width
	
	local petsetwidth = 119							-- Pet Set Width
	local petsetheight = 20							-- pet set height
	
	local focussetwidth = 119						-- focus set width
	local focussetheight = 20						-- focus set height
	
	local targettargetwidth = 119					-- target set width
	local targettargetsetheight = 20				-- target set height
	
	local powerSetWidth = 230						-- power set width
	local powerSetHeight = 20						-- power set height
	
	local playerdebuffz = true						-- show or hide players debuffs
	
	local targetdebuffz = true						-- false to show, true to hide
	
	local showdonlyplayerdebuffs = true				-- Show only player debuffs on target, if false, shows all debuffs including yours and party/raid
		
	local showonlyplayerbuffsontarget = true		-- Show only player buffs on target, if false shows all buffs including yours and party/raid
	
	local enableplayerbuffs = true					-- Show or hide buffs on player (buffs top left of screen)
	
	local enabletargetbuffs = true					-- Show or hide target buffs
	
	local enabletargetcombopoints = true			-- Show or hide numerical combo points
	
	local enablepetauras = true 					-- show or hide pet auras (buffs and debuffs)
	
	local enablefocusauraz = true					-- show or hide focus auras (buffs and debuffs)
	
	local castbarz = true							-- show or hide castbars
	
	local castbartextz = true						-- Castbar text
	
	local castbariconz = true						-- castbar Icon for target and player
	
	-- Player Buffs
		--[[player buff parent, 
		make self to anchor to player]]			local playerbuffparent = UIPARENT
		--[[player buff set point]]				local playerbuffanchor = 'TOPLEFT'
		--[[player horizontal position]]		local playerbuffhorizontal = 10 -- going right
		--[[player vertical position]]			local playerbuffverticalpos = -5 -- Going down
		--[[player buff column height]]			local playerbuffheight = 44
		--[[player buff row width]]				local playerbuffwidth = 600
		--[[player buff icon number shown]]		local playerbuffnumber = 20
		--[[player buff size]]					local playerbuffsize = 22
		--[[player buff spacing]]				local playerbuffspacing = 4
		--[[player buff initial anchor]]		local playerbuffinitialanchor = 'TOPLEFT'
		--[[player buff vertical growth]]		local playerbuffverticalgrowth = 'DOWN'
		--[[player buff horizontal growth]]		local playerbuffhorizontalgrowth = 'RIGHT'
		
	
		
		
-- Config End
-------------------------- RAID CONFIG

Code:
-- Config

-- make all false to show nothing

local showsolo = false	-- Show player when not in raid
local showplayer = true	-- show player in raid frames
local showparty = true	-- show raid frames when in party
local showraid = true	-- show raid frames

local height, width = 20, 77	-- height and width of raid frames
local scale = 1.0	-- scale of raid frames

-- Heal Prediction config

local healpredict = true	-- true for on, false for off.

local healmaxoverflow = 1.05	-- How far you want the heal prediction to go past HP bar

local healpredictopacity = 0.5	-- heal prediction opacity of texture

local freqnum = 0.5 -- Change depending on how fast you want things to udpate

local namenum = 3 -- How many letters to show in raid names

local texture = [=[Interface\AddOns\oUF_Svelte\fer25]=]
local aggro = [=[Interface\AddOns\oUF_Svelte\aggro]=]
local font, fontsize, fontstyle = [=[Interface\AddOns\oUF_Svelte\Marke.ttf]=], 8, 'OUTLINEMONOCHROME'

local backdrop = {
    bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=],
    insets = {top = 0, left = 0, bottom = 0, right = 0},
}
07-11-11 v 2.3

-I am just here, updating it and just saying I'm here now, I have a trial and updated it, though I haven't tested the Party/Raid, everything else works as far as I know.

11/4/2010 v 2.2

-Fixed the code up. Made it to where everything is seperated now (*looks at Carebear*)
-Made the config alot nicer, but still needs options for buffs and debuffs on all units except player buff config is already added.

10/31/2010 v 2.14

Happy Halloween!

-Added oUF_Experience and oUF_Reputation officially.
-Added the druid Eclipse Bar.
-Added Castbar Icons.
-Added oUF_boring_totembar support. (Note - Only use oUF_Totembar or oUF_boring_totembar one at a time, not both!)
-Fixed the Party/Raid Setpoints.
-Changed opacity of HolyPower and SoulShards while in combat and out of combat.
-Also changed opacity of other modules, listed below:

(OOC - Out of Combat. IC - In Combat)

-oUF_Experience - OOC shows / IC hides
-oUF_Reputation - OOC shows / IC hides
-HolyPower - OOC hides / IC shows
-SoulShards - OOC fades .50% opacity / IC shows
-EclipseBar - OOC fades .50% opacity / IC shows

---------------------------------------------------------------------------------------------

10/27/2010 v 2.0

2.0.1 - Fixed a tiny bug

-NEW LOOK! Has the same look and feel of everything else from the last layout.
-Used oUF_Lily and oUF_P3lim for base. My old layout was very gritty and ugly. I needed to redo it.
-Updated for Cataclysm 4.0.1 and beyond.
-Added HolyPower, SoulShards, HealPrediction.
-Added oUF_Experience and oUF_Reputation. I still sort of need to mess with this.
-Better config coming soon.

8/5/2010 v1.4

(Thanks to Dawn for Tags)
-Healing Tags for Priests, Paladins, Druids, and Shamans.
-Added Raid/Party Frames.
-Added Truncated names on target, as well as ToT, party and raid.
-Healcomm4 Added.
-Added Threat Indication. Border around Frame.
-Added DeBuff Highlighting pertaining to your class. Light Alpha Coloring over Frame.
-Added Config on top of Lua.



7/30/2010 v 1.3

-Made a minor change in the debuff display on both player and target. Sorry for minor update! NO need -to update if you don't want to.



7/29/2010 v. 1.2

-a built in Runebar, and oUF_TotemBar Support. Changed the castbar a tiny bit.



7/29/2010 v 1.1

- Added Combo Points, oUF_WeaponEnchant ( I needed it on my Rogue), as well as level on target,
-made level difficultycolor, and made Percent HP on player UF CurHP instead. Added a bit of a
-better config, though Idk how better it is. Also moved DeBuffs on top of player frame. Changed
-some colors.



7/28/2010 v 1.0

- Initial Release
Archived Files (8)
File Name
Version
Size
Author
Date
2.2
22kB
Ferous
11-04-10 02:46 PM
2.1
21kB
Ferous
10-31-10 05:36 PM
2.0.1
20kB
Ferous
10-27-10 01:03 PM
1.4
40kB
Ferous
08-05-10 09:56 PM
1.3
24kB
Ferous
07-30-10 07:19 PM
1.2
24kB
Ferous
07-29-10 11:38 PM
1.1
23kB
Ferous
07-29-10 07:58 PM
1.0
23kB
Ferous
07-29-10 02:43 AM


Post A Reply Comment Options
Unread 11-04-10, 03:12 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by Ercher
How do I move the castbar down? I have no idea where to look for the castbar itself. I've managed to move down the icon, the text, but I can't seem to get the actual bar at the same place.
Line 633

Code:
Castbar:SetAllPoints(health)
you have to set the point elsewhere then. i.e.

Code:
Castbar:SetPoint("TOP", self, 0, 0)
Example
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 11-04-10, 03:09 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by carebear.
I took a look at your code to have a fiddle around with it and it hurt my head >_<

Howcome you set the settings for each unit frame in about 4 different places in the code?

It'd be much easier to understand if you did everything frame by frame.

Player
[settings]
Target
[settings]

something like that seems to be a lot easier I think.
I just do it kinda lazy like and haven't really cleaned it up yet :P
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 11-03-10, 09:58 AM  
Ercher
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 1
How do I move the castbar down? I have no idea where to look for the castbar itself. I've managed to move down the icon, the text, but I can't seem to get the actual bar at the same place.
Ercher is offline Report comment to moderator  
Reply With Quote
Unread 11-03-10, 08:30 AM  
carebear.
Banned
 
carebear.'s Avatar

Forum posts: 56
File comments: 1
Uploads: 1
I took a look at your code to have a fiddle around with it and it hurt my head >_<

Howcome you set the settings for each unit frame in about 4 different places in the code?

It'd be much easier to understand if you did everything frame by frame.

Player
[settings]
Target
[settings]

something like that seems to be a lot easier I think.
__________________
Last edited by carebear. : 11-03-10 at 08:39 AM.
carebear. is offline Report comment to moderator  
Reply With Quote
Unread 11-03-10, 07:13 AM  
Gjaleir
A Kobold Labourer
 
Gjaleir's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Just wondering, are you ever considering reuploading your ui? (: It's exactly what many need as healers.
Gjaleir is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 07:56 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by Ercher
I really like the looks, so props for that!

Normally when I want to change stuff I take a look at the lua file and I can get by, changing stuff I like, but I can't seem to find how to disable the buffs on my pet. I only want to see buffs on target, but not on the pet, but I can't seem to find the line where to change that stuff,

any suggestions?

[edit] Atm I fixed it by having the buff size as 0, so it won't show. It's a bit unorthodox, but it works .
You can do:

lines 530 - 542

Code:
pet = function(self)
		local auras = CreateFrame('Frame', nil, self)
		auras:SetPoint('TOPRIGHT', self, 'TOPLEFT', -4, 0)
		auras:SetSize(236, 44)
		auras.size = 20
		auras.spacing = 4
		auras.initialAnchor = 'TOPRIGHT'
		auras['growth-x'] = 'LEFT'
		auras.PostCreateIcon = PostCreateAura
		self.Auras = auras

		self:SetWidth(119)
	end,
remove the bolded part:

Code:
local auras = CreateFrame('Frame', nil, self)
		auras:SetPoint('TOPRIGHT', self, 'TOPLEFT', -4, 0)
		auras:SetSize(236, 44)
		auras.size = 20
		auras.spacing = 4
		auras.initialAnchor = 'TOPRIGHT'
		auras['growth-x'] = 'LEFT'
		auras.PostCreateIcon = PostCreateAura
		self.Auras = auras
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 07:54 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by JackOnTheMap
Hello, Ferous.

I'm messing around with the color values to try and get the frames semi-transparent to look as much like the frames nin made. So far I've had no luck.

Maybe I'm looking in the wrong place. Can you point me in the right direction in your config?
You would have to make the backdrop and the colors transparency to 0.5 or something like that.

lines 558 - 577

Code:
local health = CreateFrame('StatusBar', nil, self)
	health:SetStatusBarTexture(tex)
	health:SetStatusBarColor(.15, .15, .15, 0.5)
	health.frequentUpdates = true
	self.Health = health
	
	-- Health backdrop

	health:SetBackdrop{
	bgFile = [[Interface\Buttons\WHITE8x8]], tile = true, tileSize = 16,
	insets = {left = -1, right = -1, top = -1, bottom = -1},
	}
	health:SetBackdropColor(0,0,0,0.5)

local HealthBackground = health:CreateTexture(nil, "BORDER")
	HealthBackground:SetAllPoints(self)
	HealthBackground:SetTexture(tex)
	HealthBackground:SetVertexColor(0, 1, 1, 0.3)
And then Lines 596 - 626:

Code:
power:SetSize(230, 20)
		power:SetPoint('TOP', health, 'BOTTOM', -2, 22)
		power:SetFrameLevel(30)
		power.frequentUpdates = true
                power:SetAlpha(0.5)
		self.Power = power
		
		-- health framelevel
		
		health:SetFrameLevel(40)

		power.colorClass = true
		power.colorTapping = true
		power.colorDisconnected = false
		
		-- power backdrop
		
		power:SetBackdrop{
		bgFile = [[Interface\Buttons\WHITE8x8]], tile = true, tileSize = 16,
		insets = {left = -1, right = -1, top = -1, bottom = -1},
		}
		power:SetBackdropColor(0,0,0,0.5)
		
		-- power background color
		
		local PowerBackground = power:CreateTexture(nil, "ARTWORK")
		PowerBackground:SetAllPoints(power)
		PowerBackground:SetTexture(tex)
		PowerBackground:SetVertexColor(.50, .50, .50)
		PowerBackground:SetAlpha(0.3)

		power.bg = PowerBackground
(r, b, g, a) a is the alpha, you can change it to what i wrote 0.5 or what ever alpha your looking for.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 06:27 PM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 129
Uploads: 0
Hello, Ferous.

I'm messing around with the color values to try and get the frames semi-transparent to look as much like the frames nin made. So far I've had no luck.

Maybe I'm looking in the wrong place. Can you point me in the right direction in your config?
JackOnTheMap is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 01:31 PM  
Ercher
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 1
Originally posted by Nerielle
Oh! No problems then I just wanted to keep the Svelte sbf profile but I don't mind the ouf buff/debuffs either

Really digging the look!
I really like the looks, so props for that!

Normally when I want to change stuff I take a look at the lua file and I can get by, changing stuff I like, but I can't seem to find how to disable the buffs on my pet. I only want to see buffs on target, but not on the pet, but I can't seem to find the line where to change that stuff,

any suggestions?

[edit] Atm I fixed it by having the buff size as 0, so it won't show. It's a bit unorthodox, but it works .
Last edited by Ercher : 11-02-10 at 01:41 PM.
Ercher is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 02:49 AM  
Nerielle
A Cyclonian
 
Nerielle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 77
Uploads: 1
Originally posted by Ferous
The config ain't complete yet I need to work on it still, sorry! I will try to get the config up and running tomorrow in full or at least the essential parts.
Oh! No problems then I just wanted to keep the Svelte sbf profile but I don't mind the ouf buff/debuffs either

Really digging the look!
Nerielle is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 09:49 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Originally posted by Nerielle
heyyy girl.

I made "false" to all buff/debuff parts in the lua but they still show up on me, pet and target. But my buffs have disappeared from the top.

Not sure what else to do?

PS unless I need to "false" it in ouf_Svelte and ouf both?
The config ain't complete yet I need to work on it still, sorry! I will try to get the config up and running tomorrow in full or at least the essential parts.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 07:05 PM  
Nerielle
A Cyclonian
 
Nerielle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 77
Uploads: 1
heyyy girl.

I made "false" to all buff/debuff parts in the lua but they still show up on me, pet and target. But my buffs have disappeared from the top.

Not sure what else to do?

PS unless I need to "false" it in ouf_Svelte and ouf both?
Last edited by Nerielle : 10-31-10 at 07:11 PM.
Nerielle is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:42 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
But there is a mana bar. :P
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 10-29-10, 11:17 PM  
sephra
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Liking the frames so far, dunno if i can deal without a mana bar other than number atm, but definatly awsome. Maybe a option to have the focus bar also do the castbar over health bar as well. Either way
sephra is offline Report comment to moderator  
Reply With Quote
Unread 10-27-10, 04:23 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 565
Uploads: 32
Re: Re: Fading / Bar Alpha Options?

Originally posted by Opaque
Check out Kong. It should take care of this for you.
Yeah I was going to add this, but i had updated it to 4.0 and redoing the layout and forgot about the barfader feature. Kong will work great with it.
Ferous is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: