[CS:GO] Silent footsteps
Hi,
Panorama update brought summary screen after match, which shows random statistics per player. I was wondering how footsteps and silent footsteps are counted, as there is a record which shows it. Any ideas how to count it? Is there anything You have to add to the OnPlayerRunCmd, like: PHP Code:
Also, I thought of making player footstep sound silent(other players can't hear your footsteps) after making 20 000 silent steps before(like achievement). I have no idea how to do it. I would appreciate any help. Thanks |
Re: [CS:GO] Silent footsteps
|
Re: [CS:GO] Silent footsteps
jump sound on client side, so you can't remove it
|
Re: [CS:GO] Silent footsteps
Quote:
He wants to detect silent footsteps, which you cannot do with AddNormalSoundHook, because there are no sounds. I think OnPlayerRunCmd is the answer by detecting if client is pressing W, A, S or D and SHIFT (IN_WALK). |
Re: [CS:GO] Silent footsteps
Thanks for all your replies.
I used AddNormalSoundHook and it worked. I didn't want to block jump or other sounds, just steps, so that was perfect for me. But I still have no idea how to count steps. I know it is possible to detect if client is holding SHIFT or any move key, but how would You know how many steps has he done? He can still hold SHIFT but, don't move. How often or when is OnPlayerRunCmd executed? Thanks in advance. |
All times are GMT -4. The time now is 16:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.