Raised This Month: $ Target: $400
 0% 

Precache 512 Smart Solutions (?)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-14-2022 , 18:20   Re: Precache 512 Smart Solutions (?)
Reply With Quote #1

Like I said, if the sounds are played via client_cmd(), you can use precache_generic(). You will need to check the .sma files and see how the sounds are used.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 05-15-2022 , 08:26   Re: Precache 512 Smart Solutions (?)
Reply With Quote #2

If i dont remember wrongly, difference between precache generic/sound is that one is used to precache .wav files and the other one is used for .mp3 files


don't remember wich one for is for wich.

But both of them add to precache limit error .

You can use oci method to remains less precaches but i suppose you use so many precaches that wont affect the end result, my advice is to only give up on some plugins that use too many models,sounds,sprites etc . Probably you should have a few useless onethat you can dispose ..
__________________
Project: Among Us

Last edited by Craxor; 05-15-2022 at 08:26.
Craxor is offline
Send a message via ICQ to Craxor
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 05-15-2022 , 20:48   Re: Precache 512 Smart Solutions (?)
Reply With Quote #3

Quote:
Originally Posted by Craxor View Post
If i dont remember wrongly, difference between precache generic/sound is that one is used to precache .wav files and the other one is used for .mp3 files


don't remember wich one for is for wich.

But both of them add to precache limit error .

You can use oci method to remains less precaches but i suppose you use so many precaches that wont affect the end result, my advice is to only give up on some plugins that use too many models,sounds,sprites etc . Probably you should have a few useless onethat you can dispose ..
precache_generic does not count toward precache limit 512, that why so many people try to find a way to precache model though this method.
For sound, unless I have to emit it via emit_sound, I usually used precache_generic which included .mp3
some weapon have their sound included in the model, which can be used for precache_generic instead of precache_sound
__________________
My plugin:
Celena Luna is offline
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 00:19.


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