Created
June 6, 2024 07:12
-
-
Save x4fx77x4f/033da61cc982d4d6fb5f0928b16cb417 to your computer and use it in GitHub Desktop.
WIP onehanded TF2 config
This file contains hidden or 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
// Usage: | |
// 1. Save this file to "tf/cfg/x_mwm.cfg". | |
// 2. Add line "exec x_mwm" to "tf/cfg/autoexec.cfg". | |
// Scroll up to shift up a gear. | |
// Scroll down to shift down a gear. | |
// Gear range is 1 to 3. Default gear is 2. | |
// Gear 1 moves forward. | |
// Gear 2 stands still. | |
// Gear 3 moves backward. | |
// Assumes WASD. W and S behave as normal and additionally set gear to 2. | |
echo start x/mwm.cfg | |
alias x_mwm_nop | |
alias x_mwm_set_1 "+forward; bind mwheelup x_mwm_set_1; bind mwheeldown x_mwm_set_2" | |
alias x_mwm_set_2 "-forward; -back; bind mwheelup x_mwm_set_1; bind mwheeldown x_mwm_set_3" | |
alias x_mwm_set_3 "+back; bind mwheelup x_mwm_set_2; bind mwheeldown x_mwm_set_3" | |
x_mwm_set_2 | |
alias +x_mwm_forward "x_mwm_set_2; +forward" | |
alias -x_mwm_forward x_mwm_set_2 | |
alias +x_mwm_back "x_mwm_set_2; +back" | |
alias -x_mwm_back x_mwm_set_2 | |
bind w +x_mwm_forward | |
bind s +x_mwm_back | |
echo stop x/mwm.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment