Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → adv. music and triggers
adv. music and triggers
2002-10-26, 12:28 PM #1
How would make a map so that when a certain event starts it will play a different mp3 than it did in the beggining of the level, but whenever the event is over it reverts back to the original. EXAMPLE: begining.mp3; event starts: play: new.mp3; event ends play: begining.mp3??????????????
2002-10-26, 1:02 PM #2
I think what you're talking about is dynamic music. I haven't really tried it yet but I'll point you in the right direction, extract dms.dat from ext_data in the assets0.pk3. Open it up in notepad. You should be able to assign music to your custom map. Again, I don't know for sure so don't freak out if it doesn't work.
2002-10-26, 4:59 PM #3
Mercenary is correct. Dynamic Music is done with the dms.dat file. To add music, just add this at the bottom of the file inside the "levelmusic" set of "{}":

MyLevel
{
action your_action_music
explore your_explore_music
boss your_boss_music
}

Note: don't add the .mp3 to the file name of your music and don't right the full path (just the name of the music file will do.) Make sure your music is in the "music" folder of the game. If you want, you can add a "uses" and make it use a music set from the other levels in the game. For instance, if you just want to use kejim_post's music, just do this:

MyLevel
{
uses kejim_post
}

This will make your level use the music files from the kejim_post level. I should note that the dms.dat file can be stubborn so it might not work all the time so I suggest you just use the other level's music and don't mix the "uses" with the action/explore/boss ones.

-- SavageX

------------------
"Never trust a bartender with bad grammar." - one of the many one-liners of Kyle Katarn.
"Be kind to nerds because one day... one will be your boss."
SavageX's Editing Corner

↑ Up to the top!