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
> ~[Random Battle Transition Script Ver. 1.0 ]~, Quick Simple Script Inspired By Guys In #RRR Channel
YanXie
post Apr 4 2008, 10:56 AM
Post #1


Because Tomorrow Will Surely Come...
Group Icon

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




Random Battle Transition Screen
Version 1.0
by puppeto4
Release Date: 05/04/2008


Introduction

Well,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. smile.gif


Features

Version 1.0
- Randomize battle transition screen from pictures as much as you want.


Script

Download it here:

[attachment=471:RandomBa...ansition.txt]

Or copy from this code:

[Show/Hide] RandomBattleTransitionScript
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



Customization

You 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 laugh.gif

Compatibility

Should work perfectly with any other scripts.

Screen Shot

Not needed tongue.gif

Demo

I'll do it if anybody ask for it smile.gif

Installation

Just copy the script and paste it under "Materials Section"

FAQ

None yet.

Terms And Conditions
Free 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 :

[Show/Hide] Click Here pl0x SYA!
2 scripts in a day,awesome huh?



⊂二二二( ^ω^)二⊃

cheers,puppeto4. smile.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
   
KaelAltreul
post Apr 4 2008, 12:27 PM
Post #2


Level 2
Group Icon

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




Awesome.
Go to the top of the page
 
+Quote Post
   
RoxasXIII
post Apr 4 2008, 02:01 PM
Post #3


No. XIII
Group Icon

Group: Revolutionary
Posts: 281
Type: None
RM Skill: Advanced




This will be useful. I will try find a way to change the battle transition depending on whaat terrain you are on.


__________________________
Go to the top of the page
 
+Quote Post
   
RoxasXIII
post Apr 4 2008, 02:16 PM
Post #4


No. XIII
Group Icon

Group: Revolutionary
Posts: 281
Type: None
RM Skill: Advanced




I found an easy to fix problem.On line 2 there is a series of = . Put a # at the beggining of the line to fix this.


__________________________
Go to the top of the page
 
+Quote Post
   
woratana
post Apr 4 2008, 04:29 PM
Post #5


Looking for scripter to hire? PM me *O*
Group Icon

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




Here is something I learned from Modern Algebra,

We don't need the line:
CODE
Transition = Array.new

because the variable is automatically be array when we use this:
CODE
Transition = ["BT01","BT02","BT03","BT04","BT05"]


smile.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
RoxasXIII
post Apr 4 2008, 05:43 PM
Post #6


No. XIII
Group Icon

Group: Revolutionary
Posts: 281
Type: None
RM Skill: Advanced




At first it did seem as if the line was pointless......Now I see it is pointless...Well im glad you pointed that out...O well......


__________________________
Go to the top of the page
 
+Quote Post
   
woratana
post Apr 4 2008, 07:11 PM
Post #7


Looking for scripter to hire? PM me *O*
Group Icon

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




However, that one line will not make game any slower.

That's why I just leave it like that in my random title screen script tongue.gif

(OK, that's my fault >_> sorry puppet~)


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
george30032
post Apr 10 2008, 07:54 PM
Post #8


Level 1
Group Icon

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




Can you add a demo mellow.gif
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: 20th June 2013 - 12:38 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker