silkkmonkey Posted February 1, 2004 Share Posted February 1, 2004 Hi everybody, I am currently in the process of making a prom/nightclub themed map, with a DJ booth. Inside the DJ booth I made buttons; which I want to play different music depending on which button i press. I have seperate (non stock) mp3s i want to use and I'm not sure how to make them play. :( :( Please give like step by step instructions as I get easily confused. Thanks in advance. (hint: using GTK radiant 1.4 or whatever the official 'stable' version is) Link to comment Share on other sites More sharing options...
wedge2211 Posted February 1, 2004 Share Posted February 1, 2004 If you want a certain music file playing all the time in your map, looped, as game music, then give your worldspawn the key "music" and value "music/musicFileName.mp3" then place your mp3 file in the pk3 under the music directory. If you want the sound/music file to play only at certain times, then place it in the pk3, and make a target_speaker in-game. Give the target_speaker the key "noise" and value "music/musicFileName.mp3" as well as a key "delay" (or "wait," I forget which, check the entity window help) and a value that is longer than the sound file length, in milliseconds (1000ms = 1 second). Every time the target_speaker is triggered (by a func_button, trigger_multiple, or anything), the sound file will play, with the sound localized around the location of the target_speaker. To increase the sound volume, clone the target_speaker. Link to comment Share on other sites More sharing options...
silkkmonkey Posted February 1, 2004 Author Share Posted February 1, 2004 is there anyway to make it play over the entire map one at a time without having to put all those target_speaker entities everywhere? Link to comment Share on other sites More sharing options...
silkkmonkey Posted February 1, 2004 Author Share Posted February 1, 2004 Also, how many speakers would i need to fill out a decent size room? Link to comment Share on other sites More sharing options...
wedge2211 Posted February 1, 2004 Share Posted February 1, 2004 To make a target_speaker play over a whole level, just check the "GLOBAL" spawnflag. As for enough to fill a room...you'll have to experiment to find a volume that you like. Link to comment Share on other sites More sharing options...
silkkmonkey Posted February 2, 2004 Author Share Posted February 2, 2004 What should my triggers say? Link to comment Share on other sites More sharing options...
silkkmonkey Posted February 3, 2004 Author Share Posted February 3, 2004 *BUMP* Link to comment Share on other sites More sharing options...
silkkmonkey Posted February 4, 2004 Author Share Posted February 4, 2004 *BUMP* SOMEONE ANSWER THE QUESTION!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.