Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 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,348
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
   
 
Start new topic
Replies
Night_Runner
post Jul 1 2010, 08:35 PM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,529
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 #3


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: 19th June 2013 - 09:37 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker