Jump to content

Home

target_speaker


EvilCrow

Recommended Posts

I want to put music in my map so I added a target_speaker entity, made my "noise" key, and added the path to the music as the value. I compiled the map and played it, but I hear no music, and I get no error.

 

What am I doing wrong? Thanks.

Link to comment
Share on other sites

If you want the music to play in that area only, you did the right thing...but you'll have to be really close to the target_speaker to hear any music. If you want your map to have ambient music, you need to add a "music" key to your worldspawn and give it the value of the mp3 you want to play.

Link to comment
Share on other sites

What Wedge mentioned was correct; however, if you were, in fact, using target_speaker on purpose (that is, you intended for the music to only be in a certain area) and you are worried by the fact that you can't hear the music even when you are in the "right spot," so to say, then perhaps you forgot to set sv_pure to "0" before you devmapped? Unless you pak up your project into a .pk3, quake will ignore any paths/to/non-default/assets it finds in .bsp files. You can convince quake that it really should use your non-default asset paths by doing "set sv_pure 0" before you "devmap yourmap."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...