script request - Big&Small variation

Joined
Feb 6, 2006
Messages
796
Maybe with a certain idea about Master of Magic in my mind (!!), I need a particular map script type. I need two distinct world areas, that cannot communicate in any normal way (read it: two planes), and I think this means an horizontal barrier of mountains.
I need a script that (similarly to the Mirror script) generates two distinct Big&Small regions whose size if half the world size, and put them together, the first in the northern part of the map, the second in the southern part. These two parts are divided by the mountainous barrier.
I add a second "requirement", if it's not too difficult: the two regions should have at least a little number of corresponding land tiles. I mean, the tile X=3 Y=5 in the first region is land, and also the tile X=3 Y=5 in the second region(these tiles are where plane shift is possible).

Can anyone develop the script I need??
Or instead, just give me some hints about how I can do it by myself. I've a good experience in modding civ4 (xml, python, sdk), but I've never worked with map scripts.
 
I'm not volunteering, :D but what you want to do should be fairly easy. Just change the width of the map, generate as normal and then put a line of peaks down the middle with some randomness so it looks natural. It shouldn't matter if you cut across a continent as long as it looks kinda natural.

Selling that as two planes MoM style would be sorta hard unless you have two sets of terrain tiles. In that case you replace the terrains on half with its planar counterpart.
 
The best place to start is with the CvMapScriptInterface file. That has some helpful comments regarding the map generation process. Then just look at the map script you like best and start reading the code. Most of the map scripts that come with the game are fairly simple and you could probably figure it out easily.
 
Back
Top Bottom