Jump to content

Home

Music question


inlacrimas

Recommended Posts

I'm trying to add music to my map, but I can't get it to work!

I create a target_speaker, make it global and write the path to the mp3-file in the assets0, but when I start the map, it says it can't find it.

Is this the correct way to add music, or how should one do it?

Plz help!

Link to comment
Share on other sites

Okay, here is what I did to get my music to work inside the level that I'm creating:

 

Step 1: Create a folder inside your base folder and call it "music"

Step 2: Put your music file in here (duh)

Step 3: Inside the editor open your entities with letter "n"

Step 4: Click on "worldspawn"

Step 5: For your "Key" enter the word "music"

Step 6: For your "Value" enter the path "music/songname.mp3"

Link to comment
Share on other sites

Ok, I think I found the reason: In MP there is constant music, while in SP there isn't. So if you really want to play music in your map you'll have to copy the music-file to the sound-directory. As far as I have understood it this should make the difference. If there is still a problem you may even need to convert it back into a wav. (The infos about the target_speaker only talk about .wav files, so I don't know for sure...) :(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...