Forum Thread
  Posts  
Source Engine change menu text color? (Forums : Coding & Scripting : Source Engine change menu text color?) Locked
Thread Options
May 2 2014 Anchor

Hello,

I'm wondering what I should be editing to change my main menu text color (Source SDK 2k13 mod)? Right now the menu items are all white, and I want it black. I'm taking a look in some of the res files in the resource folder, but nothing is jumping out. Nothing labeled "menu items" or something of that nature is set to 255 255 255. Instead, I'm seeing a bunch of stuff for 'blank' and 'orange', which is throwing me off. Could someone kindly tell me where in which file I need to be editing?

Thanks.

May 27 2014 Anchor

I think the menu stuff is hardcoded and cannot be modified by editing .res files. At least I can remember mods that changed the base game a lot (Portal: Prelude, Black Mesa) that had the same white menu items, so the probability of being able to mod the menu itself might be very low.
You can modify the (in-game) HUD easily by editing HudLayout.res and ClientScheme.res, though, if that's of any importance to you.

--

--work in progress

ChrisBryant
ChrisBryant Level Designer Type Thing
May 27 2014 Anchor

Uh, no. The menu options are not hardcoded. The mods you listed don't have the menu options changed because the developers didn't feel the need.

It actually took all of 5 seconds to find, it's in the SourceScheme.res labeled as "MainMenu.TextColor" around roughly line 150 in a default file.

For future reference, not all colors will be their RGB values. The "Colors { }" segment allows you to define these values for specific words, so instead of needing to type "235 90 25 255" every time you want orange, you can just type "Orange" or whatever.

May 28 2014 Anchor

Cool, didn't know that. I actually found SourceScheme.res, but there was only one line in there referring to sourceschemebase.res, which I was unable to find initially.
The key you're talking about is in sourceschemebase.res in the 2013 SDK, so that's probably where the OP should start making his changes.

--

--work in progress

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.