There is a TL;DR at bottom of this thread bump. [/size]
Info: While this glitch is minor (condensed glitch details listed in italics directly under this), the devs should know why it occurs and have it brought to their attention. Sorry if bumping is a rule violation, I solved my own glitch I found and wanted to update the thread and share my discovery.
This glitch is caused (to my understanding) by the Fast Weapon Switch (FWS) toggle checkbox under Options > Keyboard > Advanced… [tab] (IMG1) reporting an overwrite to config.cfg while not toggling the value in the file; the other FWS toggle checkbox found in Options > Black Mesa (IMG2) successfully toggles the value for FWS in config.cfg. More detail on this below.
I didn’t realize this before, but the toggle can also be found here in the menu:
Options > Black Mesa
Toggle Location 1 (listed in original post) Screenshot: Imgur 1
Toggle Location 2 (NEW to this bump) Screenshot: Imgur 2
The toggle found in Options > Keyboard > Advanced… [tab] does not write changes to the config (although the console feed says it does), regardless of the other’s value (Options > Black Mesa FWS location set to either on or off).
Applying a change in the Options menu runs the following code in the Console:
'userconfig.cfg' not present; not executing.
Host_WriteConfiguration: Wrote cfg/config.cfg
JOY_AXIS_X: mapped to Turn (absolute)
JOY_AXIS_Y: mapped to Look (absolute)
JOY_AXIS_Z: unmapped
JOY_AXIS_R: mapped to Forward (absolute)
JOY_AXIS_U: mapped to Side (absolute)
JOY_AXIS_V: unmapped
Advanced Joystick settings initialized
Console IMAGE Link
(Note: I’m not exactly sure of the default location of userconfig.cfg mentioned here, but I found Steam Community user posts asking , leading me to believe they use config.cfg mentioned in the code also)
Changes save (by default) to the Black Mesa config file, located here:
C:\Program Files (x86)\Steam\steamapps\common\Black Mesa\bms\cfg\config.cfg
I opened the config.cfg file to check for the changes made after applying the toggle in both locations, coming to the conclusion that the Options > Keyboard > Advanced… [tab] toggle location (screen here) does not actually apply the setting to the config file, while the setting is always applied when using the toggle found in Options > Black Mesa (screen here2).
The line of text changed in the config.cfg is:
hud_fastswitch “0”
Which is located at line 187 for me in the config.cfg file found in the location I listed above. Link to IMAGE of config.cfg open to the line in Notepad++ HERE.
Conclusion: I’m unsure if the existence of the userconfig.cfg file mentioned in the console affects this, though I am assuming it might. Either way, it seems one of the FWS toggle writes a change while the other does not. At any rate, a user relying on changes saved to config.cfg such as myself and many others will encounter this small glitch.[/size]
tl;dr: Conclusions directly above. Toggle Switch 1[/size] (IMG) for Fast Weapon Switch found (Options > Keyboard > Advanced… [tab]) is BROKEN but writes as if it works OK in console; Toggle switch 2[/size] (IMG) found (Options > Black Mesa) writes changes perfectly (WORKS FINE) to config.cfg and reports fine to console as well.[/size]