Jump to content

Home

NO Music!


Griad-Weblo

Recommended Posts

I have finally finished my map (for now) and i thought i had everything until i played it and realized i have no music and i would like some. Anyways i have been searching for tutorials and anythreads that are on same topic but the ones i ahve come across dont make any sense. Can anyone explain it really easy. THANKS!

Link to comment
Share on other sites

With your sound file in an mp3 form, put it in base/music. Then, with no brushes selected in radiant, hit 'n' (entity properties). Make a new key called music , and make a value for it that will point to the location of the file. i.e.

 

Key: music

Value: music/tunes.mp3

 

And that's it! The only thing I'm not sure about is whether or not you need to include the .mp3.......... I think you do.

Link to comment
Share on other sites

hmmmm thats a good question i would think it would have to do with a trigger. Make a trigger brush covering the area where your enemies would be and give it the key "music" and the value "music/(name of music.md3) and in theory that should work but im not quite sure if that is what u mean or if thats how u want it to be. I would think that will work ... what i usually do is go bye trial and error untill i figure it out or someone explains it better. well thats all i can think of im sure it wont hurt to try.

Link to comment
Share on other sites

YES!! I found out how to do it!!! (For SP)

 

1) Open your map and, with nothing selected, hit "N" to bring up your entities window. Select "worldspawn" at the end of the list and enter this key and value:

 

Key: music

Value: music/bespin_platform

 

You'll realize that I pointed to the directory of the music files, NOT a music file itself. You can find all the directories in assets0.pk3 under music/(directory). You'll find such ones as yavin_trial, kejim_base, etc. Here, we'll use bespin_platform.

 

2) Deselect everything and select your info_player_start. Hit "N" again to edit it and add this key and value:

 

Key: usescript

Value: start

 

This is telling the engine to use the script "start" when you spawn. (The start script will be made later)

 

3) Save and compile the map.

 

4)Open up BehavEd and add a SET command. Double click it and add select "SET_MUSIC_STATE" (towards the end of the list). Click the "reevaluate" button and select, in the second drop down window, DM_AUTO. Save the map as "Start" under your scripts directory and compile it.

 

TADA!!! This should have the engine decide what state the dynamic music will be in. When you get attacked, action music will start up. When you've finish cutting up bad guys, it'll return to explore music!!! WOOHOO!!!

Link to comment
Share on other sites

Originally posted by Whitesaber

YES!! I found out how to do it!!! (For SP)

 

1) Open your map and, with nothing selected, hit "N" to bring up your entities window. Select "worldspawn" at the end of the list and enter this key and value:

 

Key: music

Value: music/bespin_platform

 

You'll realize that I pointed to the directory of the music files, NOT a music file itself. You can find all the directories in assets0.pk3 under music/(directory). You'll find such ones as yavin_trial, kejim_base, etc. Here, we'll use bespin_platform.

 

2) Deselect everything and select your info_player_start. Hit "N" again to edit it and add this key and value:

 

Key: usescript

Value: start

 

This is telling the engine to use the script "start" when you spawn. (The start script will be made later)

 

3) Save and compile the map.

 

4)Open up BehavEd and add a SET command. Double click it and add select "SET_MUSIC_STATE" (towards the end of the list). Click the "reevaluate" button and select, in the second drop down window, DM_AUTO. Save the map as "Start" under your scripts directory and compile it.

 

TADA!!! This should have the engine decide what state the dynamic music will be in. When you get attacked, action music will start up. When you've finish cutting up bad guys, it'll return to explore music!!! WOOHOO!!!

 

It's ok even I didn't know how to do that. Thanks for the info. I'm sure I could use it in my next map...

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

Archived

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

×
×
  • Create New...