Skip to content

Instantly share code, notes, and snippets.

@schalkburger
Created February 26, 2021 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schalkburger/3a16bb084e09c72da13d0badfad45377 to your computer and use it in GitHub Desktop.
Save schalkburger/3a16bb084e09c72da13d0badfad45377 to your computer and use it in GitHub Desktop.
Schalk's demo.cfg
// Schalk's demo.cfg
// https://gist.github.com/schalkburger/3553517e2db3cf094a3672d235cc50e1
// Updated: 2021-02-26 04:00:26
// --- 1. Aliases --- //
net_graph 0
alias c "clear" //Fast clear console alias
alias mm "bind kp_enter kp_enter_switch;bind kp_ins demo_goto_1x_back;bind kp_del demo_goto_1x_forward"
alias faceit "bind kp_enter kp_enter_switch_faceit;bind kp_ins demo_goto_1x_back_faceit;bind kp_del demo_goto_1x_forward_faceit"
alias demo_goto_1x_forward_faceit "demo_goto 128 relative"
alias demo_goto_1x_back_faceit "demo_goto -128 relative"
alias demo_goto_2x_forward_faceit "demo_goto 256 relative"
alias demo_goto_2x_back_faceit "demo_goto -256 relative"
alias demo_goto_10x_forward_faceit "demo_goto 1280 relative"
alias demo_goto_10x_back_faceit "demo_goto -1280 relative"
alias demo_goto_1x_forward "demo_goto 64 relative"
alias demo_goto_1x_back "demo_goto -64 relative"
alias demo_goto_2x_forward "demo_goto 128 relative"
alias demo_goto_2x_back "demo_goto -128 relative"
alias demo_goto_10x_forward "demo_goto 640 relative"
alias demo_goto_10x_back "demo_goto -640 relative"
alias kp_enter_switch_faceit "kp_enter_switch_1_faceit"
alias kp_enter_switch_1_faceit "bind kp_del demo_goto_2x_forward_faceit;bind kp_ins demo_goto_2x_back_faceit;alias kp_enter_switch_faceit kp_enter_switch_2_faceit"
alias kp_enter_switch_2_faceit "bind kp_del demo_goto_10x_forward_faceit;bind kp_ins demo_goto_10x_back_faceit;alias kp_enter_switch_faceit kp_enter_switch_3_faceit"
alias kp_enter_switch_3_faceit "bind kp_del demo_goto_1x_forward_faceit;bind kp_ins demo_goto_1x_back_faceit;alias kp_enter_switch_faceit kp_enter_switch_1_faceit"
alias kp_enter_switch "kp_enter_switch_1"
alias kp_enter_switch_1 "bind kp_del demo_goto_2x_forward;bind kp_ins demo_goto_2x_back;alias kp_enter_switch kp_enter_switch_2"
alias kp_enter_switch_2 "bind kp_del demo_goto_10x_forward;bind kp_ins demo_goto_10x_back;alias kp_enter_switch kp_enter_switch_3"
alias kp_enter_switch_3 "bind kp_del demo_goto_1x_forward;bind kp_ins demo_goto_1x_back;alias kp_enter_switch kp_enter_switch_1"
alias pausetoggle "pausetoggle1"
alias pausetoggle1 "demo_pause;echo Demo [Paused]; alias pausetoggle pausetoggle2"
alias pausetoggle2 "demo_resume;echo Demo [Resumed]; alias pausetoggle pausetoggle1"
alias hudtoggle "hudtoggle1"
alias hudtoggle1 "cl_drawhud 0;echo cl_drawhud 0; alias hudtoggle hudtoggle2"
alias hudtoggle2 "cl_drawhud 1;echo cl_drawhud 1; alias hudtoggle hudtoggle3"
alias hudtoggle3 "cl_draw_only_deathnotices 1;echo cl_draw_only_deathnotices 1; alias hudtoggle hudtoggle4"
alias hudtoggle4 "cl_draw_only_deathnotices 0;echo cl_draw_only_deathnotices 0; alias hudtoggle hudtoggle1"
// bind "kp_leftarrow" "clear;toggle cl_draw_only_deathnotices" // Show only death notices on hud
// --- 2. Binds --- //
bind "uparrow" "pausetoggle" //Shows demoui
bind "downarrow" "kp_enter_switch" //Switch skip demos speed
bind "rightarrow" "demo_goto_1x_forward;echo Demo skipped [forward]!" //Skip demo forward
bind "leftarrow" "demo_goto_1x_back;echo Demo skipped [back]!" //
bind "INS" "toggle spec_show_xray 1 0" //X-ray on during overviewing demo
bind "HOME" "hudtoggle"
bind "PGUP" "clear;toggle mat_disable_bloom; toggle mat_postprocess_enable; sv_skyname vertigoblue_hdr; fog_enable 0; fog_override 1" // Toggles HD mode
bind "DEL" "demo_timescale 0.5;echo Timescale [0.5]"
bind "END" "demo_timescale 1;echo Timescale [1]"
bind "PGDN" "demo_timescale 5;echo Timescale [5]"
// - 3. CUSTOM MESSAGE - ///
// You may customize this section to your liking
echo "================================"
echo "--- DEMO CONFIG 1.1 LOADED ---"
echo "================================"
echo "
echo " +--------+ +--------+ +--------+
echo " | | | | | |
echo " | | | FLASH | | PAUSE |
echo " | | | | | |
echo " +------------------------------+
echo " +--------+ +--------+ +--------+
echo " | | | | | |
echo " | XRAY | | HUD | | HD |
echo " | | | | | |
echo " +------------------------------+
echo " +--------+ +--------+ +--------+
echo " | | | | | |
echo " | TIME | | TIME | | TIME |
echo " | 0.5 | | 1.0 | | 5.0 |
echo " | | | | | |
echo " +--------+ +--------+ +--------+
echo "
echo " +--------+
echo " | Show |
echo " | Demo |
echo " | UI |
echo " | |
echo " +--------+
echo " +--------+ +--------+ +--------+
echo " | Skip | | Switch | | Skip |
echo " | demo | | skip | | demo |
echo " | back | | demo | | back |
echo " | | | speed | | |
echo " +--------+ +--------+ +--------+
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment