Friday, September 2, 2011

How to save console options in Portal 2?

Question

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)?

Answer

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.

cl_fov 75;

should solve your problem.

No comments:

Post a Comment