Raised This Month: $ Target: $400
 0% 

Weapon shoot sound problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 11-30-2014 , 16:12   Re: Weapon shoot sound problem
Reply With Quote #1

You can hook FM_Playback event, and modify first argument (event flags), by doing
Code:
eventFlags |= FEV_HOSTONLY;
and this will send all events to the shooter. But you need to filter events, otherwise you'll block this way smoke grenade explosion effec for exmaple.
__________________


Last edited by NiHiLaNTh; 11-30-2014 at 16:12.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 11-30-2014 , 20:54   Re: Weapon shoot sound problem
Reply With Quote #2

Quote:
Originally Posted by NiHiLaNTh View Post
You can hook FM_Playback event, and modify first argument (event flags), by doing
Code:
eventFlags |= FEV_HOSTONLY;
and this will send all events to the shooter. But you need to filter events, otherwise you'll block this way smoke grenade explosion effec for exmaple.
I do not use smokegrenade.
Anyway thank you,I'll try this and see if I can make in that way.
Krtola is offline
Send a message via Skype™ to Krtola
Reply



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


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