List of useful console commands: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[File:Developer Console.png|thumb|200px|right|A screen of the Developer Console found in Portal 2]] | [[File:Developer Console.png|thumb|200px|right|A screen of the Developer Console found in Portal 2]] | ||
Using the [http://developer.valvesoftware.com/wiki/Console Developer Console], you can turn specific gameplay and graphic settings on and off or modify their values. The console can be enabled from the options menu in the Keyboard/Mouse section. Any command put in the autoexec.cfg file will automatically be loaded on game launch. | Using the [http://developer.valvesoftware.com/wiki/Console Developer Console], you can turn specific gameplay and graphic settings on and off or modify their values. The console can be enabled from the options menu in the Keyboard/Mouse section. Any command put in the autoexec.cfg file will automatically be loaded on game launch. | ||
== List of useful console commands == | == List of useful console commands == | ||
sv_chets 2 for on 0 for off | |||
* portal_draw_ghosting 0/1 - Toggles the outline visible on portals through walls. | * portal_draw_ghosting 0/1 - Toggles the outline visible on portals through walls. | ||
* mat_fastspecular 0/1 - Setting to 0 will improve the quality of specular highlights. | * mat_fastspecular 0/1 - Setting to 0 will improve the quality of specular highlights. |