Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Something Simple, Fanfare Music
Nexus007
post Jul 2 2010, 12:42 AM
Post #1


Level 4
Group Icon

Group: Member
Posts: 58
Type: Writer
RM Skill: Skilled




Based on the amount of times this has been asked on multiple sites, i thought it might help posting it on here!

As many of you use OST from other games, you may find that you have to edit the battle end ME.

I myself use a Final Fantasy 7 MP3 file for my fanfare, and came up with the problem of having it play for too long, even when the battle had ended.

I know alot of you have the same problem, but all it needs is a little tweak in your scripting system.

Find this script in the scene_battle section

CODE
#--------------------------------------------------------------------------
  # * Victory Processing
  #--------------------------------------------------------------------------
  def process_victory
    @info_viewport.visible = false
    @message_window.visible = true
    RPG::BGM.stop
    $game_system.battle_end_me.play
    unless $BTEST
      $game_temp.map_bgm.play
      $game_temp.map_bgs.play
    end
    display_exp_and_gold
    display_drop_items
    display_level_up
    battle_end(0)


All you need to do is add RPG::ME.stop at the bottom of the script like so and Vuala!
CODE
#--------------------------------------------------------------------------
  # * Victory Processing
  #--------------------------------------------------------------------------
  def process_victory
    @info_viewport.visible = false
    @message_window.visible = true
    RPG::BGM.stop
    $game_system.battle_end_me.play
    unless $BTEST
      $game_temp.map_bgm.play
      $game_temp.map_bgs.play
    end
    display_exp_and_gold
    display_drop_items
    display_level_up
    battle_end(0)
    RPG::ME.stop



Go to the top of the page
 
+Quote Post
   
ASCIIgod
post Jul 7 2010, 04:54 AM
Post #2


Demonic God of Snippets of Doom +10
Group Icon

Group: Revolutionary
Posts: 271
Type: Scripter
RM Skill: Intermediate




please use spoiler frequently..... it messes up your work.... and it 'Burns' my eyes


__________________________

Go to the top of the page
 
+Quote Post
   
Axelx3
post Aug 2 2010, 04:35 AM
Post #3


Level 2
Group Icon

Group: Member
Posts: 24
Type: Mapper
RM Skill: Intermediate




QUOTE (ASCIIgod @ Jul 7 2010, 04:54 AM) *
please use spoiler frequently..... it messes up your work.... and it 'Burns' my eyes

dude do you even SHUT UP?....

Don't Flame other members, and dont spam and necropost either ~ Regashi


__________________________
Yey i made an game ^-^ =D
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 07:04 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker