Description
A layout for oUF by Haste. Needs to be downloaded for this layout to work.
Features
- Style based heavily on the look and feel of p3lim
- Castbar Support Disabled by default
- Combat Icon
- PVP Icon
- Smart Rested Icon ~ Works on characters 1-69 Easily Disabled
- Smart Level Coloring
- Mouse-over Highlighting
- Threat Support for WotLK Easily Disabled
- DeathKnight Rune Support
Supported Frames
- Player
- Pet
- Target
- Target of Target
- Optional Target of Target of Target
- Focus
- Focus Target
- Party
- Optional Party Targets
- Raid
Supported oUF Modules
- oUF_Banzai
- oUF_CombatFeedback
- oUF_Debuff Higlight
- oUF_DruidMana
- oUF_Experience
- oUF_PowerSpark
Change Log - oUF Pazrael
0.90 Inital Upload
0.91 Added Modular Color Variables, also fixed the default action of oUF to make my castbars yellow... ew.
0.91.1 First stage of code rehauls. Truncated names to 17 spaces in all frames.
0.91.2 More Optimizations.
0.91.3 Removed some Superflous code in PvP module
0.92 Some layout tweaks.
0.92.1 Minor Hunter Pet Fix
0.93 Some Code Optimizations, changed highlight code in main. (Raid still mostly unchanged atm)
0.93.1 Now with improved raid frame highlighting, and other minor improvements
0.93.2 A must if you have an older version... Error with Bosses fixed.
0.93.3 Fixed the tooltips I broke a patch or two ago.
0.94 Some Code Cleanup.
0.94.1 Abbreviated numbers (10,000 and up are now 10k and up, 1 Million and up Are 1m and up)
0.94.2 Minor fixes.
0.94.3 DruidMana fix.
0.95 Changed to use the default interface fonts.
0.95.1 Fixed Raid Issue.
0.95.2 Minor Tweaks.
0.96 oUF 1.1 Support with MobHealth
0.96b oUF 1.1 Support without MobHealth for WotLK
0.96.1 Fixed castbar safezone.
0.96.1b Fixed castbar safezone.
0.97 Added Target of Target of Target support (set ttt to true)
Changed Castbar to comply with changes in new oUF commit (update it)
0.97b Added Target of Target of Target support (set ttt to true)
Changed Castbar to comply with changes in new oUF commit (update it)
Hidden Default Blizzard Focus Frames.
0.98 Merged the WotLK and Live trees.
Changed some color handling.
Added Spark to Castbar.
Other Minor Tweaks.
0.98.1 Added threat support for 3.0.2 and WotLK
Added Optional Party Targets
Minor Tweaks.
0.98.2 Fixed Party Targets in Raids
0.98.2b One last Party Target Fix. Should be stable. Post any issues with this version.
0.98.2d Minor Push
0.98.3 Added optional oUF_Experience Support.
0.98.3a Fixed oUF_Experience Support, well if you don't have oUF_Experience
0.98.4 3.0.2 Changes.
0.98.5 Reaction Color fixes, and other small formatting things.
Originally posted by Alfrunnah Only issue I'm having is I don't like my HP showing as an abbreviated "15.6k". I've tried changing some code but all I get is errors if I do. Anyone gimme a quick tip on how to make it show an exact number on my player/target frames like "15604"?
To prevent harming the rest of the coded working, and to change the way numbers are handled you can do one of two things. If you don't want any abbreviated numbers you could.
Code:
local number = function(n)
--[[ if n >= 1e7 then
return ('%.1fm'):format(n / 1e6):gsub('%.?0+([km])$', '%1')
elseif n >= 1e6 then
return ('%.2fm'):format(n / 1e6):gsub('%.?0+([km])$', '%1')
elseif n >= 1e5 then
return ('%.0fk'):format(n / 1e3)
elseif n >= 1e3 then
return ('%.1fk'):format(n / 1e3)
else ]]
return n
-- end
end
which comments out all the number changing options.
If you only want it affecting health, and only on player, and target.
Remove all references to the number function under those areas, if you did that alone you'd get a number returned when expecting string error more than likely... so what else you need to do is change
Only issue I'm having is I don't like my HP showing as an abbreviated "15.6k". I've tried changing some code but all I get is errors if I do. Anyone gimme a quick tip on how to make it show an exact number on my player/target frames like "15604"?
Love the layout, been tweaking it and it really fits my UI.
One thing, though - after 3.0, mana updates constantly, but in Pazrael, it only seems to update in ticks, just like health. Is this an oUF or oUF_Pazrael problem? I tried some other oUF layouts and seem to remember them updating constantly, but I could be wrong. I've been looking through the lua but haven't been successful in finding out what parts handle this. Any guidance?
EDIT: Found out - all I needed to do was add self.Power.frequentUpdates = true under styleFunc.
Originally posted by Elite_Gamer04 Thanks for the reply mate - love your UI frames so much!
Just a couple of little quirks from me - when you do round to updating the mod later in the week, would there be anyway to change the colour of the HP bars as it is EXTREMELY hard to see sometimes (Party, Raid, Target etc)
Thanks!
Its already in there... Read the comments around PazColors. Line 16 to be precise -- Status Bar Color --
I added a lot of those functions in there, because I realized my preferences weren't everyone's.
Thanks for the reply mate - love your UI frames so much!
Just a couple of little quirks from me - when you do round to updating the mod later in the week, would there be anyway to change the colour of the HP bars as it is EXTREMELY hard to see sometimes (Party, Raid, Target etc)
Originally posted by Elite_Gamer04 2 Quick questions:
1. If I wanted to go about moving the Self, Target and Target of Target frames down - I would edit what in the .lua?
2. Also, the latency built into the Castbar is out for me (Being Aussie) - the Quartz one is fine, but the one within oUF seems to remain the same no matter what, and does not work as well as Quartz?
Thanks, EG
Sorry about the late reply... been busy as of late.
1. If you check towards the top of the lua file (line 24) you will see an array named Pazp (paz positions as it were) There are comments there which explain what each does. The numbers are given as if your screen was a Cartesian coordinate system iwith x = 0 and y = 0 being the center of your screen.
As far as the latency, haste has had issues perfecting it... but to remove it just comment, or delete lines 526 - 530
1. If I wanted to go about moving the Self, Target and Target of Target frames down - I would edit what in the .lua?
2. Also, the latency built into the Castbar is out for me (Being Aussie) - the Quartz one is fine, but the one within oUF seems to remain the same no matter what, and does not work as well as Quartz?
Originally posted by wannad00it Ive been up and down with this all day. layout is great. trying to tweak little things and most of them i do understand. not a big lua guy. more of an xhtml css person myself but hey whats the difference right :-p...
anyways. i got colors textures and borders down easy. but cant figure out how to change text..
ay help would be amazing.
thanks much
Well there are a few ways. But the most user friendly would be to put the font you want to use into the addon folder. Then create a local variable that points to it
I use two fonts throughout, one which is the general font, the other which is used for combo points.
Code:
local pazfont = "Interface\\AddOns\\oUF_Pazrael\\<Font Name>"
local pazcombo = "Interface\\AddOns\\oUF_Pazrael\\<Font Name>"
Then you need to edit all the instances of setFontString calls...
Code:
setFontString(<parent Frame(should probably leave this alone)>, <Font (pazfont or pazcombo in this instance)>, <font size>)
Hope that helps some.
Another option since, the layout uses the default fonts, is to download an addon like ClearFont2 which changes the default fonts.
Ive been up and down with this all day. layout is great. trying to tweak little things and most of them i do understand. not a big lua guy. more of an xhtml css person myself but hey whats the difference right :-p...
anyways. i got colors textures and borders down easy. but cant figure out how to change text..
Originally posted by Seerah Error occurs on login/reload. Unit frames do not appear.
I'll look at it
[edit] found it I forgot to take out the Rested line out of the (oUF_Experience not being loaded function) after I took it out of the rest. Will reCommit soon
Quote:
Originally posted by p3lim Reputation support is in as of this week
Heh was definitely playing PM tag with you when it was being set up
[2008/10/05 20:53:18-1710-x1]: oUF_Pazrael-0.98.3\oUF_Pazrael.lua:453: attempt to index field 'Rested' (a nil value)
oUF-1.2\ouf.lua:212: in function <Interface\AddOns\oUF\ouf.lua:206>
oUF-1.2\ouf.lua:269: in function <Interface\AddOns\oUF\ouf.lua:266>
oUF-1.2\ouf.lua:323: in function `Spawn'
oUF_Pazrael-0.98.3\oUF_Pazrael.lua:585: in main chunk
---
Error occurs on login/reload. Unit frames do not appear.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
Originally posted by molt would be nice if you could add the code for http://www.wowinterface.com/download...xperience.html to work, love your work, and that is the only thing i miss. as optional thing that is =)
I could tack it in as an optional thing, I personally have no desire to use it till p3lim adds in reputation support.