Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I currently have custom code to go as the second option. If you're interested you may add me or I can try to discuss the approach here.
Yeah, I could actually have linked it beforehand, since it's included in my mod's public source code, but probably didn't want to have to explain how it works. But two basic steps to achieve it, briefly explained (you'll then have to analyze and understand the relevant code parts):
1. Read this: https://developer.valvesoftware.com/wiki/Manipulating_the_game_menu_items
2. Relate the command handling part to my mod code: https://github.com/HL2RP/HL2RP/blob/b6f9e3a76088f29260d561ae4ad92b5569f78d24/mp/src/game/client/hl2rp/hl2rp_configuration.cpp#L139 (this is the command handler for my custom main menu entry). The rest of file also includes the game menu panel pointer detection and custom panel parenting.
Hey man, can you tell me one thing? In Source Code 2007 there is a file "gameui/OptionsDialog.cpp" in which you can change the settings panel as you want (including the Difficulty, Keyboard, etc. tabs, even remove them all).
But in Source 2013 I can’t find anywhere how to change these tabs, there you can only change their content (there's even a resource optionssubaudio.res, optionssubvideo.res, but no options.res (main layout))
Maybe you know where the root of the generation of this settings panel is? I just can't find, maybe I'm just dumb