Jump to content

Home

Music question


inlacrimas

Recommended Posts

Posted

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!

Posted

I don't know in the map thing but to make sure it works dopn't you put the music in the pk3 file in a folder called music and the map in a map folder all zipped in the pk3 zipped folder???

Posted

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"

Posted

what you could do is eaxctly what davijade said, but then extract the mp3 file music file you are after from the assets0.pk3 file, and place it in the music folder, I think this should work

 

Mark T12

Posted

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...) :(

Posted
Originally posted by inlacrimas

There is no thing as a "target_play_music" :)

 

Err... yes there is... click right button to bring up the entity menu, go to "target" and in the target menu, should be "target_play_music"...

Archived

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

×
×
  • Create New...