Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Fade Battle End ME 1.0
Kylock
post May 6 2008, 07:38 PM
Post #1


Level 6
Group Icon

Group: Member
Posts: 85
Type: Scripter
RM Skill: Advanced




Is your victory fanfare obnoxiously long ?
Does it bother you when its still playing as your party once again roams the map ?

WORRY NO MORE! With this little dandy script, the fanfare will fade out as the battle scene does and your Map BGM will play as it should and all will be well with the world!

Just pop this baby in right somewhere after Materials and before Main to enjoy all the advantages of having obnoxiously long battle victory MEs!


CODE
#==============================================================================
# ■ Fade Battle End ME
#     6.5.2008
#------------------------------------------------------------------------------
#  Script by: Kylock
#==============================================================================
#    This script fades the Battle End ME at the end of the battle instead of
#  playing out the entire sound file.
#==============================================================================

class Scene_Battle < Scene_Base
  def battle_end(result)
    if result == 2 and not $game_troop.can_lose
      call_gameover
    else
      $game_party.clear_actions
      $game_party.remove_states_battle
      $game_troop.clear
      if $game_temp.battle_proc != nil
        $game_temp.battle_proc.call(result)
        $game_temp.battle_proc = nil
      end
      #Fades Fanfare ME
      RPG::ME.fade(1000)
      unless $BTEST
        $game_temp.map_bgm.play
        $game_temp.map_bgs.play
      end
      $scene = Scene_Map.new
      @message_window.clear
      Graphics.fadeout(30)
      #Stops fanfare me, starts Map BGM
      RPG::ME.stop
    end
    $game_temp.in_battle = false
  end
end



__________________________
Go to the top of the page
 
+Quote Post
   
Bt255
post May 25 2008, 10:22 AM
Post #2


Level 4
Group Icon

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




Thank you! This was actually very hepful with my long ending battle theme, well done.


__________________________
Current Projects:

Moonlight Dreams-Paused

Shimmering Darkness-In Progress




Moonlight Dreams Preview <--------Check it out
!!!
Go to the top of the page
 
+Quote Post
   
Puppet Of Fate
post May 26 2008, 02:18 PM
Post #3


Please join my site!
Group Icon

Group: Revolutionary
Posts: 675
Type: Mapper
RM Skill: Advanced




Is this basically just 'Plug n' Play'?


__________________________
Go to the top of the page
 
+Quote Post
   
YanXie
post May 26 2008, 02:26 PM
Post #4


Because Tomorrow Will Surely Come...
Group Icon

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled




Seeing how the code done, yeah it is Plug N Play type script.

cheers,puppeto4. wink.gif


__________________________
how make teleport to graveyard then your character die?

AWAY FOR VACATION.
NOT HERE UNTIL JAN/FEB 2010 -w-/
Go to the top of the page
 
+Quote Post
   
bladexproduction
post May 27 2008, 02:38 PM
Post #5


Level 4
Group Icon

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




Thanks alot, this is really useful for a more flowing battle/field game


__________________________
Go to the top of the page
 
+Quote Post
   
Ilikepie123
post May 27 2008, 04:45 PM
Post #6


Sir Jacketh
Group Icon

Group: Revolutionary
Posts: 137
Type: Artist
RM Skill: Undisclosed




THANKYOUTHANKYOUTHANKYOUTHANKYOU!!
-end of spazz muffin moment-
lol, Im using one of the FF Fanfares but it gets SO old... Too long.
Thank you so much dude. I will always respect you :3


__________________________
Hmwut?
Go to the top of the page
 
+Quote Post
   
Squeakurs
post Jun 2 2008, 08:36 PM
Post #7


Level 5
Group Icon

Group: Member
Posts: 67
Type: Event Designer
RM Skill: Advanced




THANK YOU!!!!! I've always been a big fan of actually having victory MUSIC and not just a little clip of noises...


__________________________
Catpirateninja will eat you and your children!



FIND IT. PLAY IT. YES.

Go to the top of the page
 
+Quote Post
   
Warder
post Jun 4 2008, 08:28 PM
Post #8


Level 31
Group Icon

Group: Revolutionary
Posts: 750
Type: None
RM Skill: Undisclosed




This issue was an a pretty annoying oversight on Enterbrain's part. Thanks for making this script. It's a big help to me. smile.gif
Go to the top of the page
 
+Quote Post
   
Kinerex Shiomi
post Aug 12 2008, 12:08 PM
Post #9


Level 3
Group Icon

Group: Member
Posts: 39
Type: Event Designer
RM Skill: Advanced




QUOTE (Bt255 @ May 25 2008, 09:44 AM) *
Thank you! This was actually very hepful with my long ending battle theme, well done.



Yeah, I agree. It's a miracle to have, for me and my friends, the FF7 victory music was like 3 minutes, and it wouldn't stop, so this is what I need, thanks man, genius.


