News:

MFG's Character of the Month: September 2026 Voting

Main Menu

adding music to characters

Started by Zenate, September 02, 2007, 09:56:55 AM

Previous topic - Next topic

Zenate

man im confused like how can u add music to a character so like the main music plays with that character on the stage or something?

Azasuke Kaijin

The Order System as explained in the select.def:

Spoiler (click to show)
;eg. For a player with filename "kfm",
;    and stage filename "stages/mybg.def"
;type (without the semicolon):
;    kfm, stages/mybg.def
;
;If you want to load a different def file, you can enter it
;as a directory plus the def file. This example loads up
;chars/kfm/alt-kfm.def:
;    kfm/alt-kfm.def, stages/mybg.def
;
;If you put "random" as the stagefilename, then a random stage will
;be selected for that player. eg.
;    kfm, random
;
;Optional parameters may follow on the same line, separated
;by commas. Each parameter has the form:
;    paramname = paramvalue
;where paramname is the name of the parameter type, and
;paramvalue is the value to assign that parameter.
;The optional parameters are:
;
; - music
;   Set the paramvalue to the name of the music file to use
;   as the BGM for that character. This overrides the bgmusic
;   parameter in the stage's .def file, so you can re-use the
;   same stage for multiple characters, but have a different
;   BGM playing for each person.

;
; - includestage
;   Set the paramvalue to 0 to avoid including this stage
;   in the stage select list (in VS, training modes, etc)
;
; - order
;   Set the paramvalue to the ordering priority to give the
;   character. Valid values are from 1 to 10. A smaller value
;   means you will fight the character sooner. You will never
;   fight an order 2 character before an order 1 character,
;   and never an order 3 character before an order 2 one.
;   For example, you might want to set your boss character
;   to have order=3. The default order value is 1 if you omit
;   this param. See *.maxmatches under [Options] for how to
;   limit the number of matches per order priority.
;
;   Some examples:
;        kfm, stages/mybg.def, includestage=0
;        kfm, stages/mybg.def, music=sound/song.mp3
;        kfm, stages/mybg.def, music=sound/song.mp3, includestage=0
;        kfm, stages/mybg.def, order=3
The Answer to the Ultimate Question:

For rare M.U.G.E.N. characters, click here.

Zenate

so would it be something like this GenjyuroAH, stages/sky.def, music=sound/Nickelback - Saving Me.mp3?

Azasuke Kaijin

Quote from: Zenate on September 02, 2007, 07:21:54 PM
so would it be something like this GenjyuroAH, stages/sky.def, music=sound/Nickelback - Saving Me.mp3?

Yes sir!

I don't think you really need the "music=" but...I never tried it WITH that anyway o.o
The Answer to the Ultimate Question:

For rare M.U.G.E.N. characters, click here.