View Full Version : How do you add tiles to existing map?


explorer2
Mar 19, 2007, 10:48 PM
Anyone know how to ADD tiles to an existing map (not change, actually create a larger map from existing one)?
I've looked everywhere and can't find anything.
Any help greatly appreciated.
It would make improving accuracy of some existing scenarios FAR easier.
Thanks.

EmperorFool
Mar 19, 2007, 11:31 PM
The WorldBuilder save file is a fairly straight-forward text file. Open it up in Notepad or some other text editor and start by looking for this block:

BeginMap
grid width=64
grid height=40
...
num plots written=2560

Change these three values and then add as many plots as necessary:

BeginPlot
x=0,y=0
TerrainType=TERRAIN_OCEAN
PlotType=3
TeamReveal=
EndPlot

Note that I haven't done this myself, but that's what I'd try first after looking at the file for a minute.

primordial stew
Mar 20, 2007, 02:14 AM
If you know perl you can just hack this: http://forums.civfanatics.com/uploads/61935/adjust_map.zip

It takes the current map as STDIN, and creates "newmap".

As is it removes the bottom row of tiles, and adds 5 more collumns of tundra to the easter side of the map.

explorer2
Mar 21, 2007, 10:33 PM
Emperor Fool-
Tried this and surprisingly did not work. Though the WorldBuilder Save file was definitely changed the map did not change at all!!!
Quite surprising. I bet there is some sort of lock on map somewhere.


primordial stew-
Wish I knew programming, would certainly come in handy for modding Civ4, but alas, I know no languages and not really wanting to learn any.

Thanks to both of you for answering. If any other ideas, please let me know.

Paasky
Mar 22, 2007, 02:00 AM
There's a program that can do this. But what I use is YAME, it's an excel spreadsheet that loads, edits & saves wbs files. You can open both civ4 & warlords files with it. But not that all improvements & cities are deleted if you use it.

explorer2
Mar 22, 2007, 02:58 PM
Paasky:
Thanks. I'm not willing to lose the cities and improvements on my import, so YAME won't work.
Do you know the name of the other program and where I can find it?

Emperor Fool:
Your method worked after all. Not sure what I was doing wrong first time.
It....is....very.....tedious.....though......
But sure better than nothing.

Thanks all!

Also would anyone happen to know how you can make rivers impassable except where a road/railroad is?

Arvedui
Mar 30, 2007, 09:17 AM
Explorer2, from my experience, the problem may have to do with caching... Not sure, though.