Raised This Month: $ Target: $400
 0% 

Lower the volume of gun shots and other emited sounds?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 07-05-2014 , 10:35   Lower the volume of gun shots and other emited sounds?
Reply With Quote #1

I was thinking about hooking when an entity emits a sound, blocking it and then manually re-emiting it with the same properties, only the volume changed.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 07-05-2014 , 12:45   Re: Lower the volume of gun shots and other emited sounds?
Reply With Quote #2

No-Steam = No Support !

Last edited by Freezo Begin; 07-05-2014 at 12:45.
Freezo Begin is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 07-05-2014 , 13:24   Re: Lower the volume of gun shots and other emited sounds?
Reply With Quote #3

You still cant change client-side sounds that way. (If we are talking about gunshots).

If the sound was emitted though EmitSound/EmitAmbientSound you can try hooking FM_EmitSound and resend it again with new volume.
__________________


Last edited by NiHiLaNTh; 07-05-2014 at 13:25.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 07-05-2014 , 13:31   Re: Lower the volume of gun shots and other emited sounds?
Reply With Quote #4

Quote:
Originally Posted by Freezo Begin View Post
Thanks for bumping my thread.
Quote:
Originally Posted by NiHiLaNTh View Post
You still cant change client-side sounds that way. (If we are talking about gunshots).

If the sound was emitted though EmitSound/EmitAmbientSound you can try hooking FM_EmitSound and resend it again with new volume.
Yes well that's what I meant. Catch emit_sound events, block them and re-send them manually with a lower volume.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-05-2014 , 14:03   Re: Lower the volume of gun shots and other emited sounds?
Reply With Quote #5

Quote:
Originally Posted by georgik57 View Post
Thanks for bumping my thread.

Yes well that's what I meant. Catch emit_sound events, block them and re-send them manually with a lower volume.
The problem is that gun sounds are handled client side, and are not emitted. Though, you could block client side sounds and animations(I think you have to block them both at once), and play yours. PaintBall mod does the same thing, sou you could take a peak in its code.
klippy is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 08-08-2014 , 07:09   Re: Lower the volume of gun shots and other emited sounds?
Reply With Quote #6

Quote:
Originally Posted by KliPPy View Post
The problem is that gun sounds are handled client side, and are not emitted. Though, you could block client side sounds and animations(I think you have to block them both at once), and play yours. PaintBall mod does the same thing, sou you could take a peak in its code.
will check it out. thanks.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Reply


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 21:15.


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