RalKon Posted July 31, 2003 Share Posted July 31, 2003 I have seen a couple maps where they have different music for each room... how is this done??? Link to comment Share on other sites More sharing options...
Eldritch Posted July 31, 2003 Share Posted July 31, 2003 In MP maps, it's done with target_speakers. Link to comment Share on other sites More sharing options...
RalKon Posted July 31, 2003 Author Share Posted July 31, 2003 can target speaker use MP3's or is it .wav only?? Link to comment Share on other sites More sharing options...
Eldritch Posted July 31, 2003 Share Posted July 31, 2003 You should always use the .mp3 format to minimize filesize. You can use .wav if you want to... but why would you want to? Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 setup a target speaker to play one of my mp3's I compiled and started to load the map.... I get the following error " loop sound channel cannot use streamed MP3... files here for random access" any ideas??? Link to comment Share on other sites More sharing options...
Business_Eskimo Posted August 1, 2003 Share Posted August 1, 2003 Originally posted by Eldritch You should always use the .mp3 format to minimize filesize. You can use .wav if you want to... but why would you want to? Originally posted by RalKon " loop sound channel cannot use streamed MP3... files here for random access" That's why. Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 So your saying, it has to be in .wav?? Link to comment Share on other sites More sharing options...
Eldritch Posted August 1, 2003 Share Posted August 1, 2003 It can be an mp3, because I've used them before. The mp3 needs to be in the correct format, though. What settings is the mp3 you're trying to use? Should be at least 112 kbps and 44100 MHz Stereo. Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 have tried two different files... first one is shook me all night long - AC DC bit rate 112 kbps 44100Hz the other is energy rave 128 kbps 44100hz Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 Here is EXACTLY what I did... maybe I did something wrong I created a directory called noise and put my shook.mp3 file in it. on the 2D window in QE radiant, I right clicked, went to target, selected taget_speaker, clicked the 'n' key to bring up the entity menu, for key "noise" "value" noise\shook.mp3 that right??? Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 Oh, and I also put "looped on" if that makes any difference Link to comment Share on other sites More sharing options...
mandricard Posted August 1, 2003 Share Posted August 1, 2003 you can't loop mp3's in multiplayer, I think. Try looping off. Rich Diesal had a note on it in his tutorials, which seem to have vanished.... Link to comment Share on other sites More sharing options...
Eldritch Posted August 1, 2003 Share Posted August 1, 2003 As far as I know, you can't loop .mp3's using the loop key, but you can set a super-small delay between each firing of the speaker, so it'll appear to loop. Link to comment Share on other sites More sharing options...
RenikDelan Posted August 1, 2003 Share Posted August 1, 2003 ive also seen a case where someone has multiple songs on one mp3, and as near as I can tell, then have the target_speakers start playing from a specified point on the mp3. How is this done? Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 I know I gotta be doing something wrong, but I just cant figure out what.... I can get the wave file to work just fine.... turning off the loop did get rid of the error message when trying to put in the mp3, but I dont hear the song being played when I get into the map..... is there another command that I need to perform besides set sv_pure 0 before I devmap mymap??? Link to comment Share on other sites More sharing options...
rgoer Posted August 1, 2003 Share Posted August 1, 2003 This is a bit off-topic for this particular thread, but after reading this (and others like it) I feel compelled share my opinion on a matter somewhat related: Adding tons of custom music to your level is a real waste of time and space, as far as "bang for your buck" in the coolness factor is concerned. Music files, even with mp3 compression, are simply HUGE compared to everything else you end up putting in your pk3. Let's say you waste four megabytes on a "cool" song to put in your level--do you know how much you can add to a .bsp with four megabytes? You should use the available space to make your map better, rather than applying such a "design band-aid" as flashy music. Invest all your available space in the visuals, and you won't regret it. There are plenty of unused or underused soundfiles included in assets0.pk3--use one of those (or, hell, use ten of them) and put that space you would have wasted on "cool.mp3" to good use. Link to comment Share on other sites More sharing options...
RenikDelan Posted August 1, 2003 Share Posted August 1, 2003 I appreciate and in certain scenarios support your opinion, but seeings how I'm building a clan map by THEIR specifications, I dont have that luxury. Soooo.... getting back to my question, how would I do it? Link to comment Share on other sites More sharing options...
RalKon Posted August 1, 2003 Author Share Posted August 1, 2003 if size is a real problem, it should be possible to record the file as a .wav at radio quality (seeings how JK2 only plays it at that quality any, so I have heard) then convert it back to a mp3..... this would shrink the file atleast in half... and a 1 or 2 meg file is not all that bad... I have not done this, but it makes sense that it could be done.... strange how I can get the world spawn to play the MP3, but the target speaker refuses to.... still confused and still thinking there is something right under my nose that I am not seeing Link to comment Share on other sites More sharing options...
RenikDelan Posted August 1, 2003 Share Posted August 1, 2003 my OTHER question (in addition to the one above) is that yes, the "cool" MP3 comes in your PK3 file, but once its downloaded for the first time, that mp3 file is local, and shouldnt be loaded when connecting to a server with that map, just the BSP, correct? Link to comment Share on other sites More sharing options...
rgoer Posted August 1, 2003 Share Posted August 1, 2003 Everything in the game is local. Unless you are actually downlooading the pk3 via sv_allowdownloads, then there is nothing loaded "from the server" when you connect. Ever. Link to comment Share on other sites More sharing options...
RenikDelan Posted August 2, 2003 Share Posted August 2, 2003 ok, theres one question. Now Im still curious on how to get multiple songs onto one MP3 and have the target_speaker reference the correct point in the file to play the corrent song... Link to comment Share on other sites More sharing options...
Eldritch Posted August 2, 2003 Share Posted August 2, 2003 Originally posted by RenikDelan ok, theres one question. Now Im still curious on how to get multiple songs onto one MP3 and have the target_speaker reference the correct point in the file to play the corrent song... If that is even possible, I've no idea how to do it. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted August 3, 2003 Share Posted August 3, 2003 ive tired to put an .mp3 file in MP using the speaker thing, it doesnt work, even with mp3s from the game. Link to comment Share on other sites More sharing options...
RalKon Posted August 6, 2003 Author Share Posted August 6, 2003 Ok, I think I got part of the solution here. I sent an email to a mapper that had setup different music in each room asking him how he managed it. He said that he did it by creating a target_speaker and hooking a trigger multiple brush to it. He emphasized to make sure that I read the menus on the trigger_speaker as many over look the setup. It is also true that you cant use the looped option on a target_speaker that is playing an MP3, but I have managed to get it to work in a small test map that I have been working on. (I have yet to try this yet) but as my map is setup with teleports to get to each room, I plan to make the trigger_multiple brush the same side as the floor and only just a shave high. At the same time setting the wait key to the value of the number of seconds in the song being played. That way a person walking around should reactivate the speaker (looping is therefore should be taken care of) I am have only had one problem with doing all this and this was NOT a problem in the other map that I saw setup with different music. When I setup my mp3 to play through the target_speaker, the player can not turn the music down. By this I mean going into their own setup menus, clicking on setup, going under sound, and being able to use the music slider. Instead they have to adjust the effects slider, which is no good as the music is still blaring overtop of all the action sounds... anyone have any ideas on how to correct this??? Link to comment Share on other sites More sharing options...
lauser Posted August 7, 2003 Share Posted August 7, 2003 Yeah I figured all that stuff out for my new map. I have 2 areas with duel target_speaker music. What I originally wanted was a sort-of JUKE box. But since I now know that really is impossible I had to improvise. So here is what I did--------> I wanted 4 songs in total in my map. 2 songs at one spot and 2 at another. I also have background music added to the map. So I actually have 5 in total bringing the music files to 18mb. Wow....okay that was way too big so I deleted the other file. Now it sits at 11mb. I can deal with that. So what I did was I knew that having too many speakers makes my map lag for some strange reason so I had to make 2 MP3's into one and used this program to do so: MP3 Then I had just one big MP3 with 2 songs. So then I thought well the background music I have playing is kind of loud and I have to add lots of target_speakers to drown out the background. So I thought instead of doing that can I lower the volume on the background music? Which I did with this program: MP3 GAIN And then the volume was the correct level. You can also turn down the music in your SETTINGS menu. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.