Using Multiple music songs -1 reply

  • 1
  • 2

Please wait...

d.s.c

Slightly cooler than a n00b

50 XP

20th December 2003

0 Uploads

35 Posts

0 Threads

#1 14 years ago

I am working on a clan map with multiple rooms. I know that there is a way to do this, i am not sure how though. How do you have a music file (song) only play in a certain room/section in your map? I want different songs to play in each room. Thanx




Tisane

Ever learning w/ Jedi Blade

50 XP

15th October 2003

0 Uploads

31 Posts

0 Threads

#2 14 years ago

Not that I'm aware of. I think someone over at another mapping forum mentioned something about using push triggers for it, and I think Raven said it couldn't be done. But then again, my memory is not what it once was, so I could be wrong. 8^) Regardless, if I'm not, using triggers to set off a different music file in each room would just explode your map in file size.

However, I used multiple songs in my map. Just a simple matter of getting a sound management program (Something like My Sound Studio, or for free - Audacity) and taking Music tracks, and cut and pasting them together.

Warning here however. It will GREATLY, GREATLY increase the file size of your map. I used 4 songs, and had to save the .mp3 with a lower quality to get the file size managable. And it was still larger than I would have liked. 1/2 the size of some maps out there, but I want my maps to be really smooth as well.

{SOS}Obrai Bane (CO)




MeusH

°•°•°•°•°•°•°•°•°

50 XP

16th November 2003

0 Uploads

3,282 Posts

0 Threads

#3 14 years ago

You can use "target/speaker" in Radiant, right click on your 2D view where you want to place an "invicible speaker" choose submenu target, then choose target/speaker When it's selected, push "N" to open an enity window. Enter keyname "noise" and value - path+filename IT MUST BE WAV!!!

Read more at http://richdiesal.jedioutcastmaps.com/tutorials/index.html

May the force be with you :D




masterjedidarkcaster

Coloniel-U.S.A.F.

50 XP

20th June 2003

0 Uploads

44 Posts

0 Threads

#4 14 years ago

I am no way and expert here in this field, but here's a thought.

See if it's plausible: What if each room had to accessed by pressing a button on the wall (i.e. the use button) and THAT action triggers a change in track once the door begins to open. Does that make sense? And to change the song back to the original or the previous song, the player would press the inside door button to exit the room, and that action will trigger the previous song to play. It's sort of the same idea of the previous/next buttons in Winamp,i guess, but in my head it makes sense.

Don't ask me HOW to do that in a map, but if someone who knows what they are doing in the mapping field can comment on if this is possible, please post it here. I am curious to see if this idea 1) makes sense, and 2) can even be done.

I hope this helps a bit.




d.s.c

Slightly cooler than a n00b

50 XP

20th December 2003

0 Uploads

35 Posts

0 Threads

#5 14 years ago

yeah thats a cool idea, but this is a multiplayer level. There would be multiple people in more than one room at a time, which would cause there to be multiple songs to play at once. Thanks anyways.




masterjedidarkcaster

Coloniel-U.S.A.F.

50 XP

20th June 2003

0 Uploads

44 Posts

0 Threads

#6 14 years ago
d.s.cyeah thats a cool idea, but this is a multiplayer level. There would be multiple people in more than one room at a time, which would cause there to be multiple songs to play at once. Thanks anyways.

But wouldnt the change of music be only on the clientside, meaning that only the client would hear a different song as opposed to the rest of them who don't press the button?

Just so you know: I am not trying to be a wiseass, just hypothesising (sp) out loud to help find a conclusion. :confused:




Guest

I didn't make it!

0 XP

 
#7 14 years ago

Just put a target_speaker in each room with the noise key set to the path to the song and set it to looped_on, it does NOT have to be a wave file, it can be MP3...but it does have to be a specific format, double check this but it's something like 22khz, 16-bit, mono - if you want it to come across as stereo you'll have to split the music into 2 mp3 files, one holding the left channel and one holding the right channel and position them at opposite sides of a room so you kind of (it's all dependant on where a player is) will get a stereo output...it's too much fuss in all fairness to really bother with - but it is possible.

To ensure you only hear one track at a time, use doors with areaportals in them to separate each area (once the door is shut you won't hear music in the other rooms); alternatively teleport people from place to place.




MeusH

°•°•°•°•°•°•°•°•°

50 XP

16th November 2003

0 Uploads

3,282 Posts

0 Threads

#8 14 years ago

Could you explain me how to do:

"To ensure you only hear one track at a time, use doors with areaportals in them to separate each area (once the door is shut you won't hear music in the other rooms)"

I'm beginer and I have a problem with music playing sometimes not only in specified room. I have doors, but music is "passing" thru them. ("Global" is OFF)




d.s.c

Slightly cooler than a n00b

50 XP

20th December 2003

0 Uploads

35 Posts

0 Threads

#9 14 years ago
masterjedidarkcasterBut wouldnt the change of music be only on the clientside, meaning that only the client would hear a different song as opposed to the rest of them who don't press the button? Just so you know: I am not trying to be a wiseass, just hypothesising (sp) out loud to help find a conclusion. :confused:

I dont think that your a wiseass. I am thankful that you are willing to share your input. I am sorry if it came across as if I thought you were a wiseass.:)




d.s.c

Slightly cooler than a n00b

50 XP

20th December 2003

0 Uploads

35 Posts

0 Threads

#10 14 years ago
WadeV1589it can be MP3...but it does have to be a specific format, double check this but it's something like 22khz, 16-bit, mono

Where would I be able to check/verify this information. Thanx :nodding:




  • 1
  • 2