Jump to content

Home

Adding Default music?


kya4life

Recommended Posts

open the assets.pk3 with classic winzip and find the files or mp3's acording to what you want to use... then when adding the value to your worldspawn add it as the folder extension of the mp3 you wanted..

 

ex: sound/bubbles/bubbles.mp3

Link to comment
Share on other sites

Look at GONK's skyhigh level. If you open up the pk3 file he didnt put the bespin_action.mp3 in the pk3. Yet the level still plays the music, which only means its running the music off the assets0.pk3. What i'm asking is what is the the command to make the level run off music in assets0 without extracting the song and putting it in your pk3 file.

Link to comment
Share on other sites

Hi

 

Well the music and sound files are already on anybodys computer who already has the game. The assets files are zipped up into a pk3 but essentially They are still physical folders in your base directory.

 

So to play a music file that came with the game you would just use a command like this

 

music/bespin_platform/besplat_atr01.mp3

 

And you just use that either in the worldspawn or a "target_play_music" entity.

 

Thats the path that's located in the pk3. So a good thing to do if you want to listen to the files and get the correct paths is to unzip the assets file into a seperat folder just to help you to find the correct path.:)

Link to comment
Share on other sites

I'm offically confused hehe... ok so yes the music is in the assets0.pk3 file. Everyone has this file already if they have the game installed... so in my worldspawn i type in Music for the key and the path for the value?

 

what would be the path? gamedata/base/assets0.pk3/song?? Where do I start the path...

Link to comment
Share on other sites

The path would go from inside the assets file

 

What i mean by this is, the assets file has loads of folders for different things, sound folder, music folder e.t.c

 

But what you do is you start your file path from where it starts in the assets file

 

e.g: music/bespin_platform/besplat_atr01.mp3

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...