Random Battle Transition ScreenVersion 1.0
by puppeto4
Release Date: 05/04/2008
IntroductionWell,while chatting in #RRR IRC Channel,Vale and Lostsoul(I don't know your forum nickname) asking me to write a script to randomize battle script.So I write one and finished in like 20 minutes.btw,this script is based on Woratana Random Title Screen,you inspired me pal.
FeaturesVersion 1.0- Randomize battle transition screen from pictures as much as you want.
ScriptDownload it here:
[attachment=471:RandomBa...ansition.txt]
Or copy from this code:
CODE
#================================
============================================
# ** RandomBattleTransition
#----------------------------------------------------------------------------
# Author : puppeto4
# Version : 1.0
# Date : 5th April 2008
#============================================================================
# This scrip will randomize battle transition
#
# You can set transition screen pictures to be random at line:
# Transition = ["filename","filename2","filename3",...]
# transition screen picture must be in folder "System"
#
# For example, Transition = ["Blur","Fade"]
# >> Transition Screen will random between pictures "Blur" and "Fade".
#=============================================================================
class Scene_Map < Scene_Base
Transition = Array.new
# Set Battle Transition Screen Pictures here!
Transition = ["BT01","BT02","BT03","BT04","BT05"]
#--------------------------------------------------------------------------
# * Execute Pre-battle Transition
#--------------------------------------------------------------------------
def perform_battle_transition
transition_random = rand(Transition.size)
Graphics.transition(80, "Graphics/System/" + (Transition[transition_random].to_s) , 80)
Graphics.freeze
end
end
CustomizationYou can set the pictures that will be in random list for battle transition screen at this line:
CODE
Transition = ["filename","filename2","filename3",...]
put your file's name in double quote
"filename", and seperate pictures with
,The file name don't need file type (e.g. .jpg,.png), and must be in folder "System"
For Example,
CODE
Title = ["ice","water","fire","earth"]
The battle transition screen will random between the files "ice" or "water" or "fire" or "earth".
You can add pictures to be random as much as you want
CompatibilityShould work perfectly with any other scripts.
Screen ShotNot needed
DemoI'll do it if anybody ask for it
InstallationJust copy the script and paste it under "Materials Section"
FAQNone yet.
Terms And ConditionsFree for use in your non-commercial work if credit included. If your project is commercial, please contact me.
Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.
And SYA :
2 scripts in a day,awesome huh?
⊂二二二( ^ω^)二⊃
cheers,puppeto4.