Optimization Commands
Jump to navigation
Jump to search
Console commands and console variables used for optimization.
- +showbudget
- Displays an informational panel displaying engine performance. See showbudget.
cl_showfps [0/1/2]
Draws a meter at the top right of the screen that measures FPS (frames/second): Green is high/good, yellow not-so-high/not-so-good, and red is low/bad. Unfortunately the meter is updating way too fast for someone to get an actual reading of the current number displayed, but cl_showfps 2
compensates for that.
- cl_showfps 0
- The default setting. No meter is displayed.
- cl_showfps 1
- A simple FPS meter is displayed.
- cl_showfps 2
- "Smooth FPS" - The meter contains a parathesis containing the lowest and the highest FPS measured from the moment the meter was turned on.
mat_leafvis [0/1]
- mat_leafvis 0
- This setting is default. The current leaf wireframe is not displayed.
- mat_leafvis 1
- Displays the leaf that the player is currently occupying in red wireframe.
mat_wireframe [0/1/2/3]
Displays the wireframe detail. It is useful for showing you how your map's brushwork has been split up by the engine. It is also useful to show you just what is being drawn in any given view.
- mat_wireframe 0
- This setting is default. It doesn't display any wireframes.
- mat_wireframe 1
- This setting displays all the framework that is visible in the PVS, using red polygons. It is useful for determining how many leaves are calculated in total, but has the most potential for clutter.
- mat_wireframe 2
- This setting displays all the brush leaves in the players line-of-sight, using green polygons, hiding the ones he cannot see.
- mat_wireframe 3
- This setting displays just the BSP leaves, using pink squares, identical to the current leaf displayed when setting the mat_leafvis variable to 1. Useful for seeing how visleafs are arranged.