/////////////////////////////////////////////

// LAYOUT

// [7] [8] [9] [+]

// 0.2x Speed 1x Speed 5x Speed Interpolation

// [4] [5] [6]

// 0.5x Scan Pause 2x Scan

// [1] [2] [3]

// Show Accuracy 3x Zoom

// Impacts Box

// [0] [.]

// Show DemoUI Wireframe

// (optional)

/////////////////////////////////////////////

alias "ovdem_slow" "developer 2; echo 0.2x Speed; developer 0; demo_timescale 0.2";

alias "ovdem_normal" "developer 2; echo 1x Speed; developer 0; demo_timescale 1";

alias "ovdem_fast" "developer 2; echo 5x Speed; developer 0; demo_timescale 5";

alias "ovdem_rate_kill" "demo_timescale 1; alias ovdem_slow echo; alias ovdem_normal echo; alias ovdem_fast echo";

alias "ovdem_togglepause" "ovdem_pause";

alias "ovdem_pause" "developer 2; echo Paused (will resume at same speed unless changed); developer 0; demo_pause; alias ovdem_togglepause ovdem_resume";

alias "ovdem_resume" "developer 2; echo Resuming; developer 0; demo_resume; alias ovdem_togglepause ovdem_pause";

alias "ovdem_togglepause_kill" "alias ovdem_togglepause echo; alias ovdem_pause echo; alias ovdem_resume echo";

alias "+ovdem_slowscan" "developer 2; echo 0.5x Scanning; developer 0; demo_timescale 0.5; demo_resume";

alias "-ovdem_slowscan" "developer 2; echo Paused (will resume at 1x speed unless changed); developer 0; demo_pause; demo_timescale 1; alias ovdem_togglepause ovdem_resume";

alias "ovdem_slowscan_kill" "alias +ovdem_slowscan echo; alias -ovdem_slowscan echo";

alias "+ovdem_fastscan" "developer 2; echo 2x Scanning; developer 0; demo_timescale 2; demo_resume";

alias "-ovdem_fastscan" "developer 2; echo Paused (will resume at 1x speed unless changed); developer 0; demo_pause; demo_timescale 1; alias ovdem_togglepause ovdem_resume";

alias "ovdem_fastscan_kill" "alias +ovdem_fastscan echo; alias -ovdem_fastscan echo";

alias "ovdem_impacts" "ovdem_impactson";

alias "ovdem_impactson" "developer 2; echo Bullet Impacts ON; developer 0; sv_cheats 1; sv_showimpacts 1; alias ovdem_impacts ovdem_impactsoff";

alias "ovdem_impactsoff" "developer 2; echo Bullet Impacts OFF; developer 0; sv_cheats 1; sv_showimpacts 0; alias ovdem_impacts ovdem_impactson";

alias "ovdem_impacts_kill" "sv_showimpacts 0; alias ovdem_impacts echo; alias ovdem_impactson echo; alias ovdem_impactsoff echo";

alias "ovdem_accbox" "ovdem_accboxon";

alias "ovdem_accboxon" "developer 2; echo Weapon Inaccuracy Box ON; developer 0; sv_cheats 1; weapon_debug_spread_show 1; alias ovdem_accbox ovdem_accboxoff";

alias "ovdem_accboxoff" "developer 2; echo Weapon Inaccuracy Box OFF; developer 0; sv_cheats 1; weapon_debug_spread_show 0; alias ovdem_accbox ovdem_accboxon";

alias "ovdem_accbox_kill" "weapon_debug_spread_show 0; alias ovdem_accbox echo; alias ovdem_accboxon echo; alias ovdem_accboxoff echo";

alias "ovdem_zoom" "ovdem_zoomin";

alias "ovdem_zoomin" "developer 2; echo 3x Zoom; developer 0; sv_cheats 1; fov_cs_debug 33; r_drawviewmodel 0; alias ovdem_zoom ovdem_zoomout";

alias "ovdem_zoomout" "developer 2; echo Normal Zoom; developer 0; sv_cheats 1; fov_cs_debug 0; r_drawviewmodel 1; alias ovdem_zoom ovdem_zoomin";

alias "ovdem_zoom_kill" "fov_cs_debug 0; r_drawviewmodel 1; alias ovdem_zoom echo; alias ovdem_zoomin echo; alias ovdem_zoomout echo";

alias "ovdem_wire" "ovdem_wireon";

alias "ovdem_wireon" "developer 2; echo Wireframe models ON; developer 0; sv_cheats 1; r_drawothermodels 2; alias ovdem_wire ovdem_wireoff";

alias "ovdem_wireoff" "developer 2; echo Wireframe models OFF; developer 0; sv_cheats 1; r_drawothermodels 1; alias ovdem_wire ovdem_wireon";

alias "ovdem_wire_kill" "r_drawothermodels 1; alias ovdem_wire echo; alias ovdem_wireon echo; alias ovdem_wireoff echo";

alias "ovdem_interp" "ovdem_interpoff";

alias "ovdem_interpoff" "developer 2; echo Interpolation OFF; developer 0; cl_interpolate 0; alias ovdem_interp ovdem_interpon";

alias "ovdem_interpon" "developer 2; echo Interpolation ON; developer 0; cl_interpolate 1; alias ovdem_interp ovdem_interpoff";

alias "ovdem_interp_kill" "cl_interpolate 1; alias ovdem_interp echo; alias ovdem_interpoff echo; alias ovdem_interpon echo";

/////////////////////////////////////////////

/////////////////////////////////////////////

/////////////////////////////////////////////

alias "ovdem_goaway" "ovdem_rate_kill; ovdem_togglepause_kill; ovdem_slowscan_kill; ovdem_fastscan_kill; ovdem_impacts_kill; ovdem_accbox_kill; ovdem_zoom_kill; ovdem_interp_kill; ovdem_wire_kill; sv_cheats 0; developer 0";

bind KP_HOME "ovdem_slow";

bind KP_UPARROW "ovdem_normal";

bind KP_PGUP "ovdem_fast";

bind KP_LEFTARROW "+ovdem_slowscan";

bind KP_5 "ovdem_togglepause";

bind KP_RIGHTARROW "+ovdem_fastscan";

bind KP_END "ovdem_impacts";

bind KP_DOWNARROW "ovdem_accbox";

bind KP_PGDN "ovdem_zoom";

bind KP_DEL "ovdem_wire";

bind KP_PLUS "ovdem_interp";