Running Civ IV in batch mode

goddol

Chieftain
Joined
Mar 5, 2006
Messages
4
My apologies if this issue has been addressed previously:

I'm looking to run Civ IV in batch mode (no graphics) for research purposes. I would like to run games with no human players, and give the computer players different unit sets (i.e., disable certain units for certain players). I'm trying to see if it's better for the computer players never to consider certain units.

I am a fan of the game of course, but in order to get alot of results, I would really like to just run the game and look at the scores. Does this sound like it's in any way possible? I have looked through the SDK, but before I get into depth I was hoping that if what I'm trying to do is impossible, someone could tell me

Thanks for any help.
 
You can disable units per civ in their XML files (Civ4CivilizationInfos.xml), just look at how the Barbarians are setup.

The closest thing to running it in any sort of batch mode is to use autorun which you can do with a change to your Civ4 ini file, just enable AI Autoplay and specifiy how many turns you want it to run for. It runs the game though, graphics and all. Just be careful, whichever civ is assigned to the player will be controlled by the AI but they will use your playeroptions (like automated workers leave improvements) so make sure you disable those before you enable autoplay as that kicks in as soon as the game starts and you won't have a chance to change settings. Without access to the engine source I don't know if it's possible to run it any other way.
 
Thanks so much, this will at least get me going. I'm having some graphics card issues right now, so I can't test this out, but I will soon.

Thanks again.
 
Back
Top Bottom