# The Mugen Fighters Guild Forum

## Help => Tips, Tricks, Tutorials => Topic started by: squallcolin on November 05, 2003, 09:52:02 AM

Title: Playing the correct characters music when Cpu challenges you
Post by: squallcolin on November 05, 2003, 09:52:02 AM

Hello! This is my first Tips and Tricks for Mugen. Want to know if you can make Mugen play the correct music when the CPU challenges you? Here's a way:
Under select.def file, add the character by using this format:
[Character name], [stage], [order], [character's bg music]
Example:
kusanagi, stages/netherlands.def, order=1, music=sound/esaka96.mp3
(Note: To make kusanagi appear in any of the stages of your Mugen, just substitute with this:
kusanagi, random, order=1, music=sound/esaka96.mp3))
So, if you've already assigned a music for the Netherlands.def stage file, normally when the CPU challenges you, the music play will be the Netherlands background music.
Let's say your stage file looks like this:
Under Netherland.def:
[Music]
bgmusic = sound/netherlands.mp3
When Kusanagi challenges you, the stage background will be Netherlands, but voila!, the music played will be "Esaka 96"!
Just repeat the same process for each character you wanted their music to play when they challenges you.
Some note about 2 VS 2 Match:
The stage and music played will be the 2nd character for the CPU.
Some note about turns matches:
The stage and music played will be the last character for the CPU.
(Please note: This method only works in the following modes:
1. Arcade Mode
2. Team Arcade Mode
3. Team Co-operation Mode
It doesn't work in these modes, though:
1. VS Mode
2. Team VS Mode
3. Training
4. Watch Mode)
Have fun trying!
^_^
My next topic: How to reserve certain stages for boss/sub-boss fights only. (unselectable boss stages.) In other words,
"How To Make Hidden Stages"

Title: Re:Playing the correct characters music when Cpu challenges you
Post by: Iori Yagami on December 04, 2003, 08:44:39 AM

I like your tutorial because I've had alot of trouble on this subject,but I do have a question,
is their a way to make the volume higher when
it's assigned to a character,because it's usually
very low compared to the stage music. 8)

Title: Re:Playing the correct characters music when Cpu challenges you
Post by: ky0 on December 04, 2003, 11:23:57 AM

no , unless manually making louder the mp3 (by this i mean in some audio editor) you can't. it's not implemented in mugen yet.

Title: Re:About adjusting music volume
Post by: squallcolin on December 06, 2003, 01:06:19 AM

Iori Yagami, there is another alternative solution for you. Try this:
Firstly, assign a stage to that character. For the [stage.def] file which you've asssigned to him/her, look for the following lines:
Under [stage.def],
(Note: [stage.def] can be any of the stage file which you've assign for that particular character, say Netherland.def for instance.)
Under [Music] section,
[Music]
bgmusic = [music file]
bgvolume = 255
This command tells Mugen to play the music in it's loudest volume.
On the other hand, if the music is too loud,
change to this instead:
[Music]
bgmusic = [music file]
bgvolume = - 50
This command tells Mugen to turn down the stage bg music volume by 50. (Or replace with another number)
Definitions:
0 = No change in volume (original volume)
255 = Maximum volume (Loudest)
- 50 = Decrease volume by 50
In general, positive number means louder, negative means softer.[/i]
Or the other solution, follow kusanagi ky0's advice.
UPDATE: This is where the music file should be stored:
X:\Mugen\Sound.
Where X = Drive Letter.
Mugen\Sound is just an example. In other words, just specify where you have your sound folder inside your Mugen folder.
And, the sound file may be this:
MP3 format
WAV file
S3M file (Digital Music / Module Music) This is a bit complicated. It only supports 4 channels only, I believe.
Other format supported by Mugen:
CD Audio (Only works for stage.def file though, doesn't really work for select.def) /swt (cold sweat)
[END OF UPDATE]
Hope it helps!
^_^

Title: Re:Playing the correct characters music when Cpu challenges you
Post by: viper driver on July 21, 2004, 07:10:07 PM

yes it is but the music doesn't loop in the stage.def trick.
man THANK YOU SQUALL COLIN. i'v bin waiting long enough in the mugen help forum , but nobady answerd to my question.
GOD BLESS YOU

Title: Re:About adjusting music volume
Post by: Kula Diamond on July 22, 2004, 06:36:16 AM

Quote from: squallcolin on December 06, 2003, 01:06:19 AM
255 = Maximum volume (Loudest)
[sign=12]Ahem...[/sign]
Not true, the maximum volume is not 255, as if i have a level with the BGM volume at 300, and i raise it to 400, it increases the volume. (In putting Stairway to Heaven on a level, i actually had to put the volume to 500 :shocked:

Title: Re:Playing the correct characters music when Cpu challenges you
Post by: Silver on July 22, 2004, 09:20:21 AM

Quote
My next topic: How to reserve certain stages for boss/sub-boss fights only. (unselectable boss stages.) In other words,
"How To Make Hidden Stages"
That must be really tough (did I hear someone say "includestage=0" :thinking: ?)
:P
// edit
V Didn't even see that :P

Title: Re:Playing the correct characters music when Cpu challenges you
Post by: OrochiKOF97 on July 22, 2004, 10:45:19 AM

This topic is almost a year old ............................... :no:

Title: Re: Playing the correct characters music when Cpu challenges you
Post by: Insanius on August 12, 2004, 02:18:02 PM

I've tried putting screamtracker modules (s3m) into mugen but they didnt work, I had to convert them to ProTrakcer modules (mod) first.
Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC