Page 1 of 1

"Color Group" Question

Posted: Sun Aug 10, 2014 12:36 pm
by RubiconAlpha
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.

Re: "Color Group" Question

Posted: Sun Aug 10, 2014 1:06 pm
by General BlackDragon
(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.

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);
	}

Re: "Color Group" Question

Posted: Sun Aug 10, 2014 3:58 pm
by RubiconAlpha
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.