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
186
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
186
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
186
First Language
Meowish
Primarily Uses
You're welcome!
 

Latest Threads

Latest Profile Posts

It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.
My ex put my heart upon a self he said don't give me no lines and keep my hands to myself :,(
An Old... old Harold | RPG Maker News #71

Did a test on myself and I was negative on COVID. I was sitting near my aunt the whole time while doing stuff.

Forum statistics

Threads
112,248
Messages
1,066,816
Members
145,854
Latest member
markikilouis231
Top