I'm playing Portal 2 with my girlfriend, and she gets motion sick. We found out a console option to reduce the field of view, which drastically reduces her sickness (cl_fov_75). However, this option is not persisted, so if we forget to input the command she'll get sick again. Is there any command in the Portal 2 console to make this persistant (either with another command, or by modifying some kind of ini file)?
It's not recommended to modify config.cfg, since it can easily be overwritten by the game. The proper file to write your scripts and commands is autoexec.cfg which should be located in the same folder ([steam location]\steamapps\common\portal 2\portal2\cfg). If it's not there - create it. This file is executed automaticly when you load a map.
should solve your problem.
In your Steam folder for the game, there's a folder inside the "portal2" folder called "cfg" (I think the default C:\Program Files\Steam[usernamehere]\Portal 2\portal2\cfg) inside that folder there's a file called "config.cfg".
In that file there's a line called fov_desired "90.000000"
Changing that to 75 might work.
If not, then adding "cl_fov_75" as another line at the end should.
Don't know if you've already sorted this, but.. I own Portal 2 on 360 rather than PC, but I looked around anyway. I read that Portal has problems with actually using autoexec.cfg files, but it appears that setting custom launch options might work.
Right-click Portal 2 in Steam > Click 'Properties' > Click 'Set launch options'. In this you can put your cvar as a launch option, so put in
Hopefully that actually sets the cvar for you.