This article contains all of my .cfg
files that I use when playing CSGO Surf
You’ll need to write this into a file in the “cfg” directory of your CSGO installation.
# In most cases this is something like:
STEAM_HOME="$HOME/.local/share/Steam"
# In my case, I use a shared partition to store my steam games, so for me its:
STEAM_HOME="/mnt/X/SteamLibrary"
After setting the $STEAM_HOME
variable in your shell, you can use the following command to write the config file.
# Now, you can
vim "$STEAM_HOME/steamapps/common/Counter-Strike Global Offensive/csgo/cfg/surf.cfg"
I load this file when playing surf on public online servers (e.g. Surf Heaven AU)
see my toggle keybind article for an explanation of how the CFG toggle keybind works!
surf_online.cfg
// macros ---------------------------------------
// saveloc (bind by default)
exec surf_saveloc_on.cfg;
alias saveloc_on "exec surf_saveloc_on.cfg; alias saveloc_toggle saveloc_off";
alias saveloc_off "exec surf_saveloc_off.cfg; alias saveloc_toggle saveloc_on";
alias saveloc_toggle "saveloc_off";
// hud visibility (on by default)
alias hud_off "cl_draw_only_deathnotices 1; alias hud_toggle hud_on";
alias hud_on "cl_draw_only_deathnotices 0; alias hud_toggle hud_off";
alias hud_toggle "hud_off"
// keybinds -------------------------------------
// turnbinds
bind mouse1 +left; // turn left with left mouse click
bind mouse2 +right; // turn right with right mouse click
// stage teleports
bind t "say !rs"; // teleport to start of map
bind z "say !r"; // teleport to start of stage
// toggles
bind . "saveloc_toggle"; // toggle saveloc
bind l "hud_toggle" // toggle hud visibility
// info/debug commands
bind 5 "say !tier" // show current map info
bind 6 "say !pb" // show personal best time
// map voting
bind , "say !nominate" // nominate next map
bind h "say /rtv" // trigger vote for next map
// force window to 1440p resolution
mat_setvideomode 2560 1440 1
surf_saveloc_on.cfg
// This file contains all SurfTimer saveloc keybinds
// set teleport location, play beep sound
bind q "sm_saveloc ; playvol buttons\blip1 0.5";
// teleport to location
bind e "sm_tele";
bind mwheeldown "sm_tele";
// change to previous/next teleport location
bind 1 "sm_teleprev";
bind p "sm_teleprev";
bind 2 "sm_telenext";
// enable back arrow key
bind s +back;
say "saveloc enabled";
surf_saveloc_off.cfg
// This file _disables_ all SurfTimer saveloc keybinds
// set teleport location
unbind q;
// teleport to location
unbind e;
unbind mwheeldown;
// change to previous/next teleport location
unbind 1;
unbind p;
unbind 2;
// disable back arrow key
unbind s;
say "saveloc disabled";