Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Super Simple Map Transition Scriptette
Super Simple Map Transition Scriptette
Version 1.0

Seriously? This few sets of lines was all that was missing to allow you to have something more than a fade-to effect when you go from one map to another? With this, you can use any of the 'transitions' in your Graphics\Transitions folder for map transitions as well as your battle transitions!

I do not qualify this as an actual script, but a scriptette. It is a small snippet that can be directly edited/inserted into your default script without hampering any other feature. The only thing that could be affected is if this edit is overwritten by another script that does not include this alteration.

All you need to do is perform some coder's surgery on Scene_Map. First, go to line 276 where you encounter this line:

That line performs your transition effect that lasts 20 frames, or 1/2 a second. HOWEVER, there is no graphic transition effect tied to it. It is a simple fade-to effect..... Let's change that!!!

Replace that one line with this bit of code:
    if $game_temp.transition_name == ""
        Graphics.transition(40, "Graphics/Transitions/" +
        $game_temp.transition_name = ""

This revision looks at the 'transition_name' value in your Game_Temp class. If this value is empty, it performs the traditional fade-to transition that lasts 20 frames. However, if the transition_name value does contain a filename, it performs a transition with the image stored within the Graphics/Transitions folder. And once completed, it erases the value stored making the system restored to a default setting.

To use, simply make a Script Call to assign a transition to the '$game_temp.transition_name' value before you run a 'Transfer Player' command:
@>Script Call: $game_temp.transition_name="017-Blind01"
@>Transfer Player[013: Mountain Pass] (053,102), Down

That's actually it!

Couldn't they just add a transition dropdown in the transfer player widget?
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]

Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
   Super Simple Vehicle System - Enhanced DerVVulfman 58 60,662 08-25-2021, 04:19 AM
Last Post: DerVVulfman
   DerVV's Simple Popup System DerVVulfman 4 7,769 10-08-2017, 04:53 PM
Last Post: DerVVulfman
   Super Simple MCISendString DerVVulfman 0 2,985 03-09-2017, 04:52 AM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced - Vehicle Placement DerVVulfman 2 4,151 05-22-2014, 04:42 AM
Last Post: DerVVulfman
   L's Simple Main Menu #1 - DMS Edit Landarma 4 8,334 01-18-2013, 07:13 AM
Last Post: Landarma
   Simple SP Bonus Damage DerVVulfman 4 6,503 05-01-2012, 06:32 PM
Last Post: DerVVulfman
   Super Simple Cursed Items DerVVulfman 0 3,292 03-22-2012, 03:34 AM
Last Post: DerVVulfman
   Super Simple Vehicle System: Caterpillar Compatability DerVVulfman 12 14,756 10-31-2011, 04:14 AM
Last Post: DerVVulfman
   Super Simple Vehicle Add-On: Script Call Transfer DerVVulfman 9 13,044 12-22-2010, 05:46 AM
Last Post: DerVVulfman
   L's Simple Main Menu #3 - 1-person Landarma 1 5,361 10-14-2010, 04:25 AM
Last Post: Landarma

Users browsing this thread: