a way to save a hand-designed static map as a .py?

The Zombie

Chieftain
Joined
Jul 17, 2008
Messages
2
Hey all -- long time gamer and forum nut, first time civfanatics poster.

What I want to do is simple -- design by hand a map with everything placed exactly where I want in a .py format, so it can be selected as a normal map type for use in a normal multiplayer game.

I've scoured the forums and tried many ideas and a number of map generators, but always ran into one of a few problems... WB saves are no good as they can't be used as multiplayer maps. YAME was easy enough to use, but saves its files as WB saves. I tried another map editor that was missing features that I needed. I also found a python script (forgot the name) that lets you export WB maps to .py map generators, but it randomized resources rather than leave them just as I placed them. Etc, etc...

I imagine with as much info and as many scripts as there are scattered across these forums, there *must* be an easy solution to my problem. Am I missing something simple? A console command to export the current map to a .py script would be amazing. A program that converts WB saves to .py files verbatim would be equally good.

Help...? :)
 
With a map script you can pretty much do anything python can do, but what you are talking about hasn't been done yet. You might try drawing the map with text characters and then write a routine that converts it into map data. Also, WB saves are text files I believe so you could figure out how to parse just the plot data from your script. It will be alot of work any way you do it.
 
I think the last version of smart map does something like that , but i don't know about resources etc ... and this version get some problem with MP compatibility (not a big deal since you have to reconnect to the host) and i'm not sure about BtS compatibility because of the number of options. Parsing the WB file should not be so difficult ,but the player placement should be. If there are more or less player than in the scenario, what to do ? assign players is not easy in function of the map type you play.

Tcho !
 
I think the last version of smart map does something like that , but i don't know about resources etc ... and this version get some problem with MP compatibility (not a big deal since you have to reconnect to the host) and i'm not sure about BtS compatibility because of the number of options. Parsing the WB file should not be so difficult ,but the player placement should be. If there are more or less player than in the scenario, what to do ? assign players is not easy in function of the map type you play.

Tcho !

Once you have the plot data, you should be able to assign starts any way you would like, either fixed or random. Just like a normal map script at that point.
 
Once you have the plot data, you should be able to assign starts any way you would like, either fixed or random. Just like a normal map script at that point.

That's right ... but i really don't like the default player assignment :D.

I will perhaps add this option to the full of resources script if some players want that. But you should check samrt map first.

Tcho !
 
Back
Top Bottom