AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO] Stop player footsteps (https://forums.alliedmods.net/showthread.php?t=227525)

Pyro_ 10-03-2013 00:33

[CS:GO] Stop player footsteps
 
Is it possible, and if so how; to make a player's sounds silent, while running?

Bacardi 10-03-2013 01:59

Re: [CS:GO] Stop player footsteps
 
sm_cvar sv_footsteps 0

necavi 10-03-2013 02:49

Re: [CS:GO] Stop player footsteps
 
I believe that the intent was to silence a single player's footsteps.

RedSword 10-03-2013 16:33

Re: [CS:GO] Stop player footsteps
 
You might want to look for sounds hook.

Pyro_ 10-03-2013 18:42

Re: [CS:GO] Stop player footsteps
 
Quote:

Originally Posted by RedSword (Post 2044717)
You might want to look for sounds hook.

I can't find anything on how to do this with soundhooks.

Mitchell 10-03-2013 19:12

Re: [CS:GO] Stop player footsteps
 
Quote:

Originally Posted by Pyro_ (Post 2044748)
I can't find anything on how to do this with soundhooks.

crap, I actually have some code but im not at home to paste it, but on the even player_footsetp you have to set an entity flag, I saw it in another thread, and it works for me. you just cant stop the jumping sound.

Pyro_ 10-03-2013 19:39

Re: [CS:GO] Stop player footsteps
 
Quote:

Originally Posted by Mitchell (Post 2044760)
crap, I actually have some code but im not at home to paste it, but on the even player_footsetp you have to set an entity flag, I saw it in another thread, and it works for me. you just cant stop the jumping sound.

Thanks! I'll try it!

EDIT: That method does stop footsteps, but map triggers don't work.

Pyro_ 10-07-2013 00:07

Re: [CS:GO] Stop player footsteps
 
Bump, anybody got a way to do it w/o breaking triggers?

Mitchell 10-07-2013 11:18

Re: [CS:GO] Stop player footsteps
 
Quote:

Originally Posted by Pyro_ (Post 2046075)
Bump, anybody got a way to do it w/o breaking triggers?

I might have a way to do it. using StopSound on Player_footstep.

Pyro_ 10-07-2013 17:41

Re: [CS:GO] Stop player footsteps
 
Quote:

Originally Posted by Mitchell (Post 2046257)
I might have a way to do it. using StopSound on Player_footstep.

I have attempted to use StopSound, however it doesn't stop the footstep sound.


All times are GMT -4. The time now is 14:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.