PDA

View Full Version : MortalKombat music


~*H0ly_sHat*~
06-07-2002, 01:45 PM
i downloaded the Mortal Kombat.pk3 to replace the normal duel music... but i only get to hear it frm the menu of the multiplayer.... how do i play the music while i play sp or mp?.... someone pls help

King Jezuz Pie
06-07-2002, 02:22 PM
You will hear this music when you start a private duel on a mp server with duels enabled. (Not on a pure duel server though)

~*H0ly_sHat*~
06-07-2002, 02:57 PM
what do u mean by 'private duel'? i dun understand that part...


so there's no way which i can play that music while in sp mode?

King Jezuz Pie
06-07-2002, 04:04 PM
errrm...no... :D

You can start a duel in ffa. Then only your opponet is able to hurt you. But I guess you would know that if you would play mp :D

Samuel Dravis
06-08-2002, 12:49 AM
actually, you can.
in sp, type in:
bind x music music/songtitlehere
or just:
music music/songtitlehere
note: do NOT put on the file type (.mp3)
this works for any song in a pk3 file.

~*H0ly_sHat*~
06-08-2002, 02:46 AM
ok!!! thanks a million!!!
i'll go test it out now!:D

~*H0ly_sHat*~
06-08-2002, 03:29 AM
i tried both commands and this always comes out
<< Unable to find music "music/mortalkombat.pk3" as explicit track/dynamic music entry! >>

but if i dont put down the '.pk3' , it turns out that it cant find mortalkombat.mp3....

:( ..... starting to give up already....

King Jezuz Pie
06-08-2002, 08:08 AM
Well I think it does not work because you tried to bind the key to mortalkombat.mp3. What about binding a key to music/duel.mp3
I guess that should work :D

Samuel Dravis
06-08-2002, 11:52 AM
to make music work do this:
1)create a new folder in C.
2)name it music (lowercase)
3)place all the music files in there that you want.
4) compress the folder 'music' into a pk3
5)move the pk3 to your gamedata/base folder.
6) you should be able to use the music files now with the thing i showed before.
7) if you want, you can use this mod i made to select music. HOWEVER... you must edit it to your music titles.
to edit them properly, you have to change the following properties. here is a test segment to show how

set music_change_05 "music music/d2_04; prv_music vstr music_change_04; echo music_change; set music_change vstr music_change_06"

you can change:
the 'music music/songtitlehere
the 'echo towhateveryouwantitosay'

things you can't change:
everything not included above

okay, save everything from here to
"set prv_music vstr music_change_21"
as a .cfg file in you base dir


//THIS IS MUSIC SWITCHER START
// Default Config
seta forcepowers "6-2-030030300000032330"
bind a "+moveleft"
bind c "+movedown"
bind d "+moveright"
bind f "+useforce"
bind mouse1 "+attack"
bind mouse2 "+altattack"
bind mouse3 "saberattackcycle"
bind mwheeldown "weapnext"
bind mwheelup "weapprev"
bind s "+back"
bind space "+moveup"
bind w "+forward"
bind x "forcenext"
bind z "forceprev"
bind u "vstr music_change"
// COMMAND SET
//cycles 1-21
set music_change_00 "music music/imperial_march_rage_mix; prv_music vstr music_change_21; echo music_change; set music_change vstr music_change_01"
set music_change_01 "music music/imp_march_leviathan_mix; prv_music vstr music_change_00; echo music_change; set music_change vstr music_change_02"
set music_change_02 "music music/conan; prv_music vstr music_change_01; echo music_change; set music_change vstr music_change_03"
set music_change_03 "music music/d2_02; prv_music vstr music_change_02; echo music_change; set music_change vstr music_change_04"
set music_change_04 "music music/d2_03; prv_music vstr music_change_03; echo music_change; set music_change vstr music_change_05"
set music_change_05 "music music/d2_04; prv_music vstr music_change_04; echo music_change; set music_change vstr music_change_06"
set music_change_06 "music music/d2_05; prv_music vstr music_change_05; echo music_change; set music_change vstr music_change_07"
set music_change_07 "music music/d2_06; prv_music vstr music_change_06; echo music_change; set music_change vstr music_change_08"
set music_change_08 "music music/d2_07; prv_music vstr music_change_07; echo music_change; set music_change vstr music_change_09"
set music_change_09 "music music/DESCENT_3__Bread_and_W; prv_music vstr music_change_08; echo music_change; set music_change vstr music_change_10"
set music_change_10 "music music/DESCENT_3__Contributio; prv_music vstr music_change_09; echo music_change; set music_change vstr music_change_11"
set music_change_11 "music music/DESCENT_3__Origin_Zero; prv_music vstr music_change_10; echo music_change; set music_change vstr music_change_12"
set music_change_12 "music music/DESCENT_3__Proving_Gro; prv_music vstr music_change_11; echo music_change; set music_change vstr music_change_13"
set music_change_13 "music music/DESCENT_3__PTMC_HQ; prv_music vstr music_change_12; echo music_change; set music_change vstr music_change_14"
set music_change_14 "music music/DESCENT_3__Retribution; prv_music vstr music_change_13; echo music_change; set music_change vstr music_change_15"
set music_change_15 "music music/DESCENT_3__Shotgun; prv_music vstr music_change_14; echo music_change; set music_change vstr music_change_16"
set music_change_16 "music music/DESCENT_3__Top_Hush; prv_music vstr music_change_15; echo music_change; set music_change vstr music_change_17"
set music_change_17 "music music/DESCENT_3__Evi; prv_music vstr music_change_16; echo music_change; set music_change vstr music_change_18"
set music_change_18 "music music/DESCENT_3__Off; prv_music vstr music_change_17; echo music_change!; set music_change vstr music_change_19"
set music_change_19 "music music/DESCENT_MERCENARY__Fai; prv_music vstr music_change_18; echo music_change; set music_change vstr music_change_20"
set music_change_20 "music music/DESCENT_MERCENARY__Pin; prv_music vstr music_change_19; echo music_change; set music_change vstr music_change_21"
set music_change_21 "music music/DESCENT_MERCENARY__Res; prv_music vstr music_change_20; echo music_change; set music_change vstr music_change_00"

echo "Samuel Dravis's Music Switcher v1.0"
echo "Thank you for using Music Switcher. Be sure to check ^3http://www.lucasforums.com/showthread.php?s=&postid=597283#post597283^7 for updates. There is no support for this config, so don't try bother me!"

//set assignments
set music_change vstr music_change_00
set prv_music vstr music_change_21


this is already bound to u when you exec it.
put in exec music_change into the console for this to work.
to bind it to another key, enter
bind x vstr music_change

~*H0ly_sHat*~
06-08-2002, 12:39 PM
erm... i am not good at computers, so how do i compress it to .pk3 extension?

Samuel Dravis
06-08-2002, 12:50 PM
you create a new .ZIP file with whatever you have and compress the directory into it.
then change the .ZIP extension to .PK3 and put it in /base

~*H0ly_sHat*~
06-08-2002, 01:59 PM
Originally posted by Samuel Dravis
you create a new .ZIP file with whatever you have and compress the directory into it.
then change the .ZIP extension to .PK3 and put it in /base

ok, i have create the zip file... (darn) now the next problem with me is how to change the extension....:(

*geez Samuel, thanks for being so patient with me! :)

Samuel Dravis
06-08-2002, 06:09 PM
when you see the zip in explorer it looks like this:

nameoffile.zip

now, double click SLOWLY on the file name and it will be availible for editing.

just change it to :

nameoffile.pk3

OR you can rightclick on the file and windows will display a menu. on the menu, select Rename. then change it to the above extension.

