PhoenixX92

The Light Bearer
Veteran
Joined
Jun 28, 2015
Messages
219
Reaction score
95
First Language
English
Primarily Uses
RMMV
How do I go about putting a boat down in two areas on the same map?

I have two closed in bodies of water, and I'd like to be able to have a different one in each place.

Duplicate Boat.jpg

Just an example picture there, the bodies of water would be completely separated from the deep waters, so the same boat nor the ship can access the second body of shallow water.

How do I go about getting the boat in two places without having to use an event to move it out of the first body of water, and make it spawn in a second one?

There seems to be no option to add a second boat, so I'm clueless on how to go forwards with this.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
185
First Language
Meowish
Primarily Uses
You don't need a script for that.

You can change either the ship/boat graphic via eventing only.

So simply put a ship and a boat and change the ship's picture to boat.

You can change the position of the vehicles via eventing too. So you can easily set up the ship (changing the graphic back) else where when you need it.

edit:

if you need to make the ship works 100% like the boat, you will need a small script edit.

that is, only if you agree to use ship as boat. i can do a quick script for you to interchange boat and script passage check if you want, even make it switch-able using a game switch.

edit again:

Done. Set the switch ID in the script and turn it on/off in the game. On = Boat, Off = Ship

Code:
#==============================================================================# ■ Meow Face Ship to Boat#------------------------------------------------------------------------------# Change Ship passage to Boat based on a Switch#==============================================================================module MEOWSHIP #DO NOT REMOVE!#==============================================================================# Settings Area#==============================================================================  SWITCH = 1 #Switch ID for changing ship to boat (on for boat/ off for ship)#==============================================================================# End of Settings Area# Edit anything past this line at your own risk!#==============================================================================endclass Game_Map  def ship_passable?(x, y)    if $game_switches[MEOWSHIP::SWITCH]      check_passage(x, y, 0x0200)    else      check_passage(x, y, 0x0400)    end  endend
 
Last edited by a moderator:

PhoenixX92

The Light Bearer
Veteran
Joined
Jun 28, 2015
Messages
219
Reaction score
95
First Language
English
Primarily Uses
RMMV
You don't need a script for that.

You can change either the ship/boat graphic via eventing only.

So simply put a ship and a boat and change the ship's picture to boat.

You can change the position of the vehicles via eventing too. So you can easily set up the ship (changing the graphic back) else where when you need it.
Now see, that's the issue... I actually need both the ship and the boat.The ship for deep waters that go from continent to continent, and the boats simply to traverse shallow waters that are enclosed in other continents.

I mean, I guess I could surround the bodies of water with events that call the boat to a dock on the map if there's no other way around it other than using a script.
 
Last edited by a moderator:

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
185
First Language
Meowish
Primarily Uses
The script is done in the edited post above, it should allow you to use the ship as boat and change it back to ship easily using a switch to change its passage.
 

PhoenixX92

The Light Bearer
Veteran
Joined
Jun 28, 2015
Messages
219
Reaction score
95
First Language
English
Primarily Uses
RMMV
The script is done in the edited post above, it should allow you to use the ship as boat and change it back to ship easily using a switch to change its passage.
Thank you.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
185
First Language
Meowish
Primarily Uses
You're welcome!
 

Latest Threads

Latest Profile Posts

How funny would it be if one of us remade "The Town With No Name" in RPG Maker?
I miss my friends from the work experience program... maybe once I move, I'll have a little party with them. I'll even show them my games and perhaps my puppets. Did you know I make working puppets?
Episode 18 is here. We're still making a game in RPG Maker MZ. This week, let's make that cliff map look awesome with the new tiles we made last week! Join us live, now!

I just watched the CG movie HARLOCK: Space Pirate, a retelling of the anime Harlock story. It was pretty awesome, and has given me some inspiration for my space game, at least for parts of it.
How comes, when you are fearful to log anywhere, that somebody close passed from COVID and you learn too late, you suddenly are mortified that others who almost share BDay dates didn't answer the art you made for them?

Forum statistics

Threads
111,218
Messages
1,059,362
Members
144,478
Latest member
lamgiaytogia
Top