Jump to content

Home

Music in maps


Xavier j.p JAS

Recommended Posts

You'll all probably think this is a very stupid question, but how do I give a map music? I know I have to edit the worldspawn but I don't don't know the correct command to enter. For example I want to put in the song from Artus Topside, called :

 

impbased_action.mp3

 

I know I type music but how do I tell radiant I want to use this particualar song?

 

(p.s I have no idea on how to insert custom songs either)

Link to comment
Share on other sites

First, find the song that you want to play. They're locatred in the assests0.pk3. Sort by path and they should be located in the "music folder". Then, when you've found the song you wanted, go in jk2radiant and press "N". Go down to worldspawn and type in "music" for the key. For the value, type in the path to your song.

 

example:

key: music

Value: music/bespin_platform/besplat_explore.mp3

 

This will play the besplat_explore.mp3 in your level.

 

To add custom music, create a folder in your "base" folder and name it "music". Then add a folder inside the "music" folder and name it "mylevel" (or anything you want to name it). Next, put the song you want to play inside the "mylevel" folder. Then, in jkradiant, go to the worldspwn and type in "music" for the key and the path to your song for the value.

 

example:

Key: Music

Value: music/myfolder/yoursong.mp3

Link to comment
Share on other sites

yes it does. and now i will give mine:

select a normal brush. hit n. this brings up the enitity window with worldspawn selected.

for playing the track you selected:

key: music

value: music/artus_topside/impbased_action.mp3

note that for music and models you start typing the path at base folder, instead of doing this:

key: music

value: C:/Games/Star Wars Jedi Knight II: Jedi Outcast/GameData/base/music/artus_topside/impbased_action.mp3

 

Quall your example is kind of wrong. ALWAYS put the underscore in.

Link to comment
Share on other sites

No, and whenever I add custom music in mp3 format it ALWAYS, ALWAYS gives me this error:

 

###/###/###.mp3 not a valid dynamic music entry!!!

 

And yes, I KNOW that you use a target/speaker with a noise key and check it global for your custom music.

 

But I want worldspawn custom music.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...