Discussion in 'Mapping Questions & Discussion' started by Gabe Noodle from Volvo, Feb 23, 2016.
I'm trying to add a custom wave file to an ambient_generic, but hammer can't find it.
Do you mean Hammer isn't packing it or it doesn't see it? All sounds must be put in the sound folder in the tf directory.
I mean hammer isn't packing it, as in the sound plays in the editor but not in game.
That's because hammer doesn't automatically pack in custom sound files when it compiles the .bsp you have to pack it in with another program. Packrat is a favorite if I remember correctly, though I've been using Map Analyst for my own maps for a while due to how easy it is.
CompilePal is the gold standard. Compiles any source engine map, allows you to mess with compile parameters, and will automatically pack your stuff.
I have already packed the sound file, but it still doesn't show up in game. And yes, i've set the outputs up correctly.
I had this problem a while back; you need to manually wipe your sound cache. I didn't think to ask whether this was a client-side issue that will continue to affect all of your users though...
Try opening your compiled map with gfcscape to make sure the sounds are in there. Perhaps your packing software glitched.
WHy do so many people suggest packing the soundfile? Isn't he saying that the file isn't playing for HIM instead for others? When the file is in the local sound folder it should work. Like Pocket said, delete your sound cache files. Alternativly you can try storing the sound in custom/derp/sounds or even save it as a VPK. That once fixed client mods that include sounds for me.
Separate names with a comma.