Half-Life 2

Half-Life 2

View Stats:
ZaiOn Dec 6, 2022 @ 4:35pm
Walk / Crouch / Sprint speed and toggle
I make this post either for when i want to play the game again or for other people to use it as they see fit.

The idea was to create an "autoexec.cfg" where you could edit the mentioned settings until you feel comfortable with it.

hl2_walkspeed 100 // This is the walking speed // default = 150 hl2_normspeed 200 // This is the normal/trot speed // default = 190 hl2_sprintspeed 320 // This is the sprint speed // default = 320 bind CTRL toggle_duck // Delete this if you don't want your crouch to be toggleable // Toggle walk // Delete this block if you don't want your walk to be toggleable alias "toggle_walk" "walk_on" alias "walk_on" "+walk; alias toggle_walk walk_off" alias "walk_off" "-walk; alias toggle_walk walk_on" bind "ALT" "toggle_walk"

In case of wanting your sprinting to be toggleable you would need to add to the autoexec:

alias "toggle_sprint" "sprint_on" alias "sprint_on" "+speed; alias toggle_sprint sprint_off" alias "sprint_off" "-speed; alias toggle_sprint sprint_on" bind "SHIFT" "toggle_sprint"
Date Posted: Dec 6, 2022 @ 4:35pm
Posts: 0