Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
Problem set: I'm currently utilizing the airship setup from this link to enable the characters to move around inside the airship (SCREENSHOT ATTACHED):



I'm also using these applicable plugins to support what I'm trying to do:

Yanfly's Button Common Events

Galv's MV Vehicle On/Off Locations

Mog_TimeSytem

The long-short version of the problem is that our player starts with a rather regular airship and eventually finds a timeship like the Epoch in Chrono Trigger. Through common events, changing the airship into a timeship is the easy part. Once the player has the timeship, they gain the ability to time travel using the time crystal in the engine room of the airship via Mog's time system by changing the YEAR variable, which is also easy.

The hard part is that I'm utilizing three different maps (past, present, and future). The end state is to have the timeship move from one time period to another (move from one map to another to the EXACT same grid location of the map the player left; the map is the same size and shape, but looks different given it is a different era) utilizing the time crystal onboard the timeship. Any help transitioning the airship (and player given they're located inside the TIMESHIP map) between maps would be greatly appreciated. I do not even have a clue where to begin. Thanks!
 

Attachments

  • Airship_Transfer.jpg
    Airship_Transfer.jpg
    88.8 KB · Views: 10
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,991
Reaction score
10,554
First Language
German
Primarily Uses
RMMV
use the variables to store the coordinates (the game data section). Modify the variable for the map id to target the correct map depending on where you want to go.
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
use the variables to store the coordinates (the game data section). Modify the variable for the map id to target the correct map depending on where you want to go.
I'm already using the variables for the airship (4921 - 4923) and player (4924 - 4926)-created in the aforementioned interior airship tutorial. Would I need two more sets of airship and player variables to store locations in different maps? Sorry, I'm rather new to map variable storage eventing. So I don't know how to do what you're instructing.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,991
Reaction score
10,554
First Language
German
Primarily Uses
RMMV
it depends on how you use the variables, and your info didn't include enough for me to guess that.

some people would need another full set, other ways need only a partial set of variables or use some constants between. And I don't have time at the moment to write a complete description.
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
it depends on how you use the variables, and your info didn't include enough for me to guess that.

some people would need another full set, other ways need only a partial set of variables or use some constants between. And I don't have time at the moment to write a complete description.
No worries, and I understand. I ATTACHED the common event utilized by the time crystal onboard the timeship, so hopefully, someone can give guidance on the way ahead. For now, the ship transfers to the map in "airship flight mode" to the same location in all three eras, which is better than nothing. So if someone knows how to do the aforementioned task, at this point, I'll consider it a bonus. Thanks!
 

Attachments

  • Time Travel to Past.jpg
    Time Travel to Past.jpg
    78 KB · Views: 12

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,657
Reaction score
5,416
First Language
English
Primarily Uses
RMMV
I'm very confused by what your question is. You aren't helping anything with your long chunks of flavor text describing the setting of your game.

For your question, it doesn't matter about a timeship and crystal and when the player finds it and all of that. We just need to know what, mechanically, you are trying to do, what's happening now when you try, and what isn't working about it.

Are you simply trying to move your airship vehicle from one map to another at the same coordinates? Or something else?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,527
Reaction score
16,419
First Language
English
Primarily Uses
RMMV
Your transfer commands are to a specific location - they aren't using variables.

Does the player transfer from one of these maps to another, or do they transfer to an "airship room", where they can choose where to go, and then it sends them to the appropriate map, but the same coordinates they were on prior to entering the "airship room"?

If that's the case, you need to save the current map and player's X and Y coordinates into variables before entering the "airship room/map", then once they've chosen their destination, only change the map variable. Do your vehicle location to put the vehicle on the new map, then a transfer player using the variables rather than a fixed map id and cordinates.
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
I'm very confused by what your question is. You aren't helping anything with your long chunks of flavor text describing the setting of your game.

For your question, it doesn't matter about a timeship and crystal and when the player finds it and all of that. We just need to know what, mechanically, you are trying to do, what's happening now when you try, and what isn't working about it.

Are you simply trying to move your airship vehicle from one map to another at the same coordinates? Or something else?
Straight to the point, got it. Yes, I'm trying to move the airship between three different maps of the same size to the exact same location. Sorry for the confusion.
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
Your transfer commands are to a specific location - they aren't using variables.

Does the player transfer from one of these maps to another, or do they transfer to an "airship room", where they can choose where to go, and then it sends them to the appropriate map, but the same coordinates they were on prior to entering the "airship room"?

If that's the case, you need to save the current map and player's X and Y coordinates into variables before entering the "airship room/map", then once they've chosen their destination, only change the map variable. Do your vehicle location to put the vehicle on the new map, then a transfer player using the variables rather than a fixed map id and cordinates.
The tricky part (for me) is I only know how to store variables for the map the player was currently on (map A) and not for the map I'm trying to transfer them to which is "map B". The player starts the action INSIDE the airship room/map. Desired state is when the player does said action inside the airship, the player (and the airship) are then transferred to "map B" to the same coordinates. Meaning after the action is performed, the player is outside the AIRSHIP in "flight mode" to the same coordinates from "map A" now on "map B."

Would you please let me know if there's anything I need to reexplain? Forgive me if I'm not explaining this correctly.
 

QuexpRPG

QUEst EXPlorer :)
Veteran
Joined
Jun 18, 2018
Messages
665
Reaction score
1,470
First Language
English
Primarily Uses
RMMZ
Sorry for the confusion.
Forgive me if I'm not explaining this correctly.
I just want to chime in to say there's no need to apologize as you've made great effort to give details! Heck, you even thought to share screenshots!

It can be hard to think of every "nook and cranny". Then some people want only technical stuff while others need to know what's happening in gameplay too. We're all just wired differently, right?

Plus, you gave descriptive details when people helping asked questions. By the way, I enjoyed reading your post - cool idea. :)
 
Last edited:

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
1,079
Reaction score
524
First Language
english
Primarily Uses
RMMV
your 1st screenshot shows you setting variables for map, x, y but the 2nd screenshot isnt using the variables.

while on world map
set variables map ID, map X, map Y
fade out screen
get off the vehicle
transfer player: "direct destination" airship map
fade in screen

while in the airship
talk to time crystal = change variable map ID (dont change X and Y)
fade out screen
transfer player "destination with variables" map ID, map X, map Y
set vehicle location: airship "destination with variables" map ID, map X, map Y
get on vehicle
fade in screen

and thats about it. only 1 set of variables.

no plugins are actually required, they only change how you board the airship and have no effect on the eventing for leaving the airship.
(there's youtube videos for how to do it with only eventing)
 

Attachments

  • Untitled.png
    Untitled.png
    119.8 KB · Views: 2

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
your 1st screenshot shows you setting variables for map, x, y but the 2nd screenshot isnt using the variables.

while on world map
set variables map ID, map X, map Y
fade out screen
get off the vehicle
transfer player: "direct destination" airship map
fade in screen

while in the airship
talk to time crystal = change variable map ID (dont change X and Y)
fade out screen
transfer player "destination with variables" map ID, map X, map Y
set vehicle location: airship "destination with variables" map ID, map X, map Y
get on vehicle
fade in screen

and thats about it. only 1 set of variables.

no plugins are actually required, they only change how you board the airship and have no effect on the eventing for leaving the airship.
(there's youtube videos for how to do it with only eventing)
Thanks! I'll give this a try!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,527
Reaction score
16,419
First Language
English
Primarily Uses
RMMV
If you are on Map A and your coordinates are 15, 30
Then you go into the airship which is Map Z
And say you want to go to Map B

if you want to end up at coordinates 15, 30 on Map B, then you need to save the player's X and Y position when you are on Map A, before transferring to the airship.

Then when the player chooses what map they want to go to, you just have to change the Map ID variable to the map id that they want to transfer to.
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
your 1st screenshot shows you setting variables for map, x, y but the 2nd screenshot isnt using the variables.

while on world map
set variables map ID, map X, map Y
fade out screen
get off the vehicle
transfer player: "direct destination" airship map
fade in screen

while in the airship
talk to time crystal = change variable map ID (dont change X and Y)
fade out screen
transfer player "destination with variables" map ID, map X, map Y
set vehicle location: airship "destination with variables" map ID, map X, map Y
get on vehicle
fade in screen

and thats about it. only 1 set of variables.

no plugins are actually required, they only change how you board the airship and have no effect on the eventing for leaving the airship.
(there's youtube videos for how to do it with only eventing)
I ATTACHED the two sets of variables utilized in the tutorial that I created for this project and given I'm new to this concept not sure why it needed two sets.

When I tried it with one set of variables and set it up as you suggested, I ended up flying inside the airship with the airship. I tweaked it and eliminated that problem, but now I'm arriving at the new destined map I'm trying to transfer to at the point I took off (got on the airship) from the other map.
 

Attachments

  • airship variables.jpg
    airship variables.jpg
    9 KB · Views: 1
Last edited:

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
If you are on Map A and your coordinates are 15, 30
Then you go into the airship which is Map Z
And say you want to go to Map B

if you want to end up at coordinates 15, 30 on Map B, then you need to save the player's X and Y position when you are on Map A, before transferring to the airship.

Then when the player chooses what map they want to go to, you just have to change the Map ID variable to the map id that they want to transfer to.
ATTACHED is what I've attempted. The first is the SCREENSHOT showing transfer from airship FLIGHT MODE on MAP A to airship INTERIOR MAP Z, and the second SCREENSHOT shows transfer from airship interior to MAP B.

I attempted to set the variable PLAYER_MAP_ID to in the second SCREENSHOT to "349," which is the MAP ID of MAP B.
So far, no luck. Thanks!
 

Attachments

  • Timeship IN-FLIGHT to Timeship INTERIOR.jpg
    Timeship IN-FLIGHT to Timeship INTERIOR.jpg
    38.5 KB · Views: 2
  • PRESENT to PAST.jpg
    PRESENT to PAST.jpg
    61.5 KB · Views: 2
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,527
Reaction score
16,419
First Language
English
Primarily Uses
RMMV
Yeah, I see a couple of places where you've gone wrong.

Assuming your airship vehicle and player position will be the same, and that you are going from Map A which is airship flight mode, to Map Z which is the airship interior, then to Map B which is a different map but still airship flight mode, you don't even need a second set of variables for the airship position.

change the first event to this:
Code:
...
Fadeout Sccreen
Control Variables: #4925 Player X = Map X of Player
Control Variables: #4926 Player Y = Map Y of Player
Transfer Player ...

and remove the Set Vehicle Location command (you don't know where the vehicle needs to go until AFTER the player selects the new destination).

Then change the second event to this:
Code:
...
Control Variables: #4924 Player Map ID = 349
Set Vehicle Location: Airship to {Player Map ID} {Player X} {Player Y}
wait ...
get on/off vehicle
wait ...
Transfer Player: {Player Map ID} {Player X} {Player Y}
 

Guy_Fightmaster

Veteran
Veteran
Joined
Aug 14, 2019
Messages
173
Reaction score
19
First Language
English
Primarily Uses
RMMV
Yeah, I see a couple of places where you've gone wrong.

Assuming your airship vehicle and player position will be the same, and that you are going from Map A which is airship flight mode, to Map Z which is the airship interior, then to Map B which is a different map but still airship flight mode, you don't even need a second set of variables for the airship position.

change the first event to this:
Code:
...
Fadeout Sccreen
Control Variables: #4925 Player X = Map X of Player
Control Variables: #4926 Player Y = Map Y of Player
Transfer Player ...

and remove the Set Vehicle Location command (you don't know where the vehicle needs to go until AFTER the player selects the new destination).

Then change the second event to this:
Code:
...
Control Variables: #4924 Player Map ID = 349
Set Vehicle Location: Airship to {Player Map ID} {Player X} {Player Y}
wait ...
get on/off vehicle
wait ...
Transfer Player: {Player Map ID} {Player X} {Player Y}
Corrected screenshots below. Unfortunately, I wound up in airship flight mode inside MapZ airship interior when I pressed the hotkey to go from Map A to Z.
 

Attachments

  • Timeship IN-FLIGHT to Timeship INTERIOR.jpg
    Timeship IN-FLIGHT to Timeship INTERIOR.jpg
    38.5 KB · Views: 3
  • PRESENT to PAST.jpg
    PRESENT to PAST.jpg
    61.5 KB · Views: 3

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,527
Reaction score
16,419
First Language
English
Primarily Uses
RMMV
What is the map ID of the MapZ airship interior? Seems like that's map 349? What is the map ID of map B?
 

Latest Threads

Latest Profile Posts

If you are ever looking for your cat among a room full of identical looking cats just find the one that is doing it's best to ignore you.
Isn't "tableau" such a fun word to say? Even better is that our resident artists know what it means without google and probably get to say it regularly.
ScreenShot_3_27_2023_4_30_39.png
one of the benefits of doing almost all the assets myself is being able to add my friend's OC from his comic book into my game as an NPC.
Quick survey: How much of importance is the game UI for your experience, as a player and game designer?
I'm returning to the first game engine I've ever used, RPG Maker MV :D

Forum statistics

Threads
129,891
Messages
1,206,009
Members
171,066
Latest member
BubblegumPatty
Top