Quantcast Artifact Exp Bar Color - WoWInterface
Thread Tools Display Modes
09-08-16, 03:15 PM   #1
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 151
Artifact Exp Bar Color

I'll start by saying that I don't know if the artifact exp bar color is class-based, as I only have one class, priest, with an artifact at the moment. For me, the bar is a pale yellow.

I would like an addon to change this color, preferably one with notations in the code so I can customize it to my preference. (I don't need a fancy in-game menu or anything.) The current color is too bright, but I'm not sure what would be a good color to use instead, as I would have to tinker with it.


Ty in advance.
__________________
Arise, my champion!
  Reply With Quote
09-11-16, 12:53 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
https://www.townlong-yak.com/framexm...enuBar.xml#469

It does not appear to be class-colored. This should work:

Lua Code:
  1. local r = 0.9 -- red value in the range 0-1 (inclusive)
  2. local g = 0.8 -- green value
  3. local b = 0.6 -- blue value
  4.  
  5. ArtifactWatchBar.StatusBar:SetStatusBarColor(r, g, b)
  6. ArtifactWatchBar.StatusBar:SetAnimatedTextureColors(r, g, b)

Those are the default color values, so if you just wanted the same color but half as bright, change the color values to something like 0.45, 0.4, 0.3. You can use any color picker tool to play around with colors and find something you like.

You can use Vlad's addon creator tool to turn the code into an addon.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
09-12-16, 08:34 AM   #3
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 151
Thanks a bunch.

I don't understand where the rgb values come from, though. How do you get the decimals?

For example, a green is r 45, g 206, b 88. If I were to visually pick a color that looks close to the default, I would go with 239,231,208, but again, those aren't decimals.
__________________
Arise, my champion!

Last edited by sakurakira : 09-12-16 at 08:36 AM.
  Reply With Quote
09-12-16, 09:46 AM   #4
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 328
Originally Posted by sakurakira View Post
Thanks a bunch.

I don't understand where the rgb values come from, though. How do you get the decimals?

For example, a green is r 45, g 206, b 88. If I were to visually pick a color that looks close to the default, I would go with 239,231,208, but again, those aren't decimals.
Divide them by 255, that's how you get decimals
__________________
  Reply With Quote
09-12-16, 11:27 AM   #5
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 151
Lovely, thanks!
__________________
Arise, my champion!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Artifact Exp Bar Color

Thread Tools
Display Modes

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