ReGameDLL_CS icon indicating copy to clipboard operation
ReGameDLL_CS copied to clipboard

(Request) Precache bot radio sound files.

Open HRTMC opened this issue 2 years ago • 5 comments

As I stated in the title, it would be appreciated if we could get an option to precache radio sounds, just like the original CS Bot Enabler. you can even use the CS Bot Enabler and enable the option and have no issues, but you will receive a warning that "Could not patch CS Bot Enabler."

HRTMC avatar Nov 16 '22 02:11 HRTMC

I just notice the same thing. Bot radio sounds are not being precached. It would be nice to have a cvar like CS Bot Enabler to turn on or off the precache of bot radio sounds

silvanosfo avatar Nov 16 '22 23:11 silvanosfo

A setting/CVar to turn this on under CS v1.6, yes, but the problem is that there are 487 sounds in the archive, so, except for ReHLDS servers with enhanced resources limits (up to 4096 generics, vs 512 for GoldSrc), servers under legit GoldSrc could not enable this without reaching total limit (and crash the server...). But a CVar having 3 modes (0 - Disabled. 1 - Enabled only if ReHLDS is detected (automatic). 2 - Enabled in force.) will be a solution, with maybe "1" as default when "-bots" command line parameter is detected under CS v1.6.

StevenKal avatar Nov 17 '22 01:11 StevenKal

A setting/CVar to turn this on under CS v1.6, yes, but the problem is that there are 487 sounds in the archive, so, except for ReHLDS servers with enhanced resources limits (up to 4096 generics, vs 512 for GoldSrc), servers under legit GoldSrc could not enable this without reaching total limit (and crash the server...). But a CVar having 3 modes (0 - Disabled. 1 - Enabled only if ReHLDS is detected (automatic). 2 - Enabled in force.) will be a solution, with maybe "1" as default when "-bots" command line parameter is detected under CS v1.6.

or just a simple enable and disable cvar.

HRTMC avatar Nov 17 '22 02:11 HRTMC

Is possible to make an AMX plugin to do this. The server owner can decide when enable or disable it.

??

SmileYzn avatar Nov 25 '22 19:11 SmileYzn

Of course, but use "pfnPrecacheGeneric" for such, & ReHLDS...

StevenKal avatar Nov 25 '22 20:11 StevenKal