root
06-08-2002, 11:06 PM
set music_change_00 "music music/imperial_march_rage_mix; prv_music vstr music_change_52; echo music_change; set music_change vstr music_change_01"
set music_change_01 "music music/imp_march_leviathan_mix; prv_music vstr music_change_00; echo music_change; set music_change vstr music_change_02"
set music_change_02 "music music/conan; prv_music vstr music_change_01; echo music_change; set music_change vstr music_change_03"
set music_change_03 "music music/d2_02; prv_music vstr music_change_02; echo music_change; set music_change vstr music_change_04"
set music_change_04 "music music/d2_03; prv_music vstr music_change_03; echo music_change; set music_change vstr music_change_05"
set music_change_05 "music music/d2_04; prv_music vstr music_change_04; echo music_change; set music_change vstr music_change_06"
set music_change_06 "music music/d2_05; prv_music vstr music_change_05; echo music_change; set music_change vstr music_change_07"
set music_change_07 "music music/d2_06; prv_music vstr music_change_06; echo music_change; set music_change vstr music_change_08"
set music_change_08 "music music/d2_07; prv_music vstr music_change_07; echo music_change; set music_change vstr music_change_09"
set music_change_09 "music music/DESCENT_3__Bread_and_W; prv_music vstr music_change_08; echo music_change; set music_change vstr music_change_10"
set music_change_10 "music music/DESCENT_3__Contributio; prv_music vstr music_change_09; echo music_change; set music_change vstr music_change_11"
set music_change_11 "music music/DESCENT_3__Origin_Zero; prv_music vstr music_change_10; echo music_change; set music_change vstr music_change_12"
set music_change_12 "music music/DESCENT_3__Proving_Gro; prv_music vstr music_change_11; echo music_change; set music_change vstr music_change_13"
set music_change_13 "music music/DESCENT_3__PTMC_HQ; prv_music vstr music_change_12; echo music_change; set music_change vstr music_change_14"
set music_change_14 "music music/DESCENT_3__Retribution; prv_music vstr music_change_13; echo music_change; set music_change vstr music_change_15"
set music_change_15 "music music/DESCENT_3__Shotgun; prv_music vstr music_change_14; echo music_change; set music_change vstr music_change_16"
set music_change_16 "music music/DESCENT_3__Top_Hush; prv_music vstr music_change_15; echo music_change; set music_change vstr music_change_17"
set music_change_17 "music music/DESCENT_3__Evi; prv_music vstr music_change_16; echo music_change; set music_change vstr music_change_18"
set music_change_18 "music music/DESCENT_3__Off; prv_music vstr music_change_17; echo music_change!; set music_change vstr music_change_19"
set music_change_19 "music music/DESCENT_MERCENARY__Fai; prv_music vstr music_change_18; echo music_change; set music_change vstr music_change_20"
set music_change_20 "music music/DESCENT_MERCENARY__Pin; prv_music vstr music_change_19; echo music_change; set music_change vstr music_change_21"
set music_change_21 "music music/DESCENT_MERCENARY__Res; prv_music vstr music_change_20; echo music_change; set music_change vstr music_change_00"

And how would I edit this so I can add my own music? Because straight off the bat, I don't know what the hell all that means...

Samuel Dravis
06-09-2002, 12:05 AM
where it says:

set music_change_00 "music music/imperial_march_rage_mix; prv_music vstr music_change_52; echo music_change; set music_change vstr music_change_01"

change the
'imperial_march_rage_mix' to the name of your track. do the same to all the rest.

also, i forgot to edit my original, so everyone who has it already needs to change :

set music_change_00 "music music/imperial_march_rage_mix; prv_music vstr music_change_52; echo music_change; set music_change vstr music_change_01"

TO:
set music_change_00 "music music/imperial_march_rage_mix; prv_music vstr music_change_21; echo music_change; set music_change vstr music_change_01"

~*H0ly_sHat*~
06-09-2002, 02:40 AM
Originally posted by Samuel Dravis
when you see the zip in explorer it looks like this:

nameoffile.zip

now, double click SLOWLY on the file name and it will be availible for editing.

just change it to :

nameoffile.pk3

OR you can rightclick on the file and windows will display a menu. on the menu, select Rename. then change it to the above extension.

I did that and when i right click to see its properties, it says WinZip File and opens with WinZip Executable.... is this suppose to be like this even after i changed the name extension?
(i still cant play the music... does the format of the music file matters? like .pk3 or .mp3?)

Samuel Dravis
06-10-2002, 03:23 AM
sorry i didn't post before; i was really busy this sunday.

anyway...
yes, it does have to be a mp3. jk2 seems only to use mp3s & wavs. (mp3's mostly for player sounds and music, wav's for SFXs.)

i am also going to be putting a pk3 about this on the web to be downloaded, so watch for later posts.

btw, is the music file inside of mortalkombat.pk3 named kombat.mp3? i got it when i downloaded the ladder map (EXELLENT)

i might put that into the pk3, so tell me or
i'll just put in a blank one.

Samuel Dravis
06-10-2002, 04:03 AM
they're up!

test file w/o mk sound:
testmp3play (http://www.testmp3play.pk3)
(6kb)

test file WITH mk sound:
testmp3mk (http://www.testmp3playmk.pk3)
(624kb)

just put these in you gamedata/base dir.
to play the files:

for the one w/o:
open the console.
type:
music music/alarm2music

for the one with:
open the console.
type:
music music/kombat

you can also put them in the music_change.cfg.

replace 'imperial_march_rage_mix' or whatever line you want(just put it in the same section as that) with 'kombat' and it should play.


evidence that this mod really does work (i think you need to see this to keep hope up)

screenshotevi (http:///shot0160.jpg)
(291kb)

~*H0ly_sHat*~
06-10-2002, 12:32 PM
Originally posted by Samuel Dravis
sorry i didn't post before; i was really busy this sunday.


>It's alright~ i'm just glad that u helps me out so far~:D Thanks!

Originally posted by Samuel Dravis
btw, is the music file inside of mortalkombat.pk3 named kombat.mp3? i got it when i downloaded the ladder map (EXELLENT)



>how do i see the file inside mortalkombat.pk3?


And thanks for the two sample files u upload here! the second one rocks!!!~
Its strange however that i can play your files with no problems whereas the mortalkombat.pk3 i downloaded gave me so much problems!

~*H0ly_sHat*~
06-10-2002, 12:41 PM
i just notice something usual,.... to change the extension to .pk3, all i have to do is just rename it to , example: music.pk3 , right? and while i was looking through its properties, the file name is actually ' music.pk3.zip '
.... hmm.... another thing that i'm at a loss....:(

Samuel Dravis
06-10-2002, 12:52 PM
to see inside a pk3, just open it up with whatever zip editor you have. i use PKZIP and QuickZip, but quickzip seems better for modding than pkzip.

to get quickzip, go here (http://quickzip.ifroggy.com/)

when you make your own, you need to make sure to compress the FOLDER, not the individual file. so, if i had an mp3 named kombat.mp3, i would compress it like this:

have the files like this:
C:\music\kombat.mp3
so under C we make a folder named music (lowercase) and we put our mp3 in it.

(if you have too many folders for jk2 to sort through, it won't load it)

select 'new' or 'create new' ect. in your zip editor.

choose a name for your file. if it lets you pick the extension too then set that as 'pk3'.

now, add the folder C:\music\ to the archive.

compress it.

if it didn't let you change the extension before, change it now to '.pk3'

put it in gamedata/base

you're finished! now all you need to do to run it ingame is to type in:
music music/nameofmp3
or use my selector.

did you see my pic? it at least seems to work properly.

make sure that the pk3 is named yourname.pk3. don't let it put the .zip on there.

also, i just got a new IM:
Samuel Dravis
feel free to IM me.

~*H0ly_sHat*~
06-11-2002, 04:19 AM
ahh.. now i know why i cant change the extension, its because i used WinZip... which doesnt give me the option to change the ext.
or even see whats in a .pk3 file

ok ... so i downloaded QuickZip and now i can see the contents of the .pk3 files and the mortalkombat.pk3 contains duel.mp3

that was the good news....

now the bad... i created a .pk3 file with one mp3 to test, and left it in the gamedata/base dir.~ clicked the icon to start sp mode and this message came up

" Error : filename length > MAX_QPATH ( strlen (Documents and settings / ..... ) "

argh!!!!! why oh why?!? why me!!??!

~*H0ly_sHat*~
06-11-2002, 04:46 AM
oh oh~ nvr mind the previous post.... i figured out that it was something wrong with the path name....~ changed it and and now i can play the mp3s!!!!! YAYY!!!!!!:D

but........ *sigh*... the music is playing at hyper-speed!! makes my imperial march sound like some chipmunk's theme!!!
how do i slow it down? and why is it playing so fast?

Samuel Dravis
06-11-2002, 11:34 AM
i found another music player for jk2, however it does not work in sp. you can get it here (http://www.ddc.net/btoups/jojukebox11.zip)

as for why it is playing so fast...
is the problem with the track itself? does it sound okay ouside of jk2?

~*H0ly_sHat*~
06-11-2002, 11:42 AM
Its sounds okay when i play the music file with my winamp, the play time is halved when playing in the game....~ oh well.... so far, there has been only one file being played at forward-speed.. guess i could just leave that song out~:)

~*H0ly_sHat*~
06-11-2002, 11:44 AM
Originally posted by Samuel Dravis
also, i just got a new IM:
Samuel Dravis
feel free to IM me.


whats a IM?

Samuel Dravis
06-11-2002, 11:54 AM
if the file is the imperial march, i might be able to put it up on my site.

an IM means Instant Messenger.
to get yours (and its free) go here:

im page (http://www.aim.com/index.adp)

~*H0ly_sHat*~
06-11-2002, 01:18 PM
ahhh.... instant messager....~ hehe... i prefer to use icq.... but heck...mayb i will try IM for a change;)