-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise precache limit #180
Comments
You can't do that unless the client is updated as well, I guess. |
Resource type? |
Well, probabably there is a way to do it without client modification: https://forums.alliedmods.net/showthread.php?t=200826 |
@OZone998 It's unrelated to the 512 precache limit. This modules is essentially management of sv_downloadurl and unlock limit of 1280 items you can send on a client, which I think has been increased in reHLDS to 4092 (?). |
It can reduce number of sound in precache, so it could help in some way. There is an example from ZombieMod server: |
@OZone998 you can use PrecacheGeneric for sounds that are played via SendAudio/"spk"/"speak" etc, but not via EmitSound/EmitAmbientSound/SVC_SOUND/SVC_SPAWNSTATICSOUND. Also you can use PrecacheGeneric for player models. P.S. Really you can't use all resource count, because netchan is limited to 64KB and it will not be able to send SVC_RESOURCELIST with 4096 resources. |
@In-line @WPMGPRoSToTeMa @Arkshine Seek through a sound to go around this for the emitsound type? Example: we have a 10-second sound which has different samples within; say, from 0:00-0:03 ; 0:04-0:06 ; etc.. Could we somehow set a parameter for the starting point for the emit_sound? (end point is easier to work around, just emit a null sound from same ent, channel through a set_task) Linking this with .wav format cues somehow? If I observe correctly, wav file cues enable looping for instance.. |
You only pass the sound index through those related sound messages:
And there would be no way to alter engine behaviour to achive that with no client side further modifications |
Could you raise the precache limit? 512 is not enough for fun servers such as zombie plague and jailbreak...
The text was updated successfully, but these errors were encountered: