RoseStark

Villager
Member
Joined
Nov 8, 2016
Messages
10
Reaction score
1
First Language
Portuguese
Primarily Uses
So I´m having trouble on how to change the boat graphic to the character graphic.


This is the scenary. I want to put the character on the boat and when the boat reached that event that it's selected, a cutscene happens.


Capturar2.PNG


I have created an event to transfer the player to the map I want. The only problem is that what it shows is the boat and not the player. This is how it looks:


Capturar.PNG


So how should I do it so the player shows instead of the boat? Because a boat on a boat just looks weird xD
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,961
Reaction score
11,897
First Language
German
Primarily Uses
RMMV
have the player exit the boat by event command directly before transfering.


However, the get on/off vehicle command only works if the player has something to get off to, so the boat needs to be facing land for that to work.


I suggest using a fadeout, transfer the boat to a place where the player can leave, exit and then transfer the player to that map before fading in on that map only.


It's a bit tricky in this sequence as you'll need to split commands - if you have problems, post what you have as screenshots after trying.
 

RoseStark

Villager
Member
Joined
Nov 8, 2016
Messages
10
Reaction score
1
First Language
Portuguese
Primarily Uses
I have done this. It's in portuguese so I'll have to translate. I have defined the player movement route to transparent on, then get out of the vehicle and then transparent off.


Capturar3.PNG


Now the player shows but it can't move and the boat still appears bellow, like this:


I have the region restriction so that the player can move on those tiles... 


Capturar4.PNG


I'm kinda new to rpg maker so I still don't know how to do some stuff like split commands.
 

Dad3353

Regular
Regular
Joined
Mar 9, 2016
Messages
421
Reaction score
113
First Language
English
I've done exactly this, leaving a Boat on the ocean to join the Deck of a Mapped Ship. Here's the transfer to the Deck, when sailing somewhere on the Ocean Map...

◆Play SE:Move1 (90, 100, 0)
◆Control Variables:#0017 Dumm_Region = Map ID
◆Control Variables:#0018 Dumm_X = Map X of Player
◆Control Variables:#0019 Dumm_Y = Map Y of Player
◆Control Variables:#0019 Dumm_Y += 1
◆Transfer Player:Ship_Deck (9,9) (Direction: Up)
◆Get on/off Vehicle
◆Set Vehicle Location:Ship, {Dumm_Region} ({Dumm_X},{Dumm_Y})



... and here's the return to the Boat on the Ocean Map...

◆Text:None, Window, Bottom
:    :Do you wish to return to sailing..?
◆Show Choices:Yes, No (Window, Right, #1, #2)
:When Yes 
  ◆Play SE:Move1 (90, 100, 0)
  ◆Control Variables:#0018 Dumm_X -= 1
  ◆Transfer Player:{Dumm_Region} ({Dumm_X},{Dumm_Y}) (Direction: Right)
  ◆Get on/off Vehicle
  ◆
:When No 
  ◆
:End



The 'Y+=1' when saving the Boat position is to place the Boat in a position where the Hero can step onto it. The return X-=1 does this, too.


Here'a video of the result...








Any good to you..?
 
Last edited by a moderator:

RoseStark

Villager
Member
Joined
Nov 8, 2016
Messages
10
Reaction score
1
First Language
Portuguese
Primarily Uses
The first step worked, he can now go on the ship without any problems. Thanks! :D


What isn't working is when I want to return to the boat on the sea. The player doesn't need to choose to navigate the ship in my case, because it's a cutscene and after they are done talking the scene should automatically transfer to the boat on the sea.


I have done this. I have defined that control variable, the transfer and the get in/get out of the vehicle.


1.PNG


This is what it looks like:


2.PNG


The map disappeared and now it shows a diferent ship and when I enter it the zeppelin appears on the same spot as the boat...very confusing :/
 

Dad3353

Regular
Regular
Joined
Mar 9, 2016
Messages
421
Reaction score
113
First Language
English
@RoseStark...


Look closer; you'll see that it's 'Dumm_X -=1' (minus equals 1...).


Check the Sender Event, to be sure that you've faithfully recorded that Map ID and the X/Y coordinates correctly. It looks as if the X/Y are correct, except for the 'X-=1' part; are you sure that the Map ID was correctly stored..? The 'Ship' Map has not, in fact, 'disappeared', it's just that the Hero has been transferred elsewhere. Check the value (using 'F9'...) of Dumm_Region to be sure that it corresponds to the Map ID you wish to return to.


To be continued..?
 

RoseStark

Villager
Member
Joined
Nov 8, 2016
Messages
10
Reaction score
1
First Language
Portuguese
Primarily Uses
I ended up fixing it another way. I couldn't transfer the player to the right map...I still have a lot to learn about control variables.


Anyways, thanks for the help! :)
 

Latest Threads

Latest Profile Posts

Reworked a bit on the UI. I'm pretty happy with how the status window turned out!
Rafael_UI.png
Be sure to check @casper667's page full of RM stuff as we are collabing together to bring out custom assets :kaohi:
4 more hours til I give my last final. And I couldn't bring my laptop to pass time this time due to the finals taking up all the space in my backpack.

Send help. Or a Steam Deck.
Thanks to my last two calendar days, the goddess can now join your heroes' party and whack your enemies with the power of love!
1702314770604.png
How are you gonna use all those new resources from the calendars?
I hate driving in games. Imagine your character profile being an exceptional individual, yet when they drive, it makes them look dumb.

Forum statistics

Threads
136,922
Messages
1,271,511
Members
180,713
Latest member
iDancer
Top