|
Main /
How to add Music to MugenLanguages: Table of contents![]() Mugen supports playing MP3s MOD Files, MIDI Files and CD player tracks right out of the box. There are plugins that support OGG and other files. Adding Music to StagesIn order to add Music to a stage you will have to open the stages def file with a text editor and Change the following; bgmusic = bgm_filename ; bgm_filename is the name of the music file to play in the stage. Music files are usually put in the sound/ directory. Leaving bgm_filename blank will result in no music being played. If the music file does not exist, no music will be played. To play CD audio, put the track number followed by ".da". Using a track number of 0 will play a random audio track. For example, to play track 3 from a music CD, use bgmusic = 3.da. If omitted, defaults to no music. bgvolume = volume_offset ;(optional) This parameter adjusts the volume of the BGM being played. 0 is normal, negative for softer, and positive for louder (only for mp3, mods and CDA). Valid values are from -255 to 255. If omitted, defaults to 0. Example: ;-------------------------------------------------------- [Music] ;Put a filename for a MOD, MP3 or MIDI here, or just leave it ;blank if you dont want music. If an invalid filename is ;given, then no music will play. To play CD audio, put ;the track number followed by ".da". Using a track number of ;0 will play a random audio track. For example, to play ;track 3 from a music CD, use: ; bgmusic = 3.da bgmusic = ;Adjust the volume. 0 is normal, negative for softer, and ;positive for louder (only for mp3, mods and CDA) bgvolume = 0 Adding Music To CharactersMusic can be assigned to characters by editing the select.def file found in mugen's data folder. This action overrides the stages background music. Open select.def with a text editor and set the paramvalue (music=sound/song.mp3) to the name of the music file that you want to assign to a character. Here are some examples; This example starts with the characters def file name then the stage' def file, then the music file. kfm, stages/mybg.def, music=sound/song.mp3, Both of these examples will pick a random stage for the character. kfm, random, music=sound/song.mp3, kfm,, music=sound/song.mp3, This example avoids including this stage in the stage select list (in VS, training modes, etc) kfm, stages/mybg.def, music=sound/song.mp3, includestage=0 Someone finish this part, I got to go to bed. Backlinks |