View Full Version : how do u put music and levelshot in pk3?

Odyssey Wing
04-26-2002, 10:46 PM
i unzipped the carbon freeze pk3 as an example but when i replace the levelshot and music with my own files, the shot and music doesnt appear in the game!

help please, thanks.

04-26-2002, 11:18 PM
Getting music to work:

Step 1: Create a folder inside your base folder and call it "music"
Step 2: Put your music file in here (duh)
Step 3: Inside the editor open your entities with letter "n"
Step 4: Click on "worldspawn"
Step 5: For your "Key" enter the word "music"
Step 6: For your "Value" enter the path "music/songname.mp3"

Taking a levelshot:

Step 1: Test your level as normal (sv_pure 0; devmap mapname)
Step 2: Bring down console
Step 3: type this in (minus quotes): "levelshot"
Note -- this will automatically create your levelshot folder for you.

Then, if all else is ready pack it up. All done!

Odyssey Wing
04-27-2002, 12:13 AM
thanks, but i couldnt get the music to work... i cant hear anything. Any clues?

04-27-2002, 12:23 AM
If you're starting up the level with the normal routine of selecting a map it won't play because "sv_pure" is not zero.

so in the console try:

/sv_pure 0
/devmap yourmapname

Try that.

Odyssey Wing
04-27-2002, 12:29 AM
well, im pretty sure i did do that. do i have to make it a pk3 for it to work or will bsp do just fine?

04-27-2002, 12:32 AM
Well you could pak it up and try it out to see if it works.

But first you should make sure your path name is correct in your worldspawn and your music.mp3 spelling matches with what's in your music folder.

Odyssey Wing
04-27-2002, 12:46 AM
okay, i checked the console and it says this:

MP3ERR: Source file is not sampled @ 44100!

whats wrong? god, i suck at this :mad:

04-27-2002, 01:14 AM
I think your problem is your music.mp3 has too low of a bitrate. You should open it up and see what the bitrate is.

The music.mp3 in my duel map is 128,000 or 128 kbps

Odyssey Wing
04-27-2002, 02:03 AM
THANK YOU!!!!!!!
i got it now because of ur help, THANKS AGAIN!!!

04-27-2002, 02:24 AM
Glad to be of help :)

04-27-2002, 02:07 PM
Ah a happy ending... That what forums are all about. It almost bring a tear to my eye... :D

04-27-2002, 02:16 PM
Is is possible to set up more than one song? Like a playlist? Also, can you change the duel music? That's a tricky one there.

05-04-2002, 01:41 PM
Great advice, this helps a lot!