[FIX] Certain Preferences Not Being Saved

To my knowledge these are the only three that don’t save.
Just put the ones you want turned off/changed at the end of your autoexec.cfg file.

sk_allow_autoaim "0" //Autoaim Off sv_train_stop_owner_falloff "0" //Train Failsafe Off rollangle "1.5" //View Roll. Min is "0", max is "3.5". [B]Edit: See Below[/B]

Hope that helps.

Edit: Upon further investigation, it appears that rollangle will reset to 3.5 even after setting it in the autoexec.cfg file. But, if you open options on game start and click apply, it will automatically set it to the value you set in the config file.
The only method I have found (that works for me) is to keep it in your cfg file and force-start the game with the console enabled by using the launch option “-console”.
However, this will start the game with the console open. If you don’t want the console to open when you start the game, just put “hideconsole” anywhere in your autoexec.cfg file.

Edit 2: If you are having problems, Jenova19 posted a solution that worked for him by setting autoexec.cfg to read only. This method didn’t work for me with viewroll but you are welcome to try it.

I’ll test this out now. Thanks!

Edit: Went ingame after putting these in my autoexec. They worked when I first started up, but then I saved, quit, started the game again, and everything was back at default again :frowning:

I’m not having that problem. I don’t see why it wouldn’t set them. If you enter them in the console at the main menu it will change them as well.

The variables are set to “0” and are at the bottom of your autoexec.cfg file?

Yeah, they are. I’ m not sure of what else it could be. I’ll see if I can try again later. Thanks nonetheless.

Check if the file has been reset to default, after you’ve quit the game.

If that’s the case, do this:

Right-Click “autoexec.cfg” -> Properties -> Check the “Read-Only” checkbox -> Click “Apply” -> Click “OK”


EDIT (04:49 PM): You could try creating an extra .cfg (with the contents posted above) inside the “…\SteamApps\sourcemods\BMS\cfg” folder and adding it to the autoexec.cfg, as well.

exec config.cfg
exec {CFGNAME}.cfg
//exec threading.cfg

Thank you, but that does not work either. Ah well. I appreciate the effort nonetheless :slight_smile:

Hmm, that’s really strange.

I just tested the method I posted as an “EDIT:” and it definitely works (with autoexec set to Read-Only)…

Have you tried it, yet?


{CFGNAME}.cfg ->

sk_allow_autoaim "0"
sv_train_stop_owner_falloff "0"
rollangle "1.5"

(Replace {CFGNAME} with any name you need, but remember to add said name to the “autoexec.cfg”, as shown above (Quote).)


EDIT (07:20 PM): First “autoxec” then “autexec”… Typing “autoexec” can’t be that hard… :rolleyes:


EDIT (07 : 32 PM): Just double checked it with different settings (e.g. ‘rollangle “2.2”’, etc.) and again I can confirm that it works (with or without saving). :slight_smile:

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.