Playing MP3s

Playing MP3s

Re: Playing MP3s Posted by Med_MapGuy on Thu Jan 20th 2005 at 2:11am
Med_MapGuy
6 posts
Posted 2005-01-20 2:11am
6 posts 1 snarkmarks Registered: Jan 17th 2005 Occupation: Student Location: Philippines
I really like to know how can you play MP3s (like the Halflife songs) in the game? Do I have to use the Ambient Generic entity?
Re: Playing MP3s Posted by omegaslayer on Thu Jan 20th 2005 at 2:33am
omegaslayer
2481 posts
Posted 2005-01-20 2:33am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Yes, you play sounds with the ambient_generic, as for playing music off
the CD, there was a entity alone that did that, cant remember what it
was in HL1, nor can I find it in the HL2 ents
Re: Playing MP3s Posted by Med_MapGuy on Thu Jan 20th 2005 at 6:34am
Med_MapGuy
6 posts
Posted 2005-01-20 6:34am
6 posts 1 snarkmarks Registered: Jan 17th 2005 Occupation: Student Location: Philippines
Hmm... I did something like this:

Sound Name: music/hl2_intro.mp3

But no sound was played... what am I doing wrong? :confused:
Is it just the path that is wrong?
Re: Playing MP3s Posted by omnix32 on Thu Jan 20th 2005 at 6:43am
omnix32
14 posts
Posted 2005-01-20 6:43am
omnix32
member
14 posts 1 snarkmarks Registered: Dec 12th 2004
make a sound folder in your HL2 directory.

then make a folder in that called mp3 and put your song there.

now filter out mp3 in hammer and it will show up and play in your level.