Thread Tools Display Modes
03-05-07, 03:47 PM   #1
Kathbrian
A Murloc Raider
Join Date: Feb 2007
Posts: 7
Alphablending Mod!

I like to go crazy with alpha blending(so that i can have info on the screen while still being able to too the pretty areas).

I was looking to see if anyone could make me a mod that allows extreme customability with alpha blending of ALL frames(or at least all non-blizzard frames) for several scenarios.

With this i would hope to be able to.

Alpha all non-blizzard or custom frames(Note i use Bartender3, Squeenix, Autobar, Fubar, Grid and such.)

To 60-70% in combat(whatever the user chooses)
To 20-30% out of combat
0% While Dead, or Flying

Further Discussion may be found at

http://forums.worldofwarcraft.com/th...965235&sid=1#0

Also you could give it a clever name like Alf or something....

Im thinking the GUI would be either a series of checkboxes based on what frames you have to enable the mod for those frames and a set of options for all of the frames or possibly have different alpha-sets for different frames and be able to save it per charecter of course.

Thanks for reading and anyone who helps this mod come into fruition.

Last edited by Kathbrian : 03-05-07 at 03:52 PM.
  Reply With Quote
03-05-07, 05:44 PM   #2
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Have you tried
/script UIParent:SetAlpha(.5)

I'm not sure if that would work, but meh, it's worth a shot.
  Reply With Quote
03-05-07, 06:03 PM   #3
Sepioth
A Molten Giant
AddOn Author - Click to view addons
Join Date: Apr 2005
Posts: 894
Originally Posted by kneeki
Have you tried
/script UIParent:SetAlpha(.5)

I'm not sure if that would work, but meh, it's worth a shot.

Yes it does work. .5 sets the entire UI mods and all to a 50% transparancy. Kinda neat.

So making a mod that does what the OP should be fairly easy then.
  Reply With Quote
03-05-07, 06:39 PM   #4
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Yep, I'd think so. =)

However, I remember with 2.0 Slouken protected the use of :SetScale() while in combat and so forth. I do not remember if :SetAlpha() is protected or not. *shrug*

OP, give'r a whirl, and post your results =)

[edit]Just tested it. (logged on my lappy while at work.. ssshhhhhh!) and it does work while in combat. So I would assume that this mod is very easily written =)

Last edited by kneeki : 03-05-07 at 06:52 PM.
  Reply With Quote
03-05-07, 06:41 PM   #5
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Oh I just remembered, you can use UIFrameFadeIn(frame, fadeTime, startAlpha, endAlpha) and Out to make neat fading effects (if you want a professional look).
  Reply With Quote
03-05-07, 09:59 PM   #6
Kathbrian
A Murloc Raider
Join Date: Feb 2007
Posts: 7
I have 0 coding knowledge >.>
  Reply With Quote
03-05-07, 10:13 PM   #7
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
http://www.wowwiki.com/Main_Page

Now is your time! =D
Don't let code intimidate you. It's very easy to learn!
  Reply With Quote
03-06-07, 01:25 AM   #8
Kathbrian
A Murloc Raider
Join Date: Feb 2007
Posts: 7
Originally Posted by kneeki
http://www.wowwiki.com/Main_Page

Now is your time! =D
Don't let code intimidate you. It's very easy to learn!
I have heavy testing this week so my free time is extremely limited, and that huge block of text looks like gibberish to me >.<
  Reply With Quote
03-06-07, 07:01 AM   #9
JoshBorke
A Chromatic Dragonspawn
 
JoshBorke's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 185
The problem is he wants only the non-blizzard frames to fade (or so it seems). The problem with fading UIParent is that your chatbox will fade also.
  Reply With Quote
03-06-07, 01:55 PM   #10
Kathbrian
A Murloc Raider
Join Date: Feb 2007
Posts: 7
Originally Posted by JoshBorke
The problem is he wants only the non-blizzard frames to fade (or so it seems). The problem with fading UIParent is that your chatbox will fade also.
Actually, pretty much everything but the chat logs >.>

Last edited by Kathbrian : 03-06-07 at 10:36 PM.
  Reply With Quote
03-06-07, 02:58 PM   #11
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Well, you could fade everything but the chat logs (I'm writing free hand here, haven't tested this in game)

/script UIParent:SetAlpha(.5); local i; for i = 1, 7, 1 do if getglobal("ChatFrame"..i) then getglobal("ChatFrame"..i):SetAlpha(1) end end

What that should do, is set the UIParent alpha to .5, and then cycle through all 7 of your Chat Frames (if they exist) and set their Alpha to 1. Remember, I haven't tested this in game, but the code *looks correct*.
  Reply With Quote
03-06-07, 03:18 PM   #12
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Okay, due to boredom at work, I'll write the mod for you. Give me a few hours to write/debug.
  Reply With Quote
03-06-07, 03:31 PM   #13
ReverendD
A Rage Talon Dragon Guard
 
