[FIX] Walk button

Hi,

so i heard you guys are mad about not having walk button. The default command (+walk) doesn’t work, so i figured that it would be nice to bind some commands.

So, you need to add these comands to your config file, or put them one by one in your console.

[code]alias walk_t “walk_on”
alias walk_on “alias walk_t walk_off; sv_maxspeed 320; developer 1; echo Running enabled; developer 0”
alias walk_off “alias walk_t walk_on; sv_maxspeed 65; developer 1; echo Walking enabled; developer 0”

bind “ALT” “walk_t”[/code]

After this, you just press ALT to toggle the walking. When you’re done - press it again!

Cool, it’s working. Why didn’t the devs put this in?
It feels a bit on the slow side, so I’ll probably increase it’s speed a bit.

EDIT: There’s no footstep sounds while walking- is there a way to fix that? Is there a way to make it so the Run command overrides it?

Footsteps are heard over sv_maxspeed 100 or something. But i asume if you hear them - enemies hear them too, so there is no point in that. Also, sprint uses “+speed” and “-speed” commands, so it must be hardwritten into the engine. +walk doesn’t work somehow.

Coolness, thanks for this fix.

It might be possible to make this a proper press-and-release key, rather than a toggle, if you do something like this:

[code]alias +walk “sv_maxspeed 65”
alias -walk “sv_maxspeed 320”

bind “ALT” “+walk”[/code]

…but I can’t be assed to start up Black Mesa and test it out right now. Maybe I will later tonight.

WORKS!

This is by FAR the best solution I have seen. It works just like a walk key should.

The only problem being that it makes you reallllllly slow when you walk+crouch, but just don’t walk when you’re crouched. :slight_smile:

I found the variables “300” for running and “80” for walking are perfect.

Sticky request!

Glad to hear it. :slight_smile: There was some guesswork there based on my limited knowledge of source scripting.

Thanks for those solutions.

THANKS!!! Immersion improved even more :slight_smile:

Just a heads up:

I had to add the alias code to the autoexec.cfg to make it save after quitting.

Key bind info saved just fine on its own.

Is there a way to override that? so that footsteps are played at a lower sv_maxspeed value?

But there is no mention of where this config is…

Also Quite important to know is, what’s the default running\moving speed in the game, before we start changing it around and not knowing what to set it back too if we would want.

BUMP !!
I need walking without changing anything else so I can start to play !

Come on guys ! (No gay joke)

Just put them in the autoexec.cfg file, or enter them in the console.

I am worried, I am using these settings to be able to walk past the giant blind plants in the silo, but they still hear me, specialy when I disengage from the ladders, even with “walk key” on. I will have to use cheats to pass this section :frowning:

No I can’t JUST put them anywhere, maybe you didn’t read my question before giving me an answer ?

I’ve already told you, and everybody reading the thread, I don’t want to change any other settings from what the default IS. So I would need to know what the default running speed is first then.

Secondly in order to put anything in a config one needs to know where it is. Edit> I have found the autoexec.cfg, but still need to know the defualt value of the normal speed in order to know thats not being changed.

Will these settings stick btw ? It would be inconvenient and probably unnecessary to type them in every time the game starts. If not then is there anyway to make sure of that…?

Any answer to my actual question would be welcome.

I found that if you type help commandname
replaceing the command name with your well commmand name it will tell you what the default should be if its changed.

I tried help sv_maxspeed and it returned user cheat 450 (def)

I have found that if you set run to 320, that when you use sprint, then run again, the speed of your character moves back to default 450 after sprint. Then if you walk and run, the run is 320 as you set it. Just keep that in mind if you want your run to go slower than default.

I made myself a solution to the missing sounds for footsteps. Using AutoIt, the script I made suspends the walking for 2 milliseconds, long enough to trigger a walking sound.

Alt key triggers the script to work. Escape key terminates the script. Sleep(550) is used to control how much time there is between the sound produced for a step taken.

You can use it if you want. I made this as a solution because I found that walking with no footsteps ruins the feel of the game.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.