ステージとBGMの追加

ステージはどこに記入するかを説明します

まずSelect.defの登録記述を見てみましょう






[Characters]

;Insert characters here

;Use the format:

; charname, stagefilename

;

;eg. For a player with filename "kfm",

; and stage filename "stages/mybg.def"

;type:

; 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/mgbg.def

;

;If you do not want the stage to be available for choice in

;versus mode, put a ", N" after the stagefilename, eg.

; kfm, stages/mybg.def, N

;

;If you omit the stagefilename, then a random stage will

;be selected for that player.



kfm, stages/kfm.def ←登録記述 = カンフーマンがカンフーマンのステージに登場




例えばマリオのステージデータを手に入れたとすると・・・

こんな感じで



[Characters]

;Insert characters here

;Use the format:

; charname, stagefilename

;

;eg. For a player with filename "kfm",

; and stage filename "stages/mybg.def"

;type:

; 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/mgbg.def

;

;If you do not want the stage to be available for choice in

;versus mode, put a ", N" after the stagefilename, eg.

; kfm, stages/mybg.def, N

;

;If you omit the stagefilename, then a random stage will

;be selected for that player.



mario, stages/kfm.def ←登録記述 = カンフーマンがmarioのステージに登場




ステージデータはあらかじめ「stages」というフォルダにdefファイルとsffファイルをペアで入れておいて下さい。

この場合ですとmario.defとmario.sffです。

書き換えが完了したらデータを保存して終了してください。






BGMの追加

音楽の追加はキャラの追加と変わりません。

音楽は自分で好きな曲を選べます、曲はMIDIかMP3ですができるならMP3を薦めます。

音楽はステージとセットです。ステージが10個あれば10曲選ぶことができるし1個なら1曲です。



フォルダを「stages」に移動し音楽を鳴らしたいステージのdefファイルをクリックします。

1、「stages」フォルダの上でダブルクリック

2、好きなステージのdefファイルの上でダブルクリック

3、アプリケーション関連付けは「NOTEPAD」で開きます

また英文のプログラムが現れますので以下の場所を探してください。




カンフーマンのステージファイルより抜粋



[Music]

;Put a filename for an MP3 or MIDI here, or just comment

;it out if you don't want music. If an invalid filename

;is given, then no music will play.

bgmusic = sound/B.mp3←ここに鳴らしたい曲のファイル名を書く



;Adjust the volume. 0 is normal, negative for softer, and

;positive for louder (only for mp3 and mods)

bgvolume = 20←これはBGMのボリューム、はっきりいってほとんど変わりません




これで「カンフーマンのステージでBの曲が流れる」ようになります。

あらかじめ「sound」フォルダの中に曲ファイルをいれておいてください。
最終更新:2007年01月12日 17:59