View Full Version : Civ4HandicapInfo.xml file questions


gautam
Feb 08, 2006, 08:27 PM
Hi,

In XML file Civ4HandicapInfo.xml what is <iStartingLocPercent>60</iStartingLocPercent> used for.

Also I was trying to spawn more barbarian cities by doing the following in settler mode
<iBarbarianCityCreationProb>90</iBarbarianCityCreationProb>
as someone tried in a different post. Can anyone tell me how the following tags affect this

<iUnownedTilesPerBarbarianCity>110</iUnownedTilesPerBarbarianCity>
<iBarbarianCreationTurnsElapsed>25</iBarbarianCreationTurnsElapsed>
<iBarbarianCityCreationTurnsElapsed>30</iBarbarianCityCreationTurnsElapsed>

I am guessing the CityCreationTurnsElaspes is the number of turns to build a barbarian city and the CreationTurnsElapsed is the number of turns for a barbarian to be created and the tiles imply the number of tiles around the city the barbarians owns ? Is that right. Can this be overridden in python by spawning barbarians at random intervals - I guess this is possible right ?

CyberTyrant
Feb 09, 2006, 08:37 AM
Hi,

In XML file Civ4HandicapInfo.xml what is <iStartingLocPercent>60</iStartingLocPercent> used for.

I'm pretty sure it has to do with how "good" the starting location actually is. The lower the number, the better the start (better terrain, more resources, goodies). I'm not entirely positive though so don't quote me on that.

Also I was trying to spawn more barbarian cities by doing the following in settler mode
<iBarbarianCityCreationProb>90</iBarbarianCityCreationProb>
as someone tried in a different post. Can anyone tell me how the following tags affect this

<iUnownedTilesPerBarbarianCity>110</iUnownedTilesPerBarbarianCity>
<iBarbarianCreationTurnsElapsed>25</iBarbarianCreationTurnsElapsed>
<iBarbarianCityCreationTurnsElapsed>30</iBarbarianCityCreationTurnsElapsed>

I am guessing the CityCreationTurnsElaspes is the number of turns to build a barbarian city and the CreationTurnsElapsed is the number of turns for a barbarian to be created and the tiles imply the number of tiles around the city the barbarians owns ? Is that right. Can this be overridden in python by spawning barbarians at random intervals - I guess this is possible right ?

The number of tiles refers to tiles that the player or AI civs do not own. So if 110 tiles are not owned, a barbarian city would be created every 30 turns. If 220 tiles are not owned, then two barbarian cities would be created. Again though, I'm not totally positive. Hopefully someone else can shed some light on it.