Need help understanding how this plugin works.

Okay... Link to the Plugin page: https://atelierrgss.wordpress.com/rmv-fast-travel/


Now with that out of the way, I'm gonna provide a legend of what I understand from this plugin and what I don't to make this was easy to explain what I need to know as possible.


Understand: Green


Don't Understand: Red


//=============================================================================
// ** TOWNS
//=============================================================================    
    Moghunter.fastTravel_Towns[1] = {name:"Marksburg",x:265,y:235,mapID:13,mapX:12,mapY:18,direction:8};
    Moghunter.fastTravel_Towns[2] = {name:"Hamil",x:444,y:900,mapID:14,mapX:11,mapY:2,direction:2};
   


Now What I need to know what what the part of this that's red stands for because I have no clue!


On a side note, it baffles me why mog makes his plugins non-user friendly by forcing us to open a text editor to make it do what we want. Maybe he just doesn't know how? i dunno.
To configure a map follow this example.


 Moghunter.fastTravel_Towns [A] = {B, C, D, E, F, G, H};


A - ID Point B - Map Name C - X-axis of the map. D - Y-axis of the map. And -. Map ID to be telepotado F - X-axis of the map to be teleported. G - map of Y-axis to be teleported. H - Direction. (2 - Down / 4 - Left / 6 - Right / 8 - Up)



A, B, C and D all refer to positions on the current / overview map.  E, F, G and H all refer to the map you're transferring to.  


So this:


 Moghunter.fastTravel_Towns[1] = {name:"Marksburg",x:265,y:235,mapID:13,mapX:12,mapY:18,direction:8};


means point 1 which appears at coordinates 265, 235 on the 'overview' map and is called Marksburg, will transfer you to map 13, tile 12, 18, with direction 8 (facing up).
ah ty.


Now I just need to figure out how to set custom cords...


I know there's a steam app that lets you position imgs out there but what about merely getting the cords for a location?


This plugin obliviously uses an extended map that scrolls along it so using that img position app won't cut it.
Just open your background in a graphics editor.  Move the mouse around to where you want your positions to be.  The status bar at the bottom should give you the coordinates.


I'm making the assumption the position is based on a top-left origin of the background image.


Try it with only one or two and see if it works properly, then if it does, go for broke 🙂

Original thread: https://forums.rpgmakerweb.com/threads/need-help-understanding-how-this-plugin-works.64184/