• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

In Need of CS:Source Help

sirspotti

Senior member
Ok, all I want to do is be able to toggle walking/running by touching a key once. Anyone know of an easy way to do this or a good tutorial for complete n00bs?
 
In Quake you could like so:

bind shift run
alias run "+speed; bind shift walk"
alias walk "-speed; bind shift run"

I think it was like that. Put that in your config file. The commands are probably not the same for Source but then again they could be. Look at your config file or while in the game type "bind shift" or whatever key is your sprint to see what command it is.
 
Okay, running in CS:S is a hold to toggle command, and you want to convert it to a push to toggle.

First, go into console and type:

bind "THEKEYTHATTOGGLES" - write down the command it gives. It should be +something. This is key.

Create a blank text file for this, and call it running.cfg or something.
In it, put this in:

alias "movefast" "+something; bind KEY moveslow"
alias "moveslow" "-something; bind KEY movefast"
bind "KEY" "movefast"

In your CS:S directory, you should have an autoexec.cfg. In it, put the following:

exec running.cfg

This converts running into push once to move slow, push again to move fast, and will execute upon entering a game, thus ensuring it is bound to a key. However, I don't trust the autoexec.cfg, so we're going to do another change.

Open your config.cfg, and add the following line at the bottom:

bind "KEY" "movefast"

Close, run CS:S, bring down console, type in:

map "MAPNAMEHEREOMGIDONTPLAYCSSOYOUHAVETOFIGURETHISOUTYOURSELFMAN"

Once map loads, exit, and check to make sure the key bind for "movefast" is still in your config.cfg. Mark your config.cfg read-only - provided the settings in it are one's you'd like to keep for a while.

Edit: You can substitute "movefast" for "moveslow" in the bind line depending which way CS:S defaults you. i.e. if you WALK by holding the key, you can change the bind command.
 
Back
Top