ReverendD's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 343
I actually took the first code you setup and made 2 macros, 1 for .25 trans, and 1 for 1 trans. I find fading out everything is actually very nice. With the graphic I have behind my chat frame, I can still read them with little difficuly. And if I need to see something, full alpha is but a button away.

Now if you do like fading out a bit but are worried you might miss something important in the World of Chatcraft, then you can always use Prat and designate words/phrases that will play a sound and pop-up middle screen when ever it appears. Just a thought since I dont think something this simple really requires a full blown mod.
  Reply With Quote
03-06-07, 04:26 PM   #14
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Mmk, the mods about done. So far, it fades everything but your chat windows and GameTooltip. In/Out of combat, Dead or Flying, and ChatFrames all have a user specified setting by using /alphablending command.
  Reply With Quote
03-06-07, 04:50 PM   #15
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Mod is uploaded to Curse, WorldofWar, and WoWI. So far, the only one posted is on Curse and WoWI:
http://wow-en.curse-gaming.com/files...alphablending/
http://www.wowinterface.com/download...fo.php?id=6966
Hope it's what you want

Last edited by kneeki : 03-06-07 at 05:16 PM.
  Reply With Quote
03-06-07, 05:30 PM   #16
Sepioth
A Molten Giant
AddOn Author - Click to view addons
Join Date: Apr 2005
Posts: 894
Originally Posted by kneeki
Mod is uploaded to Curse, WorldofWar, and WoWI. So far, the only one posted is on Curse and WoWI:
http://wow-en.curse-gaming.com/files...alphablending/
http://www.wowinterface.com/download...fo.php?id=6966
Hope it's what you want

Its avail here now

I must say this has to be the fastest mod I have ever seen released.

Great Job
  Reply With Quote
03-06-07, 06:13 PM   #17
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Yep. Lemme know how well it works for ya. If you want anything added, post here and I'll see what I can do. (work is still pretty slow )
  Reply With Quote
03-08-07, 10:05 PM   #18
Kathbrian
A Murloc Raider
Join Date: Feb 2007
Posts: 7
Originally Posted by kneeki
Yep. Lemme know how well it works for ya. If you want anything added, post here and I'll see what I can do. (work is still pretty slow )
Getting some errors trying to mod it(i use alot of mods) so far its looking like

"BT3Bar1",
"BT3Bar2",
"BT3Bar3",
"BT3Bar4",
"BT3Bar5",
"BT3Bar6",
"BT3Bar7",
"BT3Bar8",
"BT3Bar9",
"BT3Bar10",
"BT3BarBAGS",
"BT3BarMICROMENU",
"BT3BarPET",
"ElkBuffBarFrame",
"aUFplayer",
"aUFtarget",
"aUFtargettarget",
"aUFfocus",
"Minimap",
"AutoBarSAB1",
"AutoBarSAB2",
"AutoBarSAB3",
"AutoBarSAB4",
"AutoBarSAB5",
"AutoBarSAB6",
"AutoBarSAB7",
"AutoBarSAB8",
"AutoBarSAB9",
"AutoBarSAB10",
"AutoBarSAB11",
"AutoBarSAB12",
"AutoBarSAB13",
"AutoBarSAB14",
"AutoBarSAB15",
"AutoBarSAB16",
"AutoBarSAB17",
"AutoBarSAB18",
"AutoBarSAB19",
"AutoBarSAB20",
"AutoBarSAB21",
"AutoBarSAB22",
"AutoBarSAB23",
"AutoBarSAB24",
"ContainerFrame1",
"ContainerFrame2",
"ContainerFrame3",
"ContainerFrame4",
"ContainerFrame5",

and i'm getting errors like crazy >.>

Edit: Nvm, it was the descriptions of frames that i wasnt using that was messing up. Also, is there a way to edit the spam?

Also, is it just me but does this eat alot of memory?

Last edited by Kathbrian : 03-08-07 at 10:29 PM.
  Reply With Quote
03-09-07, 11:46 AM   #19
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 134
Hmm... I haven't checked how much memory my mod uses standalone. I will check it next time I login however.

Unless UIFrameFadeIn() consumes alot of resources (that's sloukens code, not mine) the addon is pretty light. It's less than 100 lines of code so far I think. I will look into improving my codeing method however, as to always improve myself.
  Reply With Quote
03-10-07, 05:19 AM   #20
reeks
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 5
Oh I've SO got to thank you for this one Kneeki. Just the mod I've been looking for, (forever!)

I like to keep very combat specific buttons near my char, but of course they're annoying out of battle. I use Barkeeper 3 and your Mod works almost perfectly with it.

The ONLY problem I have: is the slightly irritating presence of cooldown shadows after alphafade. They look like an awful graphic glitch until I realised what they were.

Can that be solved by hiding the bar instead of fading it ? (I'd prefer instant buttons on combat anyway)

Extreme thanks again! You hit the nail on the right on the head with it
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Alphablending Mod!


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off