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
> Law's Battle-End ME Fade, Allows you to fade out those long battle-end ME's!
The Law G14
post Dec 26 2009, 11:10 AM
Post #1


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Law’s Battle-End ME Fade

Version 1.0
The Law G14
12/26/09


Introduction

Hey guys, it's been a while. I've been working on a pretty big script project that's been taking me a while to make so I decided to throw out a pretty easy script to make since I haven't released one in a while. This is an XP translation of Kylock's Fade Battle End ME script. Basically, what my script does is make it so that you can set an amount of time to fade out your battle-end ME because sometimes, battle ME's are very long and can drag out into the map which is kinda weird lol, so this script fixes that. Enjoy biggrin.gif


Features

-Allows the user to set an amount of time for the battle me to fade.



Script


Attached File  Law_s_Battle_End_Me_Fade.txt ( 2.48K ) Number of downloads: 171



Compatibility

May run into issues with some battle systems.


Installation

Just set the amount of time you would like the battle-end ME to fade on line 17 of the script and then your set to go smile.gif


Terms and Conditions

Just credit me where it is due smile.gif


Credits

Credits to Kylock for the original VX translation of the script.


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Bigace
post Dec 26 2009, 10:23 PM
Post #2


The King of Spades
Group Icon

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate




Another script from the Law biggrin.gif , hey you should make one where the music continues from map on to battle then back to the map. Just for them epic scenes where you only one want one music playing the whole time.

Anyways, keep up the good job man.


__________________________



Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

QUOTE ('Exiled One')
"If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
Go to the top of the page
 
+Quote Post
   
The Law G14
post Dec 27 2009, 07:23 AM
Post #3


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Thanks Bigace, and yeah, I'll try to make that script, nice idea biggrin.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
darkhalo
post Dec 27 2009, 08:29 AM
Post #4


The RM Warlock
Group Icon

Group: +Gold Member
Posts: 2,178
Type: Developer
RM Skill: Advanced




Handy script to have for any project. Going into mine right now. Again this gives more time to do other
things, rather than editing down long battle ME's outside the RM maker.


__________________________

Go to the top of the page
 
+Quote Post
   
The Law G14
post Dec 27 2009, 02:11 PM
Post #5


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Thanks for the comment DH, glad you found this useful biggrin.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
obsorber
post Mar 6 2010, 02:12 AM
Post #6


Level 26
Group Icon

Group: Revolutionary
Posts: 589
Type: Writer
RM Skill: Skilled




Great! Cheers for the script Law. laugh.gif


__________________________

The final release of Project Viral is finally here!


Eden Hall, demo released!
Go to the top of the page
 
+Quote Post
   
obsorber
post Apr 5 2010, 01:37 AM
Post #7


Level 26
Group Icon

Group: Revolutionary
Posts: 589
Type: Writer
RM Skill: Skilled




I liked your script law and I'll give credit but it's not compatitable with the Tankentai siddeview battlesystem. I think there might be a way to fix it quick although I'm not good at scripting. I know you said it could conflict with other battlescripts but, the only problem I get after the battle is over is the fact I have to wait 10 seconds because the games freezes or pauses before it plays the victory them which fades properly and ends the battle.


__________________________

The final release of Project Viral is finally here!


Eden Hall, demo released!
Go to the top of the page
 
+Quote Post
   
orcywoo6
post Jun 28 2010, 10:46 AM
Post #8


Black Mage
Group Icon

Group: Revolutionary
Posts: 130
Type: Event Designer
RM Skill: Advanced




This script works well and fades out the ME successfully but I'm having a problem where after a battle, BGM will no longer play at all...

Anyone know a fix? blink.gif

This post has been edited by orcywoo6: Jun 28 2010, 10:57 AM


__________________________
<a href="http://www.points2shop.com/?ref=orcywoo6"><img src="http://points2shop.com//banners/61353" border="0"/></a>

"Sorrow. How do you prove that you exist...? Maybe we don't exist..." - Vivi
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Playstation Network</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Proud PS3 owner since my 360 betrayed me for the fourth and final time with RROD.
add me for a match or two if you want! :D

</div></div></div>
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Can you read this?</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.</div></div></div>
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Jul 1 2010, 12:55 AM
Post #9


Level 50
Group Icon

Group: +Gold Member
Posts: 1,525
Type: Scripter
RM Skill: Undisclosed




Hey orcywoo6, try it again without Law's script, and make sure it's the script that's clashing, and if it is, try using this version instead:

code
CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#======================*Law's Battle End Me Fade*==============================
#=========================Author: The Law G14==================================
#=============================Version 1.0======================================
#=======================*Edited by Night_Runner*===============================
#==============================================================================
#------------------------------------------------------------------------------

#==============================================================================
# ** Scene_Battle (part 1)
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias law_lbemf_scene_battle1_battle_end battle_end unless $@
  #--------------------------------------------------------------------------
  # * Battle Ends
  #     result : results (0:win 1:lose 2:escape)
  #--------------------------------------------------------------------------
  def battle_end(result)
    # Fade the BGM for a specified amount of time
    Audio.me_fade(1000)
    # Run the original battle_end
    return law_lbemf_scene_battle1_battle_end(result)
  end
end


