[RMMV] Manually changing map ID values or using map names for player transfers?

Long story short, I have a concept for a game that requires that I have some maps be tied to a specific number in the range of 100-999 for the sake of player transfers, and if I can't manually edit the ID for a given map, executing this concept will be absurdly time consuming and convoluted. I just need to know if there's a way for me to set the game's ID for a map to a number of my choosing, rather than just having the ID increase by one every time I make a new map.

Alternatively, if it's possible (and maybe even easier to do), if I can just have a way to make a player transfer that uses the map NAME instead of the ID, that could also work, provided that I can still use a numerical variable to compare to the map's name. For example, if I have a variable with the value "312" and I name a map "312", being able to have some sort of check to find a map with the same name as the value of the variable in order to then transfer the player to that map would be perfect.
Long story short, I have a concept for a game that requires that I have some maps be tied to a specific number in the range of 100-999 for the sake of player transfers, and if I can't manually edit the ID for a given map, executing this concept will be absurdly time consuming and convoluted. I just need to know if there's a way for me to set the game's ID for a map to a number of my choosing, rather than just having the ID increase by one every time I make a new map.

Alternatively, if it's possible (and maybe even easier to do), if I can just have a way to make a player transfer that uses the map NAME instead of the ID, that could also work, provided that I can still use a numerical variable to compare to the map's name. For example, if I have a variable with the value "312" and I name a map "312", being able to have some sort of check to find a map with the same name as the value of the variable in order to then transfer the player to that map would be perfect.
If you wanted to go the ID route, you could edit mapinfos.json directly with the IDs you want, but that would also require modifying all of your transfer event commands (unless you had dummy maps and had already selected the correct ID)

Alternatively, mapinfos.json contains the map names, so you can use a script to find the map ID of the one matching a particular name.
Maybe you could just shift the range down? E.g.
  • Variable value is calculated as usual, giving value 100~999;
  • Subtract a fixed value from that to determine the map ID.
E.g. if the value is 123, you could subtract 99 from that to give 24 => transfer to map 24. This would work in reverse, too, just add instead of subtract~
executing this concept will be absurdly time consuming and convoluted.
half the time when I read something like this, the cause for the "convolution" is that the poster didn't know the engine enough to use the simple way and used a needlessly complex workaround.
Especially if that post is from a relatively new member.

I strongly suggest you give us a description of that concept so that we can see if there is a better way to handle it than whatever you think of doing.
And by better description I mean a description of what the player is supposed to see/handle, not of the mathematics of how you plan to do an unknown something
half the time when I read something like this, the cause for the "convolution" is that the poster didn't know the engine enough to use the simple way and used a needlessly complex workaround.
Especially if that post is from a relatively new member.

I strongly suggest you give us a description of that concept so that we can see if there is a better way to handle it than whatever you think of doing.
And by better description I mean a description of what the player is supposed to see/handle, not of the mathematics of how you plan to do an unknown something
The more I work on the project, the more it's looking like I really don't need to do any of what I thought I'd need to in the first place, the 'convolution' of what I thought would happen really... isn't that at all. I was thinking too far ahead more than I was anything else, and adding direct transfers to each map as I'm putting them together is most likely going to wind up being way easier to handle than the original idea of using IDs.

Regardless, the concept is that a player uses a control panel to put in a sequence of numbers, and each number combination sets a different destination for a door the player goes through afterwards. I was originally thinking I just use the map ID as a way to easily line up all the numbers, but there's no chance I'm going to be able to get all of them so quickly. I also thought that manually linking all of the destinations to the numbers one at a time and setting a direct player transfer for every one would be the reasoning for calling it "time consuming and convoluted," but honestly it doesn't seem anywhere near as bad as I expected it to be. I don't have all of these maps created yet, so I really was just thinking WAY too far ahead.

Now I'm at the point where I'm really not sure what to do about the thread here, because even if I got an answer to the original question, I don't exactly need it anymore?
Now I'm at the point where I'm really not sure what to do about the thread here, because even if I got an answer to the original question, I don't exactly need it anymore?
You can always Report your first post and ask the moderators to close the thread.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-manually-changing-map-id-values-or-using-map-names-for-player-transfers.146600/