Fully silencing user.
I am trying to silence every single action that the user is responsible to. From grenades, to knife, to planting bomb, to the beep of bomb, to firearm sounds, footsteps and jump noise. How do I do it?
|
Re: Fully silencing user.
Hook FM_EmitSound, check if sound is equal to the one you want to block, return FMRES_SUPERCEDE.
I can do it for you if you find the sound names. For footsteps, you can use set_user_footsteps() from fun module This thread is similar to yours https://forums.alliedmods.net/showthread.php?t=122994 |
Re: Fully silencing user.
Quote:
I actually wish to fully silence the user. making it seem that if he has SOLID_NOT flag and no weapons, it is impossible to others to know he exists ( while they are alive ) |
Re: Fully silencing user.
Volume 0.0
|
Re: Fully silencing user.
Quote:
|
Re: Fully silencing user.
https://forums.alliedmods.net/showthread.php?t=185220 for jump.
For bomb plant and such you can't just hook EmitSound and block it. Trying to block all possible sounds does not look like a good ideea. What are you trying to do? |
Re: Fully silencing user.
Quote:
Edit: Yes. mp_footsteps 0 and force all players that jump successfully do the jump sound. Do you know how to mimic the engine sounds of ladders, jumping and walking? |
Re: Fully silencing user.
What are you trying to do? Stop the xy problem.
|
Re: Fully silencing user.
Quote:
|
Re: Fully silencing user.
PHP Code:
|
| All times are GMT -4. The time now is 17:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.