How to easily write and test map scripts?

LDeska

LDeska
Joined
Jan 22, 2003
Messages
415
Location
Poland
Hi,

I would like to write a map script for our community of multiplayer civ4 addicts :) (see end of post for addresses). Most of our games are played 1 on 1 and I wanted to modify Sirian's script Mirror.py. It looks that I can handle this but I wanted to ask you how do you run tests of those maps? Obvious way of doing it is for me to run civ4 in background, modify my script (in PublicMaps directory), switch to civ4, create new game, choose my map, choose settings, run map generation, then enter WorldBuilder and check the result. Next iteration: switch to editor, modify script, switch to civ4, go to main menu, create new game etc.
It seems quite long for me - is there no way to speed it up? Some interface that would accept python script and generate map from it and show it like in WorldBuilder? Maybe WorldBuilder has such option?

Thanks for help!
--
Leszek Deska
KAC = Klub Anonimowych Civ-maniaków: http://kac.civland.com/
KAC Forum: http://forum.civland.com/
KAC Ranking: http://forum.civland.com/ranking.php?lang=english
 
What I did was scripting, running Task manager, launching Civ IV in windowed mode.
Then creating a new game. Switch to World Builder. Click Map mode and regenerate map several times to see what it's like.
If you get a bug or something needs changing, use Task manager to kill civ IV (it's WAY faster than exiting from the game, particularly when you're not in windowed mode).
Repeat till you're happy or too tired to continue.
 
Back
Top Bottom