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. |
Have you tried
/script UIParent:SetAlpha(.5) I'm not sure if that would work, but meh, it's worth a shot. |
Quote:
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. |
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 =) |
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).
|
I have 0 coding knowledge >.>
|
http://www.wowwiki.com/Main_Page
Now is your time! =D Don't let code intimidate you. It's very easy to learn! |
Quote:
|
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.
|
Quote:
|
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*. |
Okay, due to boredom at work, I'll write the mod for you. Give me a few hours to write/debug.
|
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. |
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.
|
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 ;) |
Quote:
Its avail here now :) I must say this has to be the fastest mod I have ever seen released. Great Job |
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 :D )
|
Quote:
"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? |
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. |
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 :D |
All times are GMT -6. The time now is 06:32 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI