Failed to load sound, file probably missing from disk/repository

Moronmaster

L1: Registered
Sep 28, 2011
16
3
I decided to start mapping again after a long break. I used to work a lot with Hammer before the Steampipe update. However, I only just recently ran into a problem with the custom sounds I'm using in the map.
It's two ambient/music files that I implemented using ambient_generic. I did everything right, set all the flags and volumes and such. But when I boot up the game, nothing.
I tried switching the sound file to something from stock (the shop music from MvM), which worked fine. The sound previews just fine inside Hammer.
I opened up the console, which contained this:

Code:
Team Fortress
Map: dr_powerplant
Players: 1 / 24
Build: 1837403
Server Number: 7


Attemped to precache unknown particle system "fire01_heatwaver"!
The server is using sv_pure 0.  (Enforcing consistency for select files only)
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Moronmaster connected
Compact freed 688128 bytes
Redownloading all lightmaps
Connection to game coordinator established.
Current item schema is up-to-date with version 3FDC2EF4.
tf_server_identity_account_id not set; not logging into registered account
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "bad_architecture.wav", file probably missing from disk/repository
Can't change fps_max when playing, disconnect from the server or switch team to spectators

Code:
Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
Failed to load sound "bad_architecture.wav", file probably missing from disk/repository

This is most likely what's causing it, but I've searched high and low for a fix, all of which turned up no good.
Help would be greatly appreciated.
 

colacan

L5: Dapper Member
Apr 14, 2012
235
85
It could be an issue with the sound cache file. That was the case when I had the same error in L4D2, rebuilding the soundcache worked. If I'm right, the tf/custom add-on folder builds the cache automatically.
 

colacan

L5: Dapper Member
Apr 14, 2012
235
85
Well, whenever I install anything in the tf/custom folder, after running the game once, a soundcache file pops up in the same folder. So try to see if it makes one automatically when you put the sounds in there.
 

Moronmaster

L1: Registered
Sep 28, 2011
16
3
The sounds are both in "tf/custom/my_custom_stuff/sound" as well as "tf/sound", to no avail.

I tried copying over the .cache file from the custom directory to "tf/sound", I even set it as Read-Only. Same results. Dang it.