And are you using any other scripts that might edit the battle phase? I just tried the script it a (mostly) blank game, and the BGM on the map plays fine (it takes a second to start up, but it's like that normally....)


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
orcywoo6
post Jul 1 2010, 03:15 AM
Post #10


Black Mage
Group Icon

Group: Revolutionary
Posts: 130
Type: Event Designer
RM Skill: Advanced




QUOTE (Night_Runner @ Jul 1 2010, 09:55 AM) *
Hey orcywoo6, try it again without Law's script, and make sure it's the script that's clashing, and if it is, try using this version instead:

code
CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#======================*Law's Battle End Me Fade*==============================
#=========================Author: The Law G14==================================
#=============================Version 1.0======================================
#=======================*Edited by Night_Runner*===============================
#==============================================================================
#------------------------------------------------------------------------------

#==============================================================================
# ** Scene_Battle (part 1)
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias law_lbemf_scene_battle1_battle_end battle_end unless $@
  #--------------------------------------------------------------------------
  # * Battle Ends
  #     result : results (0:win 1:lose 2:escape)
  #--------------------------------------------------------------------------
  def battle_end(result)
    # Fade the BGM for a specified amount of time
    Audio.me_fade(1000)
    # Run the original battle_end
    return law_lbemf_scene_battle1_battle_end(result)
  end
end


And are you using any other scripts that might edit the battle phase? I just tried the script it a (mostly) blank game, and the BGM on the map plays fine (it takes a second to start up, but it's like that normally....)


Hmm, I tried your edit but it still does the same thing, even after entering another battle there is not BGM.

The only script I have that it could be clashing with is the KGC battle camera.

Thanks for the help.


__________________________
<a href="http://www.points2shop.com/?ref=orcywoo6"><img src="http://points2shop.com//banners/61353" border="0"/></a>

"Sorrow. How do you prove that you exist...? Maybe we don't exist..." - Vivi
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Playstation Network</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Proud PS3 owner since my 360 betrayed me for the fourth and final time with RROD.
add me for a match or two if you want! :D

</div></div></div>
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Can you read this?</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.</div></div></div>
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Jul 1 2010, 08:35 PM
Post #11


Level 50
Group Icon

Group: +Gold Member
Posts: 1,525
Type: Scripter
RM Skill: Undisclosed




Okey dokey, I think I know what the specific problem is (it works fine with the battle camera smile.gif), and if it is what I think it is, this should fix it!

code
CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#======================*Law's Battle End Me Fade*==============================
#=========================Author: The Law G14==================================
#=============================Version 1.0======================================
#=======================*Edited by Night_Runner*===============================
#==============================================================================
#------------------------------------------------------------------------------

#==============================================================================
# ** Scene_Battle (part 1)
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias law_lbemf_scene_battle1_battle_end battle_end unless $@
  #--------------------------------------------------------------------------
  # * Battle Ends
  #     result : results (0:win 1:lose 2:escape)
  #--------------------------------------------------------------------------
  def battle_end(*args)
    fade_time = 1.5 # Second(s)
    # Fade the ME for a specified amount of time
    Audio.me_fade(fade_time * 1000)
    # After the specified amount of time, stop the me
    Thread.new { sleep(fade_time); Audio.me_stop }
    # Run the original battle_end
    return law_lbemf_scene_battle1_battle_end(*args)
  end
end


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
orcywoo6
post Jul 2 2010, 06:40 AM
Post #12


Black Mage
Group Icon

Group: Revolutionary
Posts: 130
Type: Event Designer
RM Skill: Advanced




QUOTE (Night_Runner @ Jul 2 2010, 05:35 AM) *
Okey dokey, I think I know what the specific problem is (it works fine with the battle camera smile.gif), and if it is what I think it is, this should fix it!

code
CODE
#------------------------------------------------------------------------------
#==============================================================================
#==============================================================================
#======================*Law's Battle End Me Fade*==============================
#=========================Author: The Law G14==================================
#=============================Version 1.0======================================
#=======================*Edited by Night_Runner*===============================
#==============================================================================
#------------------------------------------------------------------------------

#==============================================================================
# ** Scene_Battle (part 1)
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias law_lbemf_scene_battle1_battle_end battle_end unless $@
  #--------------------------------------------------------------------------
  # * Battle Ends
  #     result : results (0:win 1:lose 2:escape)
  #--------------------------------------------------------------------------
  def battle_end(*args)
    fade_time = 1.5 # Second(s)
    # Fade the ME for a specified amount of time
    Audio.me_fade(fade_time * 1000)
    # After the specified amount of time, stop the me
    Thread.new { sleep(fade_time); Audio.me_stop }
    # Run the original battle_end
    return law_lbemf_scene_battle1_battle_end(*args)
  end
end


Thanks so much for the help but the problem still persists sorry to be a pain tongue.gif


__________________________
<a href="http://www.points2shop.com/?ref=orcywoo6"><img src="http://points2shop.com//banners/61353" border="0"/></a>

"Sorrow. How do you prove that you exist...? Maybe we don't exist..." - Vivi
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Playstation Network</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Proud PS3 owner since my 360 betrayed me for the fourth and final time with RROD.
add me for a match or two if you want! :D

</div></div></div>
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] Can you read this?</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.</div></div></div>
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: 23rd May 2013 - 06:12 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker