This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
The colors "Normal", "Caution" etc are referenced in
resource/ClientScheme.res. You should change them there.

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Raziel Shaw
Sent: Friday, August 12, 2005 3:11 PM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] HUD Color



I know this is gonna b real simple and i'll prolly slap myself for askin
a
dumb question but..
How do i change the Hud color?

In the code i've changed part of it to this:

void CHud::InitColors( vgui::IScheme *scheme )
{
m_clrNormal = scheme->GetColor( "Normal", Color( 60, 60, 230,255 ) );
m_clrCaution = scheme->GetColor( "Caution", Color( 20, 20, 255, 255 ) );
m_clrYellowish = scheme->GetColor( "Yellowish", Color( 20, 20, 180, 255
) );
}

but it still shows up as yellow. So i looked in the HudLayout.res as i
read
on a forum that one of the .res files needs editing to allow the color
change, but i'm not exactly sure what it is i have to change in there.

Cheers in advance

Raz



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to