Download
(273 Kb)
Download
Updated: 01-25-13 10:08 PM
Compatibility:
Landfall (5.1)
Updated:01-25-13 10:08 PM
Created:01-07-13 07:00 PM
Downloads:1,371
Favorites:0
MD5:
oUF Fail new power values
Version: oUF_Fail_Test Smooth power changes 1.4.6
by: Sauerkraut, MiRai
- For testing purposes only -
Just for you MiRai
Archived Files (7)
File Name
Version
Size
Author
Date
oUF_Fail_Test S
273kB
Sauerkraut
01-25-13 03:57 PM
oUF_Fail_Test n
273kB
Sauerkraut
01-17-13 06:37 PM
oUF_Fail_MiRai_
270kB
Sauerkraut
01-13-13 07:47 AM
oUF_Fail_MiRai_
269kB
Sauerkraut
01-12-13 10:22 AM
EA v0.2 (MiRai)
232kB
Sauerkraut
01-11-13 02:16 PM
Extra Arrow
233kB
Sauerkraut
01-08-13 04:22 PM
Extra Arrow
246kB
Sauerkraut
01-07-13 07:00 PM


Post A Reply Comment Options
Old 02-07-13, 04:46 AM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Originally Posted by MiRai
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
I agree. I haven't been doing much playing lately either. Probably just an if loop with some kind of check for power type would work.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 02-05-13, 05:56 AM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Sorry, I realized that I didn't give any feedback on this, but I haven't really played for about a week because I've been pretty busy with work projects (and another game). I do like the Rage/Energy, but the Mana is a little awkward. I might have to bring back the old behavior for Mana and keep the new behavior for Rage/Energy.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-25-13, 04:23 PM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Originally Posted by Sauerkraut
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Awesome! I won't be able to try it out until later tonight.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-25-13, 03:56 PM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
I got it working. I'm uploading the working version now. Gonna be funky with mana though.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 01-25-13, 07:04 AM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
I've tried both Dawn's and Phanx's suggestions in that thread and both of them are throwing errors at me. I don't know what I'm supposed to replace yourstatusbar with because...

Code:
	local text = lib.gen_fontstring(f.Health, cfg.font, 18, "OUTLINE")
	local r, g, b = playerPowerBar:GetStatusBarColor()
	text:SetPoint("RIGHT", s.arrow, "LEFT", 6, -8)
	text:SetTextColor(r, g, b)
	s:SetScript("OnValueChanged", function(self, value)
	text:SetFormattedText("%d", value, 0)
	text:SetJustifyH("RIGHT")
	end)
...just tells me that playerPowerBar is a nil value. That was just a complete guess as to what goes there based off of playerHealthBar from looking at WoWPedia.

And, to be honest, I'm not sure if Phanx's suggestion is pseudocode or not. I would post my errors in that thread to help move it along, but seeing as I can't even reproduce the yellow power text you were seeing yesterday, I'd rather not clutter up the thread with my false errors.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-24-13, 06:35 AM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Originally Posted by Sauerkraut
Any progress? I haven't made any headway, but I also haven't had much time to try.
No, nothing. I haven't had much time to play with the layout or even much of the game over the past few days. I was thinking of throwing the before and after chunks of code into the oUF thread to see what other people thought.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-22-13, 02:11 PM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Any progress? I haven't made any headway, but I also haven't had much time to try.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 01-18-13, 06:30 AM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Originally Posted by MiRai
Originally Posted by Sauerkraut
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
I finally just got a chance to check it out and I must say that this might be love at first sight.

I saw haste's reply in the thread earlier today, but I wasn't exactly sure what to do with that "OnValueChanged" and I wanted to see if you or I could figure it out before we went back to bother the gurus on the oUF forum. It's great that you saw that and were able to implement the change so quickly. I gave an attempt at fixing the color of the power text as well, but I got nothin'.
I didn't have a lot of time last night so I didn't look at the colors too closely. I would imagine that it would need something similar to the arrow coloring code. If I have a chance I'll play with it tonight. I kinda like the way it looks too. Have to wait and see what it looks like with color and how it behaves with mana. May need to use the current tag for mana and this for rage/energy/focus/runic.

It was much easier than I anticipated. Once Haste posted his reply and I had some where to start it only took a few mins to work out the code. I'm not sure if the min/max code line is needed but it is working in the current incarnation.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 01-17-13, 09:32 PM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Originally Posted by Sauerkraut
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
I finally just got a chance to check it out and I must say that this might be love at first sight.

I saw haste's reply in the thread earlier today, but I wasn't exactly sure what to do with that "OnValueChanged" and I wanted to see if you or I could figure it out before we went back to bother the gurus on the oUF forum. It's great that you saw that and were able to implement the change so quickly. I gave an attempt at fixing the color of the power text as well, but I got nothin'.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-17-13, 06:37 PM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Code is in and working. Still working on how to color it, but it behaves like you asked. Check it out.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 01-15-13, 11:55 AM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Originally Posted by light007
Hi i'm interested in your weak aura setting - would you mind to share them. Thank you in advance.
Unfortunately, there is nothing to share. The UI is being worked on on a daily basis so it's constantly changing. What you saw in that video was the result of having worked with Weak Auras maybe twice before that to setup very basic alerts. I was only following the same basic setup as before by just adding spells and adding the pre-defined conditions for show/hide.

If you need to learn how to use Weak Auras there are a handful of YouTube videos (a whole series by the same uploader), a forum, or you could just copy & paste Clampy's setup.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-15-13, 03:06 AM  
light007
A Kobold Labourer

Forum posts: 1
File comments: 14
Uploads: 0
Hi i'm interested in your weak aura setting - would you mind to share them. Thank you in advance.
light007 is offline Report comment to moderator  
Reply With Quote
Old 01-13-13, 07:50 AM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Looks good. Too much flash for my taste

I got the mouse over text working for the rep bar. If you have both oUF_Rep and oUF_Exp it will switch automatically when you hit max level. Other than that I don't know a way to switch back and forth. I'm sure there is a way but it is beyond me.

I'm working on having the frames adjust for the arrow when it is enabled/disabled via the config. Shouldn't take long.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 01-13-13, 12:31 AM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
http://youtu.be/Wm0-xYvCNgs

This is just a test video of what I wanted to do with oUF_Fail and my action bars. I'm not sure it's going to work out as I had planned, but I'm waiting to see if it's possible to animate action bar buttons the same way I'm animating those Weak Aura icons in the video.
MiRai is offline Report comment to moderator  
Reply With Quote
Old 01-12-13, 09:12 PM  
MiRai
A Theradrim Guardian

Forum posts: 68
File comments: 74
Uploads: 0
Okay, I like this Rep/XP bar. Now that I've seen it, maybe just make the text show while hovering over the player frame? I'm going to look into how to do this, perhaps with the oUF equivalent of MouseIsOver.

As per this thread, it would seem I'm looking for "OnEnter" and "OnLeave".
Last edited by MiRai : 01-12-13 at 10:55 PM.
MiRai is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: