Resource icon

Parallel Maps 2016-10-05

Current Version: Beta 1.01

You can find the thread here.

Parallel Maps is a mod which allows one game to hold several different maps, which can be switched between to manage several different worlds in the same game.

This is not an actual mod, and so some XML, python, and/or SDK modding is necessary before you can use the map-switching feature. The modified SDK files are included in the download, and all changes are commented with 'Parallel Maps'.

The following functions are exposed to python:
Spoiler python functions :

enum MapTypes {
NO_MAP = -1,
INITIAL_MAP,
MAX_MAPS = 10
// This is more of a precaution than anything. You can make this value anything you like, but
// I thought I should have some form of checking so that the game doesn't allocate memory for
// a huge amount of maps.​
};
MapTypes CyGame::getCurrentMap()
void CyGame::changeCurrentMap()
void CyGame::setCurrentMap(MapTypes eNewMap)
int CyGlobalContext::getNumMapInfos()
CvMapInfo CyGlobalContext::getMapInfo(MapTypes eMap)
CyMap* CyGlobalContext::getMapByIndex(MapTypes eIndex)
void CyGlobalContext::switchMap(MapTypes eMap = NO_MAP)
// this function can take an argument to specify which map to switch
// to, or it can take 0 arguments and switch to the next map​
int CvMapInfo::getGridWidth()
int CvMapInfo::getGridHeight()
bool CvMapInfo::isWrapX()
bool CvMapInfo::isWrapY()
string CvMapInfo::getInitialWBMap()
string CvMapInfo::getMapScript()
MapTypes CyMap::getType()
void CyMap::setType(MapTypes eNewType)


The screenshots below show the same location on the original game map and the second map after it has been switched to.
  • civ4screenshot0002_WtL.jpg
    civ4screenshot0002_WtL.jpg
    424.3 KB · Views: 314
  • civ4screenshot0003_zv6.jpg
    civ4screenshot0003_zv6.jpg
    433.8 KB · Views: 227
Author
LyTning94
Downloads
514
Views
668
First release
Last update

Ratings

4.00 star(s) 1 ratings
Back
Top Bottom