__________________________
[Show/Hide] Read at your own despair

Life=Honor
Honor=God
God=Life

Soldier of John 3:16 XD






~spoiler'd by Hyla

GSORBY FOR LIFE!!!
Go to the top of the page
 
+Quote Post
   
eviljoesph
post Oct 2 2008, 05:17 AM
Post #10


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Advanced




I LOVE YOU KYLOCK ASDF


__________________________
Insert a witty signiture advertising something you don't care about.
Go to the top of the page
 
+Quote Post
   
fayt_leingod
post Oct 2 2008, 06:50 PM
Post #11


Level 1
Group Icon

Group: Member
Posts: 11
Type: Event Designer
RM Skill: Skilled




Kylock you're the best! wink.gif
Go to the top of the page
 
+Quote Post
   
BizarreMonkey
post Oct 19 2008, 03:49 AM
Post #12


Gone and never coming back.
Group Icon

Group: Revolutionary
Posts: 112
Type: Developer
RM Skill: Undisclosed




OMG! You are my god, Kylock! I had to cut short the FF7 and FFX fanfare music files so it wouldn't go on and on. But Now no Need.

Very nice, clean and simple script. I love it!


__________________________

Go to the top of the page
 
+Quote Post
   
Sarabi
post Oct 19 2008, 09:11 AM
Post #13


Level 1
Group Icon

Group: Member
Posts: 12
Type: Event Designer
RM Skill: Beginner




Honestly i have the complete reverse problem. :/

The map music starts playing before i am done pressing trough the victory messages, heh smile.gif /sigh.
Go to the top of the page
 
+Quote Post
   
richxpwn
post Feb 24 2009, 03:41 PM
Post #14


Level 3
Group Icon

Group: Member
Posts: 39
Type: Event Designer
RM Skill: Skilled




Guys, you know what I JUST noticed?
This can be done with events.

Make a parallel event with the following:

Play ME: (none)
Play BGM: (whatever your map BGM is



EDIT: Like the script though, I get a better transition that the evented one.

This post has been edited by richxpwn: Feb 24 2009, 03:49 PM
Go to the top of the page
 
+Quote Post
   
Genshyu
post Feb 25 2009, 07:21 PM
Post #15


Level 8
Group Icon

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




QUOTE (Kira @ May 26 2008, 02:18 PM) *
Is this basically just 'Plug n' Play'?

Test it ftw? Lol man.. You'd find out faster if you did test it, trust me ohmy.gif.


__________________________
My current Scripts.

[Show/Hide] Save / Load Scripts.



Things I am currently Learning:
RGSS2.
If you use a script you don't have to give credit :D I'm nice like that. However, if you wan't to give credit then Give Credit to Craig Ramsey.
Go to the top of the page
 
+Quote Post
   
JEHINC.
post Jun 11 2009, 08:23 PM
Post #16


Level 5
Group Icon

Group: Member
Posts: 61
Type: Developer
RM Skill: Skilled




As in "Tim and Eric's Awesome Show", GREAT JOB! thumbsup.gif


__________________________


Go to the top of the page
 
+Quote Post
   
HolyAeris
post Aug 1 2009, 12:41 PM
Post #17


Level 1
Group Icon

Group: Member
Posts: 14
Type: Artist
RM Skill: Skilled




Kylock you always makes some great stuff thx you have about 3 diffrent spots on my credits thanks alot!


__________________________
Go to the top of the page
 
+Quote Post
   
elfyelf
post Aug 1 2009, 02:19 PM
Post #18


(~*A D A N*~)
Group Icon

Group: Revolutionary
Posts: 436
Type: Developer
RM Skill: Advanced




I never get that problem but good job, incase it does happen ill get it. tongue.gif


__________________________
Go to the top of the page
 
+Quote Post
   
Locke
post Sep 26 2009, 06:32 AM
Post #19


Level 10
Group Icon

Group: Revolutionary
Posts: 151
Type: Mapper
RM Skill: Intermediate




biggrin.gif My dreams are coming true biggrin.gif
Oh thank you very much for making this script
it,s very helpful for my long ending battle theme biggrin.gif

This post has been edited by Locke: Sep 26 2009, 06:33 AM


__________________________
We are one (Really i,m not joking)



I've seen many things when mankind rule the land


Which Final Fantasy Character Are You?
Go to the top of the page
 
+Quote Post
   
DarkAbyss
post Jan 18 2010, 01:32 PM
Post #20



Group Icon

Group: Member
Posts: 4
Type: None
RM Skill: Beginner




I actually have a problem with this. I used the script where it shows the battle results. then when i added this script to my game the battle results still show up even after the battle is over. can someone help me?
Go to the top of the page
 
+Quote Post
   

2 Pages V   1 2 >
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: 20th May 2013 - 12:28 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker