The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Despise on November 05, 2009, 05:21:51 PM

Title: A back and fourth ship? (Please Delete this topic.)
Post by: Despise on November 05, 2009, 05:21:51 PM
I'm at the point in my game where I need to travel across the water but I want a ship to take me to a specific spot rather then letting the player control the ship. (Kinda like early in FF2) I just want the ship to go between the two towns. I Have an NPC in the town that I want to put you on the ship when you pay him. I was gonna do just a simple teleport... but i think this would be cooler. So if anyone knows how I would do that could you please make me a Tutorial? Thanks.
Title: Re: A back and fourth ship? (RM2K3)
Post by: shaz on November 05, 2009, 08:32:29 PM
Have the ship event on the maps with 2 tabs - tab 1 is unconditioned and shows the ship graphic, tab 2 uses a switch (we'll call it IN SHIP) and has no graphic.  You'll actually have two of these - one in each location, and they'll use the same switch as the trigger.

When the player pays for the journey, let them "get on" the ship - when they trigger the ship event's action trigger, make them walk into the ship, change the player direction to the ship direction (if you can in 2K3), change the player graphic to the ship graphic, turn on the IN SHIP switch (so there's only one ship).  Use a move route to get the player where you want them to go.  When they arrive, do the reverse - turn off the IN SHIP switch so the ship reappears, change the player graphic back, make them move away from the ship.

My terminology is for XP.  Hopefully you can do all these things in 2K3.