![]() |
Can i do this........
Is it possible to put, say, a mp3 file in the music folder and play it in the server? I was told to come to the mod section because you guys would know what to do for this one. I want to play something like Mudvayne. Just because it sounds like good shooting music. So, anyone know how? I'd much apreciate it?
|
I meant to put a period at the end of the last sentence. But I couldn't stop it in time. SO NO FLAMMING!!! lol
|
i am not sure if this is possible. i think each client would have to have it even if you got it play play automatically. could set music as map ambience, lots of work though. and don't be afraid if innoxx comes up to you here swearing like he's all that. don't be afraid....
|
Oh I've had a enough of that guy anyways.
|
Well then does anyone know how to put music in as ambience.
|
Why would I swear at him?
He seems polite and respectable. It's people like Newt, Ryan and Snipedurazz that annoy me with that constant flaming. I never insult people unless I'm provoked. Anywho, I think there's a script out there that allows you to play MP3, but the only thing is the client will have to have those MP3's too. |
ok thanks
|
Quote:
|
That's provoked according to my standards. Besides, after Sniped and Ryan are gone, I think I'm gonna be more lax.
|
Quote:
|
Well what's up with Strik0r? He attacks anyone he can right and left.
|
Quote:
|
Oh yeah him, he hates religion with a passion. If I were you I wouldn't mention anything about god or Jesus around again.
|
Quote:
i hate n00b, and people. |
yeah i noticed. That's good to keep in mind.
|
Just how much provoking do you need?
http://www.alliedassault.com/phpBB2/vie ... p?t=165011 http://www.alliedassault.com/phpBB2/vie ... p?t=165183 asshat |
He spammed his mod at least 6 times in one day. End of discussion. I hate spammers with a passion.
|
Also, believe it or not. All this flaming will come into play later. Stick around you'll see. I'm like god, I work in very mysterous ways.
|
well, yes you can change the backround music of a map, i have asked this before, but i dont know how to make it server side cry:
follow this link [url:2879c]http://www.alliedassault.com/phpBB2/viewtopic.php?p=430287#430287[/url:2879c] or It is possible. Open \main\pak0.pk3\music\ (I use WinRAR). You will find .mus files there. You can open them with notepad, to find out what files is being played in which DM map. The files the .mus file is referring to are located in \main\sound\amb_stereo\. All you have to do is change the filename of your .mp3 you want to be played as background music into the filename the .mus file is referring to and copy it to the \main\sound\amb_stereo folder. I suggest you backup the original files. You can also try to edit the .mus files, but don't save them in the original pak0.pk3 file. Extract the files you want to edit, including the folder structure (in this case, extract all mohdmx.mus files and put them in a 'music' folder; WinRAR does this for you by default). Edit the .mus files, save them, and compress the 'music' folder to blablabla.zip. Rename the .zip to user_custom_music.pk3 (can be anything, but make sure the filename starts with a letter after 'p'; .pk3's are loaded in alphabetical order) and put them in your \main. If you did something wrong, edit the .mus again, or remove it from your \main. Good luck. hope this helps |
good job neural dude
yeah lets ban me for sticking up for the new guys angel: |
Thanks neural. Atleast someone is sticking to the topic.
|
this might help, but if its a custom pk3, not one that came with the game, and i cant remember hearing any mudvayne in the game, then the clients need the sound to hear it. i used tmstartloop in my mine map, and jv_map wrote all the rest of the thread, to get it to play from the start of the round:
bgfx: while(1) { for(local.i = 1; local.i <= $player.size; local.i++) { local.player = $player[local.i] if(local.player.checked != 1) { local.player stufftext "tmstartloop sound/amb_stereo/Amb_M6_BunkerInt2.mp3" local.player.checked = 1 } } wait 1 } end change "tmstartloop sound/amb_stereo/Amb_M6_BunkerInt2.mp3" to the path of the mp3, and write 'thread bgfx' in prespawn (in the maps scr). so you could put the song in main/sound/music, then change that line to load the sound from there. you dont need any .mus or ubersound aliases either for this. if the sounds there, itll play. that should work, aslong as the clients have the mp3 |
You can play an mp3 without a script.
1. Place the .mp3 on your HardDrive. Somewhere simple, say on the C: root. 2. Go ingame and open the console. Then type playmp3 C:\mymusic.mp3 3. To stop the mp3, type stopmp3 *replace mymusic.mp3 with the name of the .mp3 file |
Ok, thanks guys. Well if there is another way, put them in here if anyone wants them for future reference.
|
All times are GMT -6. The time now is 12:12 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.