Skip to content

Instantly share code, notes, and snippets.

@maschill92
Last active December 27, 2022 20:08
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save maschill92/ab376efa3acc4c3c41ff to your computer and use it in GitHub Desktop.
Save maschill92/ab376efa3acc4c3c41ff to your computer and use it in GitHub Desktop.
A CS:GO config file to make watching demos much easier.
//----------------------------- MISC -------------------------------\\
//------------------------------------------------------------------\\
sv_cheats "1"
sv_showimpacts "0"
sv_showimpacts_time "2.5"
//---------------------------- BINDS -------------------------------\\
//------------------------------------------------------------------\\
bind "SPACE" "demo_togglepause" // pause/play demo
bind "c" "r_cleardecals" // get rid of bulletholes and black residue from grenade explosions
bind "i" "toggle sv_showimpacts" // show bullet impacts on walls, playermodels
bind "r" "demo_resume" // resume demo playback (if demo gets stuck)
bind "v" "toggle weapon_debug_spread_show" // show weapon inaccuracy/spread
bind "z" "incrementvar r_drawothermodels 1 2 1" // kind of like x-ray
bind "x" "toggle spec_show_xray" // turn x-ray vision on / off
//----------------------- TIMESCALE BINDS --------------------------\\
//------------------------------------------------------------------\\
// Keypad Demo Timescale binds (Num-Pad 1-9)
// controls the demo playback time. Going below 0.1 is not recommended
bind kp_end "demo_timescale 0.1; sv_showimpacts_time 0.1"
bind kp_downarrow "demo_timescale 0.2; sv_showimpacts_time 0.2"
bind kp_pgdn "demo_timescale 0.3; sv_showimpacts_time 0.3"
bind kp_leftarrow "demo_timescale 0.4; sv_showimpacts_time 0.4"
bind kp_5 "demo_timescale 0.5; sv_showimpacts_time 0.5"
bind kp_rightarrow "demo_timescale 0.6; sv_showimpacts_time 0.6"
bind kp_home "demo_timescale 0.7; sv_showimpacts_time 0.7"
bind kp_uparrow "demo_timescale 0.8; sv_showimpacts_time 0.8"
bind kp_pgup "demo_timescale 0.9; sv_showimpacts_time 0.9"
bind kp_ins "demo_timescale 1; sv_showimpacts_time 1" // Normal speed
bind kp_enter "demo_timescale 1; sv_showimpacts_time 1" // Normal speed
bind kp_plus "demo_timescale 2" // fast forward
bind kp_minus "demo_timescale 4" // fast forward
//------------------------- ZOOM BINDS -----------------------------\\
//------------------------------------------------------------------\\
bind UPARROW "fov_cs_debug 33" // zoom view in
bind DOWNARROW "fov_cs_debug 0" // zoom view out
echo _________________________________________________________________
echo _________________________d e m o c o n f i g l o a d e d______
echo _________________________________________________________________
//---------------------------- BINDS -------------------------------\\
//------------------------------------------------------------------\\
echo SPACE: Play/Pause
echo c: Clear decals
echo i: Toggle impacts
echo r: demo_resume
echo v: Toggle weapon spread debug
echo z: Toggle draw other models
echo x: Toggle x-ray
//----------------------- TIMESCALE BINDS --------------------------\\
//------------------------------------------------------------------\\
// Keypad Demo Timescale binds (Num-Pad 1-9)
// controls the demo playback time. Going below 0.1 is not recommended
echo Numpad 1-9: Reduce timescale
echo Numpad 0: Timescale 1
echo Numpad Enter/+/-: Increase timescale
//------------------------- ZOOM BINDS -----------------------------\\
//------------------------------------------------------------------\\
echo Up/Down Arrow: Zoom in and out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment