PDA

View Full Version : [Addon] OhNoes: Screen Coloring/Alert addon. Updated!



Depherios
07-26-2008, 03:53 AM
Download: http://www.wowinterface.com/downloads/info9845-OhNoes.html

Currently Flashes Red when the character loses autofollow.

Flashes Green when you a character sets it's focus to itself.

Stains the entire screen red when you/it dies, to tell who's down at a glance.

"/script OhNoes()" will highlight the focus green again, if you ever want to add that to a macro.

Things that may, eventually, be included:
Audio alerts? Blue flash/color on roots (still looking on if there's an easy way to do this... don't think so... aura scanning? *shudders*) Red flash on end of combat and not following. (soon probably) a /script OhNoesFollowCheck() to let you flash the screen red on whoever's not following for use in a macro. (also soon probably)
any other ideas?

Drakkun
07-28-2008, 07:07 PM
This is a pretty cool idea. I can see this being really handy for PvP and knowing which character to switch to quickly when the main goes down. I'd be willing to test it out for you.

Depherios
07-28-2008, 08:58 PM
Wow, somebody is interested! lol

In that case: here's all I'm using right now.

http://www.wowinterface.com/downloads/info9845-OhNoes.html

Depherios
07-30-2008, 01:48 AM
Another update:

Fixed the screen flashing red when follow breaks due to melee combat (meaning "/follow focus; /attack" macro spam will no longer freak out and flash a ton)

Added Slash commands:
/OhKill Kill the flashing frame, for so spamming /follow macros doesn't spam your screen with a red flash. (unnecessary if you're using one of the below commands at the end of your /follow macro)
/OhNoes /OhCheck (or /ONC) to check AFTER following (after OhKill, even, if you want) who's focus and who can't follow. /OhCheck follow and /OhCheck focus to just check follow and focus respectively...Some examples:
/follow focus
/ohkill -- don't spam the screen just because you refreshed follow >_< -- sadly this is the best workaround I have, as I fail at code... all I can say is this is probably a lot less overhead than putting in timers T_T

Alternately:
/follow focus
/onc follow -- flash the screen red for any character who can't follow for any reason... Also serves to /ohkill

ANY feedback is appreciated... especially if you have a better way to do any of this XD (I'm afraid I'm far from a good coder...)

Pocalypse
07-30-2008, 09:29 AM
Just wanted to say a big thank you for this addon, makes it much easier to know whats happening to my clones.

FYI, I don't use focus for my following and it still works great. Also, your new version fixed the screen flashing when refreshing follow without my having to modify any macros, so well done! :)

Depherios
07-30-2008, 02:52 PM
I was considering making options to highlight party1, and highlight the new party1 when the leader changes. But I've been using focus from the start and having both options means... well... OPTIONS XD

But I think most people who PvP use focus. -- if anybody is interested though it shouldn't be too tough to add... or anything else really... Until I get feedback I'm just kinda making this for me XD

Going to make it alert when your focus loses control, or you set your focus to something that is dead or doesn't have control here soon. but today I really need to level instead of messing with this addon >_<

Ughmahedhurtz
07-30-2008, 03:42 PM
Another update:

Fixed the screen flashing red when follow breaks due to melee combat (meaning "/follow focus; /attack" macro spam will no longer freak out and flash a ton)

Added Slash commands:
/OhKill Kill the flashing frame, for so spamming /follow macros doesn't spam your screen with a red flash. (unnecessary if you're using one of the below commands at the end of your /follow macro)
/OhNoes /OhCheck (or /ONC) to check AFTER following (after OhKill, even, if you want) who's focus and who can't follow. /OhCheck follow and /OhCheck focus to just check follow and focus respectively...Some examples:
/follow focus
/ohkill -- don't spam the screen just because you refreshed follow >_< -- sadly this is the best workaround I have, as I fail at code... all I can say is this is probably a lot less overhead than putting in timers T_T

