Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

how do u put music and levelshot in pk3?

Page: 1 of 1
 Odyssey Wing
04-26-2002, 10:46 PM
#1
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.
 DaviJade
04-26-2002, 11:18 PM
#2
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
#3
thanks, but i couldnt get the music to work... i cant hear anything. Any clues?
 DaviJade
04-27-2002, 12:23 AM
#4
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
#5
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?
 DaviJade
04-27-2002, 12:32 AM
#6
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
#7
okay, i checked the console and it says this:

MP3ERR: Source file is not sampled @ 44100!

whats wrong? god, i suck at this :mad:
 DaviJade
04-27-2002, 1:14 AM
#8
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, 2:03 AM
#9
THANK YOU!!!!!!!
i got it now because of ur help, THANKS AGAIN!!!
 DaviJade
04-27-2002, 2:24 AM
#10
Glad to be of help :)
 chrispcarter
04-27-2002, 2:07 PM
#11
Ah a happy ending... That what forums are all about. It almost bring a tear to my eye... :D
 Garland
04-27-2002, 2:16 PM
#12
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.
 Imran
05-04-2002, 1:41 PM
#13
Great advice, this helps a lot!
Page: 1 of 1