ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.76k stars 2k forks source link

Enable precache for overrides in scripts/mvm_level_sounds.txt #343

Closed sigsegv-mvm closed 8 years ago

sigsegv-mvm commented 8 years ago

This is a TF-specific fix, so I'm not 100% confident that you want me to submit a pull request here. But since the relevant code is actually located in the public part of the Source SDK, it made a certain amount of sense to submit the fix here. I've also emailed the TF team with a link to this pull request to make sure they're aware of it.

Based on commented-out lines in TF2's game_sounds_manifest.txt, it's clear that mvm_level_sounds.txt was originally intended to be precached; when the file was changed to be loaded as a level-specific sound script override, the precache flag was apparently forgotten.

This patch fixes several sounds which have never worked in MvM mode:

sigsegv-mvm commented 8 years ago

Looks like this was fixed in TF2's 20151028 update.

Nephyrin commented 8 years ago

Yeah, this was fixed on the TF2 side -- thanks for bringing this to our attention!