Raised This Month: $ Target: $400
 0% 

Blocking jump sounds(recent update for cs 1.6)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FreeFry
New Member
Join Date: Nov 2006
Old 05-18-2009 , 16:27   Blocking jump sounds(recent update for cs 1.6)
Reply With Quote #1

In regard of the recent update to cs 1.6(which causes jump sounds to be played even if standing still/crouching/not moving), I was thinking that it can't be that hard to block these sounds.

Unfortunately I'm not very experienced in what does what in amx, so I think I should perhaps cry for help.

Until now I've tried blocking the FM_EmitSound, FM_EmitAmbientSound calls, which blocked some sounds, but not the step/jump sounds,
I've also tried blocking FM_PlayerPreThink when the jump button is pressed, but that did nothing at all,
last I tried setting pev_flTimeStepSound to 999 every frame in a FM_PlayerPreThink hook, but this only blocked step sounds, and not the jump sounds.

I've sorta run out of ideas, and google/forum search feature has stopped shining on me.

Anyone have any ideas of how this new sound could be blocked(I'd still have to compare the velocity of the player to some constant, and only block it if it's below that. But that's another story, for now I just need to find some method of blocking the sound).

Thanks in advance

Edit:
Nvm. They patched it.

Last edited by FreeFry; 05-24-2009 at 18:18.
FreeFry is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:26.


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