Alternately:
/follow focus
/onc follow -- flash the screen red for any character who can't follow for any reason... Also serves to /ohkill

ANY feedback is appreciated... especially if you have a better way to do any of this XD (I'm afraid I'm far from a good coder...)This answered a question I was going to ask. I liked the "alt has lost follow" messages in that other mod but hated that it would spam you every time you'd press the follow key. I'll definitely be giving this a shot. :D Also, I agree with your statement about doing that versus adding timers. ;) It adds a few characters to the macro but I don't think anyone's /follow macro is bumping the 255 char limit.

Carnage
07-30-2008, 03:56 PM
Would you be able to do abit where it flashes purple when someone gets a curse? this would be helpfull for raids non-multiboxing :P

Depherios
07-30-2008, 10:14 PM
I'll probably end up doing aura scanning anyway, since I think I'd like to do scans to check if something has a movement imparing effect... I'm trying to LEVEL instead of spending my time working on the addon though lol...

But honestly, Power Auras can probably give you better alerts regarding buffs/debuffs by type for raiding. Prettier ones too XD
http://wow.curse.com/downloads/details/3897/

Ughmahedhurtz
07-31-2008, 02:00 AM
Seems to work very well. Good job! :)

Carnage
07-31-2008, 03:25 AM
But honestly, Power Auras can probably give you better alerts regarding buffs/debuffs by type for raiding. Prettier ones too XD
http://wow.curse.com/downloads/details/3897/Thanks, Ill give it a try tonight ;)

Ughmahedhurtz
07-31-2008, 11:54 AM
OK Deph, question for you: is there a way to make the blink effect less subtle? E.g.: make it so instead of a dark red, make it a bright red?

Depherios
07-31-2008, 03:56 PM
Not yet, Ugh, definitely soon though... I started off with it set to MOD, and kept working around that... but after having died and having missed a follow breaking in a few really dark (or really red) places I'm thinking I'll just change it to blizz' default system (and perhaps even their default flash frames) and use transparent layers that pulse. Or put in an option for it...

I've never, to date, worked with savedvariables XD -- never made an addon that anybody else would ever use. (and wasn't sure anybody would use this!) But I'm definitely going to have to look into it when I get a chance here.... if you want a quick fix, you could try changing line 5 in the XML from alphaMode="MOD" to "ADD" -- which you still wouldn't be able to see in really LIGHT areas (shimmering flats pretty much) -- no idea if you'll be able to see through that in a dark place though XD -- any other changes you'd have to take a go at the transparency in the LUA for each change >_<

Ughmahedhurtz
07-31-2008, 04:53 PM
Yeah, I'd already started tweaking a few things to taste, so I'll give that a shot tonight. Thanks!

Ughmahedhurtz
07-31-2008, 08:19 PM
Hmm...I adjusted the ADD to MOD setting in the XML, can't tell a difference. :P I did adjust the blink rates so it's a bit more obvious. Still a nifty mod.

Depherios
08-01-2008, 02:51 AM
Well... *tries it himself*

WHOOPS, have to set the TEXTURE to add... not the frame! Gave you the wrong line... Make that Line 8 -- lol.. not sure why I put another blend mode on the FRAME... *fixes*

MOD makes it so the red darkens anything lighter than itself
ADD makes it so it lightens anything darker than itself.

With MOD, darkening it will make it more obvious (blank out more) -- Black will appear completely solid.
With ADD, making it lighter will make it more obvious. -- White will appear completely solid.

Err... wait.. .*links*
http://www.wowwiki.com/UITYPE_AlphaMode <-- there we go :D

Ughmahedhurtz
08-01-2008, 08:32 PM
OMG you da MAN. That is exactly what I was after. Perfect addon now. :D

Drakkun
08-04-2008, 12:49 PM
Tested this out over the weekend. Worked really well. Good job and thanks.

moog
08-04-2008, 01:54 PM
Lovely addon, thanks.

Only tweak I've made is to make the flashing last for 30s, to make sure I notice it :)