diff --git a/docs/cvars.md b/docs/cvars.md new file mode 100644 index 0000000..8306d0f --- /dev/null +++ b/docs/cvars.md @@ -0,0 +1,40 @@ +# Helpful CS Console Commands + +Some of these commands for the Counter-Strike in-game console may be helpful in some situations. + +## cl_draw_only_deathnotices +This command will hide the in-game HUD, everything except the kill feed. +The HUD does not include a kill feed (because kills are not provided by Game State Integration), so you'll need to use the in-game HUD's kill feed. + +Example: +``` +cl_draw_only_deathnotices true +``` + +## safezonex, safezoney +These commands will move the in-game HUD inwards a bit. +safezonex will make the kill feed line up vertically with the `Players Alive` element and the right sidebar. +safezoney will make the kill feed line up horizontally with the `Players Alive` element. + +Example (for 16:9 aspect ratios): +``` +safezonex 0.988 +safezoney 0.98 +``` + +## cl_spec_show_bindings +This command will hide the little text at the bottom of the screen that tells you what button to press to toggle the X-Ray, etc. + +Example: +``` +cl_spec_show_bindings false +``` + +## fps_max +In case of performance issues, e.g. choppy animations in the HUD. +Limiting the game's FPS can free up some GPU resources for the HUD. + +Example: +``` +fps_max 144 +``` diff --git a/readme.md b/readme.md index 8467859..822cd30 100644 --- a/readme.md +++ b/readme.md @@ -15,9 +15,8 @@ The easiest way is to use the pre-packaged binaries, but other options will be a 1. Now run `csgo-hud-win.exe` or `csgo-hud-linux`. 1. Open http://localhost:31982/hud in your favorite browser, and you should see the HUD. -There's also the config page available at http://localhost:31982/config, and a separate radar for observing at http://localhost:31982/radar. - - +There's also the config page available at http://localhost:31982/config, and a separate radar for observing at http://localhost:31982/radar. +There are also [some console commands you may want to use](docs/cvars.md). Depending on how you actually want to use the HUD, you've now got two options: