Thread Tools Display Modes
03-02-13, 02:37 AM   #1
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
ouf_phanx color

So i'm wondering if its possible to change the color of the healthbar background independently from the healthbar color. I prefer to have the healthbar dark as default and the background red. Looks like Grid also uses the same kind of coding with the healthbar color? Also where can i change the health and power text color? Anyone know or care to help? Thanks.
  Reply With Quote
03-02-13, 03:06 AM   #2
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
Looks like changing line 94 in frame.lua did something.

Code:
health.bg:SetVertexColor(r * healthBG, g * healthBG, b * healthBG)

to

health.bg:SetVertexColor(255, 0, 0)
Now the background is red, so i guess that worked.

Edit: OK so i pretty much figured out everything, except how i can change the color on the healthtext. Seems to be class colored like the name. Any suggestions?

Last edited by lynce : 03-02-13 at 10:28 AM.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » ouf_phanx color


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