Raised This Month: $ Target: $400
 0% 

Solved Glitched Audio


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-17-2018 , 08:47   Re: Glitched Audio
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
1. Show g_iSounds values.
2. Most likely because you set the entity to think each 0.01 seconds and you are always emitting the sound, without ever letting it play. You need to sync the entity think to the sound duration. For example if sound duration is 1 second then the entity should think each 1.0 seconds to let the sound play.
1)
PHP Code:
PARACHUTE_DEPLOY_SOUND CS_BattleRoyale_Sounds/Parachute_Deploy.wav
LANDING_SOUND 
CS_BattleRoyale_Sounds/Landing.wav
AIRDROP_APPEAR_SOUND 
CS_BattleRoyale_Sounds/AirDrop_Appear.wav
AIRDROP_LAND_SOUND 
CS_BattleRoyale_Sounds/AirDrop_Landing.wav 
2) Doesn't FL_ONGROUND get called only when entity/player hits the ground? So basically just once? I think it does. My entity doesn't jump around for it to get called more than once.
__________________
edon1337 is offline
 



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 12:40.


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