RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Boss Battle Theme Continuing

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
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. :)
« Last Edit: March 11, 2008, 10:17:16 PM by Zeriab »

****
Rep:
Level 87
Code Geass = Best show EVER XD
Project of the Month winner for May 2008
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.

**
Rep:
Level 86
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.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Mapping)2012 Best RPG Maker User (Programming)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Best Veteran2011 Kindest Member2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Okay, I'm not sure if this is exactly what you are looking for, but...

Code: [Select]
#==========================================================================
# ** 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.




******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
It's that long? The one I made for my game was about two extra lines of code.

**
Rep:
Level 86
So how would I use it in a map? I got the script into the game, now to use it?

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Mapping)2012 Best RPG Maker User (Programming)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Best Veteran2011 Kindest Member2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Pretty much just put it in your scripts and turn on switch number 2. Unless Falcon has an easier method...




******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
Nah, I'm not going to dig through two years of backups to find my version.

**
Rep:
Level 86
I found out how to work the script. :)
Thanks for helping guys.

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