2- open a new instance of MV and create a new project, lets call it "MapFactory" for reference.
3- import your relevant tile set and make sure to match its tile set ID to the one in your main Project.
4-create your map (map 1000) and save.
5-navigate to the data folder of "MapFactory" and rename it to Map1000.json.
7-copy and paste into the "data" Folder of your main project. notice how MV ignores this file?
8. now the ID of the map is stored in MapInfos.Json, were going to need that data. we can't just paste in map Infos because MV will overwrite it.
9.folder create a new file called MapInfoEx.Json, this file will contain all maps Information above 999.
10. locate MapInfos.json in the MapFactory Data folder and open it.
11. copy the line that was used with your map1000. in this case our ID would be 1.
becuase it was the first map created in MapFactory.
12. paste that line in MapInfosEx.json.
13- Vanilla database won't load it automatically, so you will need to load its data manually with a script call.
and regrettably we can't create global vars with script calls. so we will be forced to create a plugin. or append $dataMap;
lets try the latter.
14. this script call will let you load maps with an id greater than 999, be sure to call it when the game starts. sooner the better.
Code:
var BML_DataManager_loadMapData = DataManager.loadMapData;
DataManager.loadMapData = function(mapId) {
if(madId > 999) {
var filename = 'Map%1.json'.format(mapId.padZero(4));
this._mapLoader = ResourceHandler.createLoader('data/' + filename, this.loadDataFile.bind(this, '$dataMap', filename));
this.loadDataFile('$dataMap', filename);
} else {
BML_DataManager_loadMapData.call(this,mapId);
}
};
15. this script call will append $dataMapInfos. again sooner the better.
Code:
DataManager.loadDataFile('$dataMapInfos', "maps/MapInfosEx.json");
16. you transfer to the maps with this script call.
Transfer Player event commands will not work on maps in the 1000 - Infnity range.
Code:
$gamePlayer.reserveTransfer(1000, x, y, direction, fadetype);
if you need reference to the other values check out
this
17. done!!