Gw Temp

Menu

Tutorial - 'Time Travel / Teleportation Effect' by IceSage

An item about RPGMaker 2000 posted on

Blurb

How to create special events that simulate time travel or transportation between worlds

Body

I've seen a lot of simplistic tutorials on Gaming World, and now, here's another!
I will teach you how to use a Common Event in RPG Maker2000 that lets you teleport from one map, to another, will specail effects.. as if you were Time Traveling, or teleporting to another dimension. Take for instance, the Magic Mirror in the SNES Video Game, Zelda: A Link to the Past, where as Link used an item to go from the Light World, to Dark World.

There are two ways you could activate the Teleportation Effect. I'll teach you the first way.
>First, open up RM2k. (Duh.)
>Now open up the Database (F8), and select the ITEMS tab.
>Create a new Item, and name it something like, Time Machine, or Magic Crystal or whatever suits your game best. Now set the item's classification as SWITCH. So you can't sell it, set it's price at 0. Or if you wish set a price to it so you can sell it in your game! :D
>Now, set the NUMBER OF TIMES USED setting as Limitless. Give it a nifty description, and set it only to be available in FIELD.
>Now, for the ON Switch, Create a new switch called something like "TimeTravel" or again, whatever you wish, just as long as you remember what it is.

Now, click APPLY when you've finished and go to the Common Events TAB.
>Create a new Common Event, name it whatever you wish, "Time Travel" or whatever...
>Set the Event Start Condition to AUTO START.
>Set the Appearence Condition Switch to the switch you made for your ITEM.

Now in the Event Commands, do the following:

1. Double-Click so you can see the event commands, and select MEMORIZE PLACE.
2. Create 3 new varibles, name them something like MAP, MAP-X, MAP-Y. Now place the varibles to the appropriate places.
3. Now that you have that, now you want to put a FORK statement in. (Or, IF statement.) So, goto FORK Conditions, and in the Conditions TAB 1, select Variable, set the Varible for the MAP variable you used to Memorize your place, check off Add ELSE Case, and click OK. Just do this for now.
4. Now, click OK in the database and take a look at where you want to teleport from, and to. Say you have a map called, FUTURE and a map called PAST, and you wish to Travel from PAST to FUTURE, and vise versa. Right click on the FUTURE map and goto MAP PROPERTIES. At the top of the window that pops up, you should see something that says ID: and then you'll see some number following it. That's the MAP ID for FUTURE, right this down on a peice of paper or just remember it.. Now do the same for the PAST map, right-click on it and see what it's MAP ID is.
5. Now go back to your COMMON EVENTS in the Database. Now go back and edit the FORK STATEMENT you just created, and for the Varible in the fork statement, in the SET option, insert the number of your FUTURE map's MAP ID. Then click OK. Now add a CHANGE VARIABLE event inside of the FORK, now select the varible to change for the MAP varible you created for the Memorize Place, put your PAST map's ID in there, and click OK.
6. Now in the ELSE CASE, create another FORK CONDITION without an ELSE CASE. and put the PAST map's ID in it, and then create a CHANGE VAR inside the FORK for the MAP to your FUTURE map's Map ID.

Alright, with the above done you've just givin RM2k an idea of where to go when you activate your ITEM. Just create as many of those FORK STATEMENTS as you need, for each 2 maps. For example, you have a Castle in the Past, and a Castle in the Future, then do steps 3-6 again for the two Castle's maps. (It's easier to just copy the 1st one you made, and edit it...)

Okay, Now we have to tell RM2k to Teleport you to the new place....

1. First, add any specail effect you want to happen here, like a battle animation or a certain Teleport effect, add them right after the FORK STATEMENTs you've made.
2. Now create the command GOTO MEMORIZED PLACE, and put the MAP varible, the MAP-X and MAP-Y varibles in there.
3. Now, turn the switch you made for this Common Event OFF, and your done...

So, to those who got confused by what I just wrote, I'm just going to give you an example of what it should look like in RM2k's Event Editor..

The varible MAP will EQUAL varible 0001, MAP-X and MAP-Y are 0002 and 0003..
Future's MAP ID will be 1 and PAST's will be 2.
The Switch will be called TimeTravel

==================================

<>Memorize Place:MAP[0001], X[0002], Y[0003]
<>If Var(0001:MAP) 1
<>Change Var: Var[0001:MAP] (Set)- 2
<>
:Else Case
<>If Var(0001:MAP) 2
<>Change Var: Var[0001:MAP] (Set)- 1
<>
:End Case
<>
:End Case
<>Goto Memorized Place: V[0001] (V[0002],V[0003])
<>Change Switch: Var[0001:TimeTravel] Switch OFF


==================================

Now, if you want to add any effect, you put them before the Goto Memorized Place, and After the Goto Memorized Place. Here, I'll show you how to make it like you character has some sort of Animation go around him, vanish, Rm2k waits for a sec, shows the new map, does the Animation again...

=============================

<>Memorize Place:MAP[0001], X[0002], Y[0003]
<>If Var(0001:MAP) 1
<>Change Var: Var[0001:MAP] (Set)- 2
<>
:Else Case
<>If Var(0001:MAP) 2
<>Change Var: Var[0001:MAP] (Set)- 1
<>
:End Case
<>
:End Case
<>Change Screen Transition: Teleport/Erase - Leave
<>Change Screen Transition: Teleport/Show- Instant
<>Show Battle Animation: Hero Time Travel Effect - Hero (W)
<>Change Hero Walk Graphic: (Hero) blankcharset-1
<>Wait: 1.0sec
<>Goto Memorized Place: V[0001] (V[0002],V[0003])
<>Change Screen Transition: Teleport/Erase - Fade-in
<>Change Screen Transition: Teleport/Show- Fade-Out
<>Show Battle Animation: Hero Time Travel Effect - Hero (W)
<>Change Hero Walk Graphic: (Hero) HeroNormalCharSet-1
<>Wait: 1.0sec
<>Change Switch: Var[0001:TimeTravel] Switch OFF

===============================

Now then, that's basically how you do it... Here's an example for multiple maps for those of you who still don't understand! :P

================================

<>Memorize Place:MAP[0001], X[0002], Y[0003]
<>If Var(0001:MAP) 1
<>Change Var: Var[0001:MAP] (Set)- 2
<>
:Else Case
<>If Var(0001:MAP) 2
<>Change Var: Var[0001:MAP] (Set)- 1
<>
:End Case
<>
:End Case
<>If Var(0001:MAP) 3
<>Change Var: Var[0001:MAP] (Set)- 4
<>
:Else Case
<>If Var(0001:MAP) 4
<>Change Var: Var[0001:MAP] (Set)- 3
<>
:End Case
<>
:End Case
<>Change Screen Transition: Teleport/Erase - Leave
<>Change Screen Transition: Teleport/Show- Instant
<>Show Battle Animation: Hero Time Travel Effect - Hero (W)
<>Change Hero Walk Graphic: (Hero) blankcharset-1
<>Wait: 1.0sec
<>Goto Memorized Place: V[0001] (V[0002],V[0003])
<>Change Screen Transition: Teleport/Erase - Fade-in
<>Change Screen Transition: Teleport/Show- Fade-Out
<>Show Battle Animation: Hero Time Travel Effect - Hero (W)
<>Change Hero Walk Graphic: (Hero) HeroNormalCharSet-1
<>Wait: 1.0sec
<>Change Switch: Var[0001:TimeTravel] Switch OFF

===========================================

Now, I told you there was another way to do this.. Well, if you have a Custom Menu of some sort, you can also use this in your custom menu, instead of using an Item. Just somewhere in your custom menu, put something that Switches the event on! That's it!!

Well, I hope I didn't confuse any of you too much on this tutorial, if you have any question or comments, or want to harass me about my tutorial making skills, or if you wish to congradulate me on my tutorial making skills, please go right ahead! I also apologize for any stupid grammar and spelling mistakes I might have made! :P

Contact:

AIM: IceSage00
GamingWorld Name: IceSage
IRC Name: IceSage (Also try Rhailan and Moses! )
E-Mail: IceSageX@Hotmail.com
Extra: RPGMaker2000