-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Add automatic precaching of model textures, groups and sounds #542
base: master
Are you sure you want to change the base?
Conversation
Then maybe just create a variable with the |
You're right, not sure why It did not occur to me. Any others suggestions or thoughts on it? What about the cvars? |
I think cvars should exist. There are things I intentionally don't precache because I don't need/want clients to download, like some weapon sounds. |
Missing *T.mdl results in the server crashing, missing sounds don't. Weapon sound precache or precaching sounds attached to models should have a cvar and more importantly should be opt in, not opt out. Like REHLDS. This is better suited to a plugin than a built in feature in AMXMODx. Expect zombie server owners to complain about the new amxmodx crashing their server because of too many resources, where as the old one worked fine. |
Well, we can go with upgrading |
@Arkshine it's not only for weapons. |
Then I guess Anyway, please give feedbacks, should we go with the natives way? |
Automatically precaching model sounds shouldn't be the default behavior. I think we should go with the native because it would allow to decide individually for each model unlike a cvar which would be global. |
Yeah, this should be just natives and shouldn't change any HLDS behavior |
Alright. |
Maybe we should go with both cvar (however we can add it later) and native? |
An attempt to allow automatic precaching for model textures (
*T.mdl
) / groups (*01.mdl
, etc.) and weapon sounds, similar to what does already ReHLDS.Few remarks:
ServerActivate
is to allow the modules as well.To be discussed.