Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Boss Battle Theme Continuing

Started by Luna, February 12, 2008, 03:25:38 AM

0 Members and 1 Guest are viewing this topic.

Luna

Boss Battle Theme Continuing
February 11, 2008 (2/11/08)




Summary
Simply like in some games, there is an area where the boss battle's theme is played even while you run around. As in some places in Chrono Cross and so on. For example, if an enemy invades a city and you are there, the boss battle theme plays and you run around in the city with the song being a boss battle theme. When you start a battle, the song should still be playing and not stopping (until you tell it to stop).

Features Desired

  • Options to start the song and to loop
  • Options to stop the song
  • Able to be used as a script in the event editor (Like calling the script)

Mockups
None. It's hard to see, but easy to hear.

Games its been in

  • Chrono Cross (Intro area and so on)
  • Kingdom Hearts II (Around the 1000 heartless battle)
  • Megaman X3 (Zero's Theme)




Did you search?
Yes, I did.

Where did you search?

  • Google
  • RMRK's Catalogue of Requested Scripts

What did you search for?

  • Loop Music
  • Music Options
  • Continue Music


I'm not so sure if this really was already requested or not, but it'd be nice to get this. :)

Code Geass

hm..very nice request post, wish I could help though.

this IS a very neat little feature. I can't say it'd be good for myself personally, but I can see why you would want it.

heh, I'll see if I can do this with events, in the mean time, good luck getting help on this. Try looking around hbgames.org a bit as well.

Luna

Well, it's nice to see that there might be others looking for this same request as well. I'll try looking on RMXP as well.

Zylos

Okay, I'm not sure if this is exactly what you are looking for, but...


#==========================================================================
# ** SG Optional Battle Music
#==========================================================================
# sandgolem
# Version 1
# 24.06.06
#==========================================================================

Scene_Map::SG_Disable_BattleMusic = 2

#==========================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# under the default scripts, and the SDK if you're using it.
#
# Have problems? Official topic:
#   http://forums.gamebaker.com/showthread.php?t=13
#
#==========================================================================

begin
  SDK.log('SG Optional Battle Music', 'sandgolem', 1, '24.06.06')
  if SDK.state('SG Optional Battle Music') != true
    @sg_nobattlebgm_disabled = true
  end
  rescue
end

if !@sg_nobattlebgm_disabled
#--------------------------------------------------------------------------

class Game_System
  alias sandgolem_nobattlebgm_system_bgm bgm_play
  def bgm_play(bgm)
    if !$sg_keep_music
      sandgolem_nobattlebgm_system_bgm(bgm)
    end
  end
 
  alias sandgolem_nobattlebgm_system_bgmstop bgm_stop
  def bgm_stop
    if !$sg_keep_music
      sandgolem_nobattlebgm_system_bgmstop
    end
  end
end

class Scene_Map
  alias sandgolem_nobattlebgm_map_callbattle call_battle
  def call_battle
    if $game_switches[SG_Disable_BattleMusic]
      $sg_keep_music = true
    end
    sandgolem_nobattlebgm_map_callbattle
    $sg_keep_music = nil
  end
end

#--------------------------------------------------------------------------
end


This script will keep whatever music that's currently playing as the battle music too. So if you play boss music on the field, you'd get boss music that keeps playing before, during, and after the battle, at least until you manually stop it with an event. All you have to do to turn it on and off is to use switch 2.




Falcon

It's that long? The one I made for my game was about two extra lines of code.

Luna

So how would I use it in a map? I got the script into the game, now to use it?

Zylos

Pretty much just put it in your scripts and turn on switch number 2. Unless Falcon has an easier method...




Falcon

Nah, I'm not going to dig through two years of backups to find my version.

Luna

I found out how to work the script. :)
Thanks for helping guys.

(What do I do now besides changing the topic title?)