List of useful console commands: Difference between revisions
From the Portal Wiki
More actions
No edit summary |
|||
| Line 6: | Line 6: | ||
# cl_showpos 1 ( def. "0" ) can useful for executing and sharing precise positioning and [[portal]] shots. | # cl_showpos 1 ( def. "0" ) can useful for executing and sharing precise positioning and [[portal]] shots. | ||
# cl_drawhud 0 ( def. "1" ) client cheat - disable the rendering of the hud during .dem playback | # cl_drawhud 0 ( def. "1" ) client cheat - disable the rendering of the hud during .dem playback | ||
==r_ commands == | |||
# r_portal_use_pvs_optimization 0 ( def. "1" ) - Enables an optimization that allows portals to be culled when outside of the PVS | |||
#* Recommended by some speedrunners to see while out of bounds | |||
==sv_cheats 1== | ==sv_cheats 1== | ||
| Line 45: | Line 49: | ||
* maps - Display list of maps. Use <code>maps *</code> for a full listing. | * maps - Display list of maps. Use <code>maps *</code> for a full listing. | ||
=== Recording === | |||
* record <demo name> - records a demo. The [[Portal 2]] will split demos on every map change (including the [[Hub]]) and adds _K as prefix where K starts from 2. | * record <demo name> - records a demo. The [[Portal 2]] will split demos on every map change (including the [[Hub]]) and adds _K as prefix where K starts from 2. | ||