![]() |
Adding Music To Multiplayer Maps
Hi. I was wondering if there was any way to add music to custome maps I download. If it's possible can you also do it with stock maps? And say I add music to the custome map Omaha_2, and I run an Omaha 2 server will everyone else still be able to join it even though I edited the .pk3 to add music? (If that is even how you do it)
|
you can't do it. music is client driven. your server will tell one of the client's PC's to play a music track that doesn't exist on their computer.
|
Actually, it can be done. You are right about it not being heard clientside, bluebrooks. But any map can have normal ambient music added by modifiying the script to include "exec global/ambient.scr", and creating a .mus file for that map.
Of course, I would suggest asking author permissions. The problem would be if different music was wanted for different areas of the map. Since the aux music channels are trigger driven, triggers would need to be spawned into the map. But the addition of normal ambient music is definately possible. Kill Ya Later. |
Uh..that was confusing. Heh. I was just wondering if I could have a .wav or .mP3 playing just on my comp while I'm in a custome map.
|
I think you can do it. Just play your mp3 and go into your game.
|
Heh. I could do that too.
[img]http://www.dodstudios.net/uploads/uploads/crew1.jpg[/img] |
How you like my sig hihi evil:
|
I love it. I use this and the one Guarnere made for me. I switch with which ones i use.
|
Thanks happy: I'm happy that you love it.
|
I'm happier that you made it for me. lol. But seriously, thanks a lot.
happy: [img]http://www.dodstudios.net/uploads/uploads/crew1.jpg[/img] |
erm the only prob is it says Das Khalif in it!, in tiny writing
|
but good! biggrin:
|
Well, he's gotta get some credit to his name. cool:
|
adding music to the game.
Ok...first pick the mp3 you want and rename it to something very simple that you will remember such as music.mp3. I only know the code for mp3 files right now. Next take the music file and put it in your mohaa main folder. Then load up the game....when you get in open console and write
tmstart <name of song>.mp3 this should work but I don' guarantee it my clan and I use it sometimes to get us hyped up before a match. It doesn't work for all people and for some people you needent put the .mp3 in the console command so give it a try and see how it goes. |
Wish there was an edit button. Right forgot to say that when you first enter the game u must type tmstop into your console....then type tmstart <what you named the song>.mp3 sorry i forgot about that.
|
Ok, I think I get it. I'll post an example and tell me if this is right:
the mp3 is song.mp3: Example : I hit the "~" key to bring down the console. I type tmstop then: tmstart <song>.mp3 The song will start. Is that right? And say if I'm on someone elses server and I do the music thing, I'll just here the music right? |
Thats almost right....first you must put the song you want into your MOH main folder. Then name it just song...don't put the .mp3 after it, your computer should do that by itself. Then load MOH...press ~ to open console type tmstop then hit enter....then type tmstart song.mp3 without the < > that you had. That should work if not post again and I'll help you mess with things til you get it. cool:
|
Thats almost right....first you must put the song you want into your MOH main folder. Then name it just song...don't put the .mp3 after it, your computer should do that by itself. Then load MOH...press ~ to open console type tmstop then hit enter....then type tmstart song.mp3 without the < > that you had. That should work if not post again and I'll help you mess with things til you get it. cool:
|
Sorry everyone for posting twice my computer was being GAY! Again I'm sorry.
|
Hey guys, I really appreciate all your help. Thank you.
|
ruffryder9009, thanks a shitload. The music thing is workin' just fine! Thanks a lot! happy:
|
Not a problem! biggrin:
|
it didn't work for me.... i tested it on my home network.... think if someone has a firewall that might be the reason they can't hear it?
|
If what you mean by home network is that your trying to have other people here it from other computers in your house...that won't work...when you do all this your the only one who can hear it...and it must be in your Main folder.
|
i mean i host games a lot and my other computer here also plays MOH:AA and i had it join my server and listen but couldn't hear the music that was supposed to be playing
|
Yea thats what IM saying...you can only listen to the music from the computer that you put it on its a client thing...has nothing to do with the server.
|
Sad that you can put a music on a server. But i think that maybe get laggy.
|
[quote="Das Khalif":7a908]Sad that you can put a music on a server. But i think that maybe get laggy.[/quote:7a908] eek: For the 400th time it's not a server mod...you do it for yourself...no one else hears the music, and it affects no one else it's like running winamp. It causes no lag either...I use it often whiling owning on my clan's server. mwah: Right...Anyother questions just make a post c you guys later!
|
you can also type "playmp3 <file name here>.mp3, i type "playmp3 life.mp3 and it plays for me also, but again it has to be in the main folder
|
[quote=ruffryder9009]
Quote:
Damn no edit. I wanted to say that i can't put msic on server.. |
All times are GMT -6. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.