Random Map Generator

Fallblau

Chieftain
Joined
Sep 16, 2005
Messages
91
Hey guys...

After Sirian said that his "Tilted_Axis" map made old-school random maps only with the poles skewed 90 degrees, I got to fiddling with it and came up with this script.

If anyone would be so kind as to fart around with it and see how it works, I'd appreciate it.

To use it, unzip and copy the file "Random_Maps.py" into your Civ4 "Public Maps" folder... It will then show up in the list as "Random_Maps" when you run a "Custom Game"... It still uses all of the same input parameters as Sirian's, so set 'em all to random and go...

Let me know how it works out... I've generated about sixteen so far, and aside from some occasional "super icecaps" occasionally showing up, it seems to go pretty good. One thing I have noticed, though, is that if you get a string of the same map type, it helps to clear the game cache as has been mentioned in several other places.

Good luck!

Fallblau

Link to Current Version: v0902

http://forums.civfanatics.com/attachment.php?attachmentid=102951&d=1131366092
 
First off, let me say that I like your idea and think you are heading in the right direction. But I think the output still needs some "tweaking"

Here is a sample of "Small Continent" setting...
 
Here is a sample of "Normal Continent" setting... Not too much of a difference. It seems all the land is clustering in long-narrow strips North to South.
 
And finally, "Massive Continents"... which I like, but would like to see it cluster in the east-west direction more. See the minimap in the lower left corner.
 
Fallblau said:
Thank for the input guys... I got one of those maps in my current game, but that's the first time I saw one like that out of maybe twenty or so...

I'll take a look and see what I can do...

Post some pics, I am curious to see what you are getting. I am expecting them to look like the Tilted maps, just with the poles at the N/S instead of E/W.
 
Lord_Iggy said:
How do you edit maps anyway?

Open your Civ IV INI file (C:\Program Files\Firaxis Games\Sid Meier's Civilization 4) by default.

Change "CheatCode = 0" to "CheatCode = chipotle"

Start a game as normal

Hit the <ESC> key and select "Enter WorldBuilder"

There rest is self-explanatory from there, but it helps to give your Civ the
Calendar tech, so you can zoom out and see the global view.

Edit your files by placing new terrain, units, etc. Don't worry if the ocean looks funny when you remove land. It will display correctly when you reload/play the map.

Save when finished. You can also double-click on any file with a Civ4WorldBuilderSave extension and open it right up.
 
OK, I fiddled with it a little more... I believe I was setting some stuff way out of range (even though who really knows minus the SDK...) before. So, after making the changes, here is what I get...

Image1.jpg

Image2.jpg

Image3.jpg

Image4.jpg

For the first fifteen, I set the world size to "Standard", all else to "Random". For the last ones, I set everything "Random". It still occasionally does some squirrely stuff, but for the most part, it seems OK...

I guess the ideal thing, really, would just be a "wrapper" script that would randomly that just randomly set map type, size, etc., but nowhere in the CvMapGeneratorUtil.py module do I see a function to "SET" anything (e.g., setWorldSize, setClimate, etc...). Only gathering user inputs...

For now, though, here is the latest version...
 

Attachments

  • Random_Maps_0902.zip
    2.4 KB · Views: 336
Apparently, for no reason I know of, or was informed of, this thread got moved from "User Created Maps" to the generic C&C folder...

If it was wrong to start it in the Map folder, I apologize, and this is just a bump so it doesn't get totally lost in the mist....
 
Keep up the great work! I'll definitely give this a go soon. One suggestion though, always have the latest available version in your first post so people don't miss out on it. :)
 
BomberEscort said:
Open your Civ IV INI file (C:\Program Files\Firaxis Games\Sid Meier's Civilization 4) by default.

Above address is incorrect - the actual file (Configuration Settings File) is located by default installation:

C:\documents and settings\username\my documents\my games\firaxis games\Sid Meier's Civilization 4\CivilizationIV Configuration Settings
 
Thanks for the input, guys... Since I've been using it myself for a while, and haven't seen any wierd problems, I'm going to state that it is in Version 1.00 status and put a post in the "Completed Modpacks" section... I will also rename it to "Fallblau_Random_Maps", as Low has done one as well....

Any further input is, of course, always welcome...
 
Top Bottom