AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [L4D2] Sound precaching limit? Sound issues (https://forums.alliedmods.net/showthread.php?t=318675)

philipjfry 09-14-2019 08:58

[L4D2] Sound precaching limit? Sound issues
 
Hello, wondering if there is a sound precaching limit for l4d2? Read that it's 512 files apparently for most source games. Wrote this plugin which plays survivor sounds when they vocalize through the radial menu. It precaches about >= 137 wav files in total. The plugin itself is fully functional however it seems to cause some serious sound issues ( distorting/ etc) on the server when used for not long. Plugin uses 'sceneprocessor' to work.

yes i know theres probably bad checks, this was while ago.

full code:
Spoiler


And using this version of sceneprocessor plugin
Spoiler


sceneprocessor include
Spoiler


thanks

Lux 09-15-2019 02:39

Re: [L4D2] Sound precaching limit? Sound issues
 
The sound precache limit is like 20k, usually 12k~ is precached by game anyway
distorting sounds can you show video?
unless you have another plugin or something hooking sounds and changing attributes or you have some addon clientside/broken game.


All times are GMT -4. The time now is 08:23.

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