Using custom Sounds

Using custom Sounds

Re: Using custom Sounds Posted by nickster on Sun Nov 28th 2004 at 2:27am
nickster
22 posts
Posted 2004-11-28 2:27am
nickster
member
22 posts 2 snarkmarks Registered: Nov 22nd 2004
I can't figure out how to use custom sounds in my map. When I try to add a custom sound, hammer wont let me point it to the right folder. Instead it points me somewhere to the materials folder and a list of sound files I can't find the location of. Can you use custom sounds in HL2 yet?
Re: Using custom Sounds Posted by Nickelplate on Sun Nov 28th 2004 at 4:32am
Nickelplate
2770 posts
Posted 2004-11-28 4:32am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
To find the location of the files just get one of the filenames and search your HDD for it. Then when you've found that folder put your own custom sounds in the same place. Then when it points you to that wierd folder, you can select your own sounds.
Re: Using custom Sounds Posted by nickster on Mon Nov 29th 2004 at 12:09am
nickster
22 posts
Posted 2004-11-29 12:09am
nickster
member
22 posts 2 snarkmarks Registered: Nov 22nd 2004
Thanks, but I tried that and it can't find the files. I think steam must use some sort of encryption system for most of the files.
Re: Using custom Sounds Posted by Nickelplate on Mon Nov 29th 2004 at 1:08am
Nickelplate
2770 posts
Posted 2004-11-29 1:08am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
I bet it's looking inside one of your GCF files. They're like ZIP files that contain all of your game's files. If you can find the path that is INSIDE the GCF file, duplicate that path by making folders by the same names as those inside the file. Then place your files there. Maketh sense? so if the GCF file is in c:\valve, and inside the GCF there is a directory called sounds\elevators, then create folders in the c:\valve directory to match these so your path will be c:\valve\sounds\elevators. The problem with this is that it still won't let you browse for it. So you'll have to type in the path for your sound manually instead of browsing for it. And of course we know the path would not REALLY be "c:\valve" I've simply come up with that for the sake of simplicity.
Re: Using custom Sounds Posted by nickster on Thu Dec 2nd 2004 at 6:56am
nickster
22 posts
Posted 2004-12-02 6:56am
nickster
member
22 posts 2 snarkmarks Registered: Nov 22nd 2004
Ok I tried my best to locate the GCF files that contain the sound, but I can't seem to find them. I tried placing a wav file in all the folders that I thought might contain the sound files, but I still couldn't use it in Hammer. I thought that when the full SDK was released I might be able to find something about using custom sounds, but I can't find anything. Anybody got any ideas? I also wanted to know how to include the custom sounds with the map so if someone where to connect to my server the custom sounds would automatically download to the correct folder. Perhaps there is way to convert sounds into a GCF file that Steam and Hammer will recognize?
Re: Using custom Sounds Posted by Forceflow on Thu Dec 2nd 2004 at 7:02am
Forceflow
2420 posts
Posted 2004-12-02 7:02am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
Use GCFscape to browse your GCF's and extract files from them.
Re: Using custom Sounds Posted by nickster on Thu Dec 2nd 2004 at 8:55am
nickster
22 posts
Posted 2004-12-02 8:55am
nickster
member
22 posts 2 snarkmarks Registered: Nov 22nd 2004
Ok thanks, does it allow you to create GCF files as well? For instance, convert a wav or mp3 to a GCF file?