Modify HUD color

  • Thread starter Thread starter 0r3L
  • Start date Start date
0

0r3L

Guest
i modified the color in blue : HUD.cpp

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 dont change in game, it is yellow
 
Because the HUD colors are handled by the client-scheme in the .res files. What you changed was the default color if no other color would be specified via a resource file. So....not sure which vgui component's color you wanna change, but you'll have to find the file that specifies it to be yellow.
 
Everyone says the .res files.... can you just open and edit those with notepad?
 
Back
Top