-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
// 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 !r"; // teleport to start of map | ||
bind u "say !rs"; // teleport to start of stage | ||
bind t "say !rs"; // teleport to start of map | ||
bind z "say !r"; // teleport to start of stage | ||
|
||
// saveloc (bind by default) | ||
exec surf_saveloc_on.cfg; | ||
alias saveloc_on "alias saveloc saveloc_off; exec surf_saveloc_on.cfg"; | ||
alias saveloc_off "alias saveloc saveloc_on; exec surf_saveloc_off.cfg"; | ||
alias saveloc "saveloc_off"; | ||
// toggle saveloc | ||
bind . "saveloc"; | ||
|
||
alias "hud_toggle" "hud_off" | ||
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"; | ||
bind l "hud_toggle" | ||
// 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 |