RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Music in menu

Started by Sins and Demise, June 30, 2008, 02:05:11 AM

0 Members and 1 Guest are viewing this topic.

Sins and Demise

Is it possible to have a different track playing when you call the menu?

If so how?

Caesis

#1
I EDITED MY FIRST SCRIPT WITHOUT FAILURE!!!!!! THANK YOU!!!!!!!!

EDIT: Err, right, your script ...
First, make sure it is the default RMXP script (I haven't tested it out with any CMS yet.)

Go to Line 18 of "Scene_Menu" on the script editor. It should say "def main" Hit "enter" on your keyboard and copy and paste this:
Audio.bgm_play("Audio/BGM/001-Battle01")

If you want to change what music plays, go to materials, and click BGM. Write down the name of the music file you want to play, and then type it where  ---------- 001-Battle01   ------------ is on the code snippet above.


I'm working on making it stop and go back to the BGM beforehand. I'll edit it into this post once I figure it out.

Sins and Demise

Okay awesome thanks I will def get on that!

Caesis

Oh umm ...

Audio.bgm_stop

Put that ummm ... I'll get on this in a day or 2. I'm sick right now and can't think well.

I was working on a way to make the previous BGM playing to continue after the menu closes last time I was on RMXP. Little luck, though.