Been ages since I messed around with config files so could use a fresher on what the (0, 0, 0, 0, 0) does again in the color group field. I know they are for color mixing but what does what?
I need to create a darker, more high contrast main color group for my current HUD layout but not finding one on my current drive that I used to use. What I have now doesn't work well with brighter maps.
Thanks.
"Color Group" Question
Moderators: GSH, VSMIT, Red Devil, Commando
-
- Rattler
- Posts: 98
- Joined: Sat Feb 19, 2011 4:37 am
"Color Group" Question
Last edited by RubiconAlpha on Sat Aug 23, 2014 7:26 pm, edited 2 times in total.
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: "Color Group" Question
(Index, R, G, B, A)
Foreground is the Text.
Background is the background base color.
Gradient is the color of the bottom half of the background.
The index's are typically 4 groups, one for each mouse over state, but some, like command test in-game, have more states for disabled versions.
Foreground is the Text.
Background is the background base color.
Gradient is the color of the bottom half of the background.
The index's are typically 4 groups, one for each mouse over state, but some, like command test in-game, have more states for disabled versions.
Code: Select all
DefineColorGroup("DEFAULT")
{
// unselected, unhighlit
Foreground(0, 255, 255, 255, 255);
Background(0, 0, 127, 255, 160);
Gradient(0, 0, 63, 127, 160);
// selected, unhighlit
Foreground(1, 255, 255, 255, 255);
Background(1, 255, 0, 127, 160);
Gradient(1, 127, 0, 63, 160);
// unselected, highlit
Foreground(2, 255, 255, 255, 255);
Background(2, 127, 191, 255, 160);
Gradient(2, 63, 95, 127, 160);
// selected, highlit
Foreground(3, 255, 255, 255, 255);
Background(3, 255, 127, 191, 160);
Gradient(3, 127, 63, 95, 160);
}
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****
-
- Rattler
- Posts: 98
- Joined: Sat Feb 19, 2011 4:37 am
Re: "Color Group" Question
Thanks. I knew you would remember all that. I haven't touched config's in years. Saves me tons of messing around.
Thinking about maybe going with a classic BZ1 green theme. I always like that or BZII FE orange and black. Sick of the stock blue icons and elements.
Thinking about maybe going with a classic BZ1 green theme. I always like that or BZII FE orange and black. Sick of the stock blue icons and elements.