Is there a tutorial on modifying a map script?

The thing about map scripts is that you can do almost anything you want, any way you want, so each map scripter is likely to do things completely in his own way.

The best way to learn map scripting is from the file CvMapScriptInterface.py in the EntryPoints directory. There's some very helpful comments in there explaining the map making process.
 
The thing about map scripts is that you can do almost anything you want, any way you want, so each map scripter is likely to do things completely in his own way.

The best way to learn map scripting is from the file CvMapScriptInterface.py in the EntryPoints directory. There's some very helpful comments in there explaining the map making process.

Okay, thanks.

Actually, since it is your Perfect World script that I want to add your Creation civ placement script to, what part of the Creation script controls the civ placement?

Also, I like your SpiralGalaxy script for Final Frontier. It has a more natural feel than the script provided with the Final Frontier mod.
 
Are you looking to place certain civs in certain terrains? Is this for FFH or BTS? I think somebody did something for FFH recently, and I think there's another similar mod for normal Civ. Check the downloads database.

The Creation placement is actually very specific to that map. It goes by valley, and PW doesn't have any valleys.

I if you want to program in Python, I suggest getting the IDE from Python.org it really makes things alot easier. It has a class browser that let's you see all the functions in a script so you can research stuff.
 
Are you looking to place certain civs in certain terrains? Is this for FFH or BTS? I think somebody did something for FFH recently, and I think there's another similar mod for normal Civ. Check the downloads database.

The Creation placement is actually very specific to that map. It goes by valley, and PW doesn't have any valleys.

I if you want to program in Python, I suggest getting the IDE from Python.org it really makes things alot easier. It has a class browser that let's you see all the functions in a script so you can research stuff.
It would be for FFH and I'd like the civs in thematically appropriate places. Along with PW, there's a Tectonics script that generates the best Mediterraen-style maps, and Planet Generator, which has a lot of user-defined options. So I want to modify those as well.

Yes, someone did upload a Perfect World script modified for FFH, and I did try it. It appears to be broken, since it only generated a mass of tundra and rivers, with CoTS-sized islands of grassland for the civs starting places.

Ah, that complicates matters if the valleys are necessary. But perhaps there's another solution. Thank you for your help and the tip to visit Python.org.

(Although it won't happen immediately, since I have not had FFH for long and I'm seriously obsessed with it right now! Can't ... stop ... playing ... :D)
 
Back
Top Bottom