Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(21 Kb)
Download
Updated: 03-11-09 06:47 PM
Addon for:
oUF.
Pictures
File Info
Updated:03-11-09 06:47 PM
Created:01-25-09 02:29 AM
Downloads:3,579
Favorites:18
MD5:

oUF Faith

Version: ALPHA-4.0
by: Wimpface [More]

Well then, what could this be?
This is my layout for hastes oUF addon, it is open source and you can use it as you want.
It is currently ALPHA, it's a wip and i'm still new to addon writing, please give constructive criticism/feedback in the comment section.

It's mostly for tanks.

Feature Requests and Bug Reports goes to my portal, thank you!

oUF version:

  • 1.3.8

Supported frames:
  • Player
  • Pet
  • Target
  • Target of Target
  • Focus
  • Party

Supported plugins:
  • oUF_Reputation
  • oUF_Experience
  • oUF_Smooth
  • oUF_BarFader
  • oUF_DebuffHighlight

ToDo (Listed by priority):
  • Fix a raid header.
  • Fix runes for Death Knights.
  • Fix totem-timers, yes, they are coming!
  • Clean up the code, it's kinda messy right now...

Known Bugs:
  • Party frames wont show up for members joining when you're in combat.

Special thanks to Carebear!

ALPHA-4.0
+ Added player and target castbars.
+ Fixed oUF_Experience support so it fits in now.
+ Fixed Party Borders, not sure how it looks on 4 and 5man partys though...
+ Bumped to oUF Version 1.3.8
Post A Reply Comment Options
Unread 05-31-09, 09:40 PM  
Starsunder
A Defias Bandit

Forum posts: 2
File comments: 4
Uploads: 0
I know you don't update this any longer but can anyone help me out. When I target a mob with out mana, or rage I get this

Interface\addons\oUF_Faith\oUF_faith.lua.244: Attempt to call global "truncate" (a nil value)

Think it has to do with this line of code but I dont know how to fix it heh.

Code:
local function PostUpdateHealth(self, event, unit, bar, min, max)
	-- bar:SetStatusBarColor(0.329411764705882, 0.3254901960784314, 0.3333333333333333) 
	if(not UnitIsConnected(unit)) then
		bar.Text:SetText('D/C')
	elseif(UnitIsDead(unit)) then
		bar.Text:SetText('Dead')
	elseif(UnitIsGhost(unit)) then
		bar.Text:SetText('Ghost')
	else
		if(unit == 'target' and UnitCanAttack('player', 'target')) then
			bar.Text:SetFormattedText('%s (%d|cff0090ff%%|r)', truncate(min),
Starsunder is offline Report comment to moderator  
Reply With Quote
Unread 05-29-09, 05:17 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Originally posted by colinxx
Hi, i think it is the best layout i even used. Good job..

How can i show the target's debuff?? It is very important for me... and i have no idea for LUA... orz...

Any guys can help me...
Sorry for the late reply, i've quit maintaining this layout and i can't help you, but look inside oUF's aura.lua file for documentation on debuffs.

Regards,
Wimpseeh.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 05-23-09, 03:43 AM  
colinxx
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hi, i think it is the best layout i even used. Good job..

How can i show the target's debuff?? It is very important for me... and i have no idea for LUA... orz...

Any guys can help me...
colinxx is offline Report comment to moderator  
Reply With Quote
Unread 04-09-09, 05:55 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
On all fontstrings, try setting SetShadowOffset(0, 0)
I see it now, it's very, very subtle and i think it's from the font itself. But try the setshadowoffset i wrote.

Originally posted by treelet
Gosh, really? :/ That's extra frustrating. I've gotten rid of all my default replacements, my WTF folder, the rest of my addons, and it still has a shadow.

http://img127.imageshack.us/img127/3...0909180944.jpg

If you'll notice in the screenshot, the text for the castbar doesn't have a shadow (because I deleted that line of code you suggested) but everything else does. It's very subtle but terribly noticeable if you're staring at your screen for long periods of time.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 04-09-09, 05:14 PM  
treelet
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 15
File comments: 37
Uploads: 1
Originally posted by Wimpface
Hehe, i don't experience any shadow though.
Gosh, really? :/ That's extra frustrating. I've gotten rid of all my default replacements, my WTF folder, the rest of my addons, and it still has a shadow.

http://img127.imageshack.us/img127/3...0909180944.jpg

If you'll notice in the screenshot, the text for the castbar doesn't have a shadow (because I deleted that line of code you suggested) but everything else does. It's very subtle but terribly noticeable if you're staring at your screen for long periods of time.
treelet is offline Report comment to moderator  
Reply With Quote
Unread 04-09-09, 04:37 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Originally posted by treelet
Tried that and still no go. At this point I'm willing to just give up and use a different font, one that actually looks good with the drop shadow. :P
Hehe, i don't experience any shadow though.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 04-09-09, 03:35 PM  
treelet
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 15
File comments: 37
Uploads: 1
Originally posted by Wimpface
Try removing fontoutline from all the SetFonts, i'm not sure what's causing this though. ;o
Tried that and still no go. At this point I'm willing to just give up and use a different font, one that actually looks good with the drop shadow. :P
treelet is offline Report comment to moderator  
Reply With Quote
Unread 04-08-09, 01:33 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Try removing fontoutline from all the SetFonts, i'm not sure what's causing this though. ;o

Originally posted by treelet
It's on castbars, names, health values, power values, and levels. Essentially all text. However, removing self.Castbar.Text:SetShadowOffset(1, -1) worked like a charm for castbars. Unfortunately there are no other times when SetShadowOffset appears in the code, but the font shadows remain in-game.

I've tried converting the initial config portion of the code to read
Code:
local font, fontsize, fontshadow = 'Interface\\AddOns\\oUF_Faith\\media\\ARIALN.ttf', 13, 'FALSE'
as opposed to 'fontoutline' and changed all incidents of 'fontoutline' to 'fontshadow' in the rest of the LUA but to no avail. Not even sure if I'm doing that right.

I'll keep trying, thank you for any help you can provide!
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 04-08-09, 01:15 PM  
treelet
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 15
File comments: 37
Uploads: 1
Originally posted by Wimpface
Hehe, glad you like it.
I can dig into the code and check the shadows for you, there shouldn't be any though... Can you specify where it's at? Names, Health values, Power values?

You could create your own tag using string.lower for the lower case names.

The OmniCC text, i have no idea as i don't use OmniCC... Try increasing the minimum value for icons to show the number on and see if that helps.

I'll edit this post if i find anything regarding the shadows.

Regards,
Wimpseeeh.

EDIT: If it's on castbars, remove self.Castbar.Text:SetShadowOffset(1, -1).
Just search for SetShadowOffset, and remove all you see.
It's on castbars, names, health values, power values, and levels. Essentially all text. However, removing self.Castbar.Text:SetShadowOffset(1, -1) worked like a charm for castbars. Unfortunately there are no other times when SetShadowOffset appears in the code, but the font shadows remain in-game.

I've tried converting the initial config portion of the code to read
Code:
local font, fontsize, fontshadow = 'Interface\\AddOns\\oUF_Faith\\media\\ARIALN.ttf', 13, 'FALSE'
as opposed to 'fontoutline' and changed all incidents of 'fontoutline' to 'fontshadow' in the rest of the LUA but to no avail. Not even sure if I'm doing that right.

I'll keep trying, thank you for any help you can provide!
treelet is offline Report comment to moderator  
Reply With Quote
Unread 04-08-09, 01:01 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Hehe, glad you like it.
I can dig into the code and check the shadows for you, there shouldn't be any though... Can you specify where it's at? Names, Health values, Power values?

You could create your own tag using string.lower for the lower case names.

The OmniCC text, i have no idea as i don't use OmniCC... Try increasing the minimum value for icons to show the number on and see if that helps.

I'll edit this post if i find anything regarding the shadows.

Regards,
Wimpseeeh.

EDIT: If it's on castbars, remove self.Castbar.Text:SetShadowOffset(1, -1).
Just search for SetShadowOffset, and remove all you see.

Originally posted by treelet
I just want to say that I really love this layout, I keep coming back to it over and over again, even after my brief foray back into Pitbull.

I have a couple of short customization questions however:

- Is there a way to remove the font shadow? I've already removed the font outline via the config portion of the LUA file.

- Is there a way to make all text forced to lower case?

- Is there a means of editing the LUA so that OmniCC cooldown text no longer appears on auras? From what I gather, this isn't possible via OmniCC (Tuller has said as much) but might be possible via editing the LUA file for an oUF layout.

I've searched through the oUF forums and have read every post, but other than a brief hint as to how to remove the OmniCC cooldown text I found no answers to my questions. I will start looking through the online version of Programming in Lua (First Edition) in the mean time. I apologize for these seemingly silly queries.

Thank you for all of your efforts and for a truly wonderful layout.
__________________
All I see is strobe lights blinding me in my hindsight.
Last edited by Wimpface : 04-08-09 at 01:03 PM.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 04-08-09, 12:43 PM  
treelet
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 15
File comments: 37
Uploads: 1
I just want to say that I really love this layout, I keep coming back to it over and over again, even after my brief foray back into Pitbull.

I have a couple of short customization questions however:

- Is there a way to remove the font shadow? I've already removed the font outline via the config portion of the LUA file.

- Is there a way to make all text forced to lower case?

- Is there a means of editing the LUA so that OmniCC cooldown text no longer appears on auras? From what I gather, this isn't possible via OmniCC (Tuller has said as much) but might be possible via editing the LUA file for an oUF layout.

I've searched through the oUF forums and have read every post, but other than a brief hint as to how to remove the OmniCC cooldown text I found no answers to my questions. I will start looking through the online version of Programming in Lua (First Edition) in the mean time. I apologize for these seemingly silly queries.

Thank you for all of your efforts and for a truly wonderful layout.
treelet is offline Report comment to moderator  
Reply With Quote
Unread 04-01-09, 02:52 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Originally posted by bamblack
ahha, many thanks! keep up the good work
YW.
I will.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 03-31-09, 05:40 PM  
bamblack
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
ahha, many thanks! keep up the good work
bamblack is offline Report comment to moderator  
Reply With Quote
Unread 03-31-09, 03:53 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 643
File comments: 265
Uploads: 23
Originally posted by bamblack
ok, is there any way to move the frames around then?
Open the lua file and scroll down to the bottom, it's in the oUF:Spawn section.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Unread 03-31-09, 03:42 PM  
bamblack
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
ok, is there any way to move the frames around then?
bamblack is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: