How to automatically get the sounds a map precaches
Hey, how can i get the sounds a map precaches ?
|
Re: How to automatically get the sounds a map precaches
I don't think this is possible. What you can do is hook FM_PrecacheSound and keep track of the precached files. Then, switch through the maps on the server and exclude all files from the list but the ones that were precached in all maps. You'll end up with a "whitelist" of files that are probably used by the game. Now check if the sound being precached is in the list, if it's not, it's probably being precached by the map.
|
Re: How to automatically get the sounds a map precaches
You can use this for reHLDS ( defaultly, reapi ): https://github.com/ShadowsAdi/PrecacheList
or wait for this PRs to get approved: https://github.com/dreamstalker/rehlds/pull/903 https://github.com/s1lentq/reapi/pull/249 |
All times are GMT -4. The time now is 20:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.