Help with leader AI

JustATourist

Lost in Translation
Joined
Apr 13, 2008
Messages
445
Location
Lower Saxony
Is there anyone, who can help me with fine-tuning the AI of two leaders I am using? I am quite disatisfied with their behaviour ingame.

The first leaders AI in CIV4LeaderHeadInfos.xml does look like this:
Spoiler :
PHP:
		<LeaderHeadInfo>
			<Type>LEADER_1</Type>
			<Description>TXT_KEY_LEADER_1</Description>
			<Civilopedia>TXT_KEY_LEADER_1_PEDIA</Civilopedia>
			<ArtDefineTag>ART_DEF_LEADER_1</ArtDefineTag>
			<iWonderConstructRand>20</iWonderConstructRand>
			<iBaseAttitude>0</iBaseAttitude>
			<iBasePeaceWeight>4</iBasePeaceWeight>
			<iPeaceWeightRand>3</iPeaceWeightRand>
			<iWarmongerRespect>1</iWarmongerRespect>
			<iEspionageWeight>100</iEspionageWeight>
			<iRefuseToTalkWarThreshold>8</iRefuseToTalkWarThreshold>
			<iNoTechTradeThreshold>5</iNoTechTradeThreshold>
			<iTechTradeKnownPercent>40</iTechTradeKnownPercent>
			<iMaxGoldTradePercent>10</iMaxGoldTradePercent>
			<iMaxGoldPerTurnTradePercent>10</iMaxGoldPerTurnTradePercent>
			<iMaxWarRand>100</iMaxWarRand>
			<iMaxWarNearbyPowerRatio>110</iMaxWarNearbyPowerRatio>
			<iMaxWarDistantPowerRatio>80</iMaxWarDistantPowerRatio>
			<iMaxWarMinAdjacentLandPercent>1</iMaxWarMinAdjacentLandPercent>
			<iLimitedWarRand>100</iLimitedWarRand>
			<iLimitedWarPowerRatio>100</iLimitedWarPowerRatio>
			<iDogpileWarRand>50</iDogpileWarRand>
			<iMakePeaceRand>40</iMakePeaceRand>
			<iDeclareWarTradeRand>40</iDeclareWarTradeRand>
			<iDemandRebukedSneakProb>40</iDemandRebukedSneakProb>
			<iDemandRebukedWarProb>10</iDemandRebukedWarProb>
			<iRazeCityProb>0</iRazeCityProb>
			<iBuildUnitProb>30</iBuildUnitProb>
			<iBaseAttackOddsChange>2</iBaseAttackOddsChange>
			<iAttackOddsChangeRand>8</iAttackOddsChangeRand>
			<iWorseRankDifferenceAttitudeChange>-1</iWorseRankDifferenceAttitudeChange>
			<iBetterRankDifferenceAttitudeChange>0</iBetterRankDifferenceAttitudeChange>
			<iCloseBordersAttitudeChange>-4</iCloseBordersAttitudeChange>
			<iLostWarAttitudeChange>-1</iLostWarAttitudeChange>
			<iAtWarAttitudeDivisor>-5</iAtWarAttitudeDivisor>
			<iAtWarAttitudeChangeLimit>5</iAtWarAttitudeChangeLimit>
			<iAtPeaceAttitudeDivisor>60</iAtPeaceAttitudeDivisor>
			<iAtPeaceAttitudeChangeLimit>1</iAtPeaceAttitudeChangeLimit>
			<iSameReligionAttitudeChange>1</iSameReligionAttitudeChange>
			<iSameReligionAttitudeDivisor>10</iSameReligionAttitudeDivisor>
			<iSameReligionAttitudeChangeLimit>3</iSameReligionAttitudeChangeLimit>
			<iDifferentReligionAttitudeChange>-1</iDifferentReligionAttitudeChange>
			<iDifferentReligionAttitudeDivisor>-5</iDifferentReligionAttitudeDivisor>
			<iDifferentReligionAttitudeChangeLimit>-1</iDifferentReligionAttitudeChangeLimit>
			<iBonusTradeAttitudeDivisor>50</iBonusTradeAttitudeDivisor>
			<iBonusTradeAttitudeChangeLimit>2</iBonusTradeAttitudeChangeLimit>
			<iOpenBordersAttitudeDivisor>25</iOpenBordersAttitudeDivisor>
			<iOpenBordersAttitudeChangeLimit>2</iOpenBordersAttitudeChangeLimit>
			<iDefensivePactAttitudeDivisor>12</iDefensivePactAttitudeDivisor>
			<iDefensivePactAttitudeChangeLimit>2</iDefensivePactAttitudeChangeLimit>
			<iShareWarAttitudeChange>1</iShareWarAttitudeChange>
			<iShareWarAttitudeDivisor>8</iShareWarAttitudeDivisor>
			<iShareWarAttitudeChangeLimit>3</iShareWarAttitudeChangeLimit>
			<iFavoriteCivicAttitudeChange>1</iFavoriteCivicAttitudeChange>
			<iFavoriteCivicAttitudeDivisor>10</iFavoriteCivicAttitudeDivisor>
			<iFavoriteCivicAttitudeChangeLimit>3</iFavoriteCivicAttitudeChangeLimit>
			<DemandTributeAttitudeThreshold>ATTITUDE_CAUTIOUS</DemandTributeAttitudeThreshold>
			<NoGiveHelpAttitudeThreshold>ATTITUDE_CAUTIOUS</NoGiveHelpAttitudeThreshold>
			<TechRefuseAttitudeThreshold>ATTITUDE_ANNOYED</TechRefuseAttitudeThreshold>
			<StrategicBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StrategicBonusRefuseAttitudeThreshold>
			<HappinessBonusRefuseAttitudeThreshold>ATTITUDE_FURIOUS</HappinessBonusRefuseAttitudeThreshold>
			<HealthBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HealthBonusRefuseAttitudeThreshold>
			<MapRefuseAttitudeThreshold>ATTITUDE_PLEASED</MapRefuseAttitudeThreshold>
			<DeclareWarRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</DeclareWarRefuseAttitudeThreshold>
			<DeclareWarThemRefuseAttitudeThreshold>ATTITUDE_PLEASED</DeclareWarThemRefuseAttitudeThreshold>
			<StopTradingRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingRefuseAttitudeThreshold>
			<StopTradingThemRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingThemRefuseAttitudeThreshold>
			<AdoptCivicRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</AdoptCivicRefuseAttitudeThreshold>
			<ConvertReligionRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</ConvertReligionRefuseAttitudeThreshold>
			<OpenBordersRefuseAttitudeThreshold>ATTITUDE_ANNOYED</OpenBordersRefuseAttitudeThreshold>
			<DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
			<PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
			<VassalRefuseAttitudeThreshold>ATTITUDE_PLEASED</VassalRefuseAttitudeThreshold>
			<iVassalPowerModifier>20</iVassalPowerModifier>
			<iFreedomAppreciation>10</iFreedomAppreciation>
			<FavoriteCivic>CIVIC_HEREDITARY_RULE</FavoriteCivic>
			<FavoriteReligion>RELIGION_CHRISTIANITY</FavoriteReligion>
			<Traits>
				<Trait>
					<TraitType>TRAIT_ORGANIZED</TraitType>
					<bTrait>1</bTrait>
				</Trait>
				<Trait>
					<TraitType>TRAIT_IMPERIALIST</TraitType>
					<bTrait>1</bTrait>
				</Trait>
			</Traits>
			<Flavors>
				<Flavor>
					<FlavorType>FLAVOR_MILITARY</FlavorType>
					<iFlavor>5</iFlavor>
				</Flavor>
				<Flavor>
					<FlavorType>FLAVOR_PRODUCTION</FlavorType>
					<iFlavor>2</iFlavor>
				</Flavor>
			</Flavors>
			<ContactRands>
				<ContactRand>
					<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
					<iContactRand>500</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
					<iContactRand>500</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_JOIN_WAR</ContactType>
					<iContactRand>20</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_STOP_TRADING</ContactType>
					<iContactRand>50</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_GIVE_HELP</ContactType>
					<iContactRand>500</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
					<iContactRand>500</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
					<iContactRand>50</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_OPEN_BORDERS</ContactType>
					<iContactRand>20</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
					<iContactRand>80</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
					<iContactRand>80</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_PEACE_TREATY</ContactType>
					<iContactRand>20</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_TRADE_TECH</ContactType>
					<iContactRand>5</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_TRADE_BONUS</ContactType>
					<iContactRand>5</iContactRand>
				</ContactRand>
				<ContactRand>
					<ContactType>CONTACT_TRADE_MAP</ContactType>
					<iContactRand>20</iContactRand>
				</ContactRand>
			</ContactRands>
			<ContactDelays>
				<ContactDelay>
					<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_JOIN_WAR</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_STOP_TRADING</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_GIVE_HELP</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_OPEN_BORDERS</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_PEACE_TREATY</ContactType>
					<iContactDelay>10</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_TRADE_TECH</ContactType>
					<iContactDelay>30</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_TRADE_BONUS</ContactType>
					<iContactDelay>20</iContactDelay>
				</ContactDelay>
				<ContactDelay>
					<ContactType>CONTACT_TRADE_MAP</ContactType>
					<iContactDelay>50</iContactDelay>
				</ContactDelay>
			</ContactDelays>
			<MemoryDecays>
				<MemoryDecay>
					<MemoryType>MEMORY_GIVE_HELP</MemoryType>
					<iMemoryRand>200</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
					<iMemoryRand>150</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_ACCEPTED_JOIN_WAR</MemoryType>
					<iMemoryRand>150</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_STOPPED_TRADING_RECENT</MemoryType>
					<iMemoryRand>30</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_MADE_DEMAND_RECENT</MemoryType>
					<iMemoryRand>20</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_CANCELLED_OPEN_BORDERS</MemoryType>
					<iMemoryRand>10</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
					<iMemoryRand>100</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_RECEIVED_TECH_FROM_ANY</MemoryType>
					<iMemoryRand>20</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
					<iMemoryRand>20</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
					<iMemoryRand>20</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
				<MemoryDecay>
					<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
					<iMemoryRand>50</iMemoryRand>
				</MemoryDecay>
			</MemoryDecays>
			<MemoryAttitudePercents>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DECLARED_WAR</MemoryType>
					<iMemoryAttitudePercent>-300</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
					<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_NUKED_US</MemoryType>
					<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_RAZED_CITY</MemoryType>
					<iMemoryAttitudePercent>-250</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
					<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_GIVE_HELP</MemoryType>
					<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
					<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
					<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
					<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
					<iMemoryAttitudePercent>50</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
					<iMemoryAttitudePercent>10</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
					<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
					<iMemoryAttitudePercent>200</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
					<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
					<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
				<MemoryAttitudePercent>
					<MemoryType>MEMORY_LIBERATED_CITIES</MemoryType>
					<iMemoryAttitudePercent>150</iMemoryAttitudePercent>
				</MemoryAttitudePercent>
			</MemoryAttitudePercents>
			<NoWarAttitudeProbs>
				<NoWarAttitudeProb>
					<AttitudeType>ATTITUDE_ANNOYED</AttitudeType>
					<iNoWarProb>10</iNoWarProb>
				</NoWarAttitudeProb>
				<NoWarAttitudeProb>
					<AttitudeType>ATTITUDE_CAUTIOUS</AttitudeType>
					<iNoWarProb>50</iNoWarProb>
				</NoWarAttitudeProb>
				<NoWarAttitudeProb>
					<AttitudeType>ATTITUDE_PLEASED</AttitudeType>
					<iNoWarProb>90</iNoWarProb>
				</NoWarAttitudeProb>
				<NoWarAttitudeProb>
					<AttitudeType>ATTITUDE_FRIENDLY</AttitudeType>
					<iNoWarProb>100</iNoWarProb>
				</NoWarAttitudeProb>
			</NoWarAttitudeProbs>
			<UnitAIWeightModifiers>
				<UnitAIWeightModifier>
					<UnitAIType>UNITAI_COUNTER</UnitAIType>
					<iWeightModifier>100</iWeightModifier>
				</UnitAIWeightModifier>
			</UnitAIWeightModifiers>
			<ImprovementWeightModifiers/>
[...]

This leader is way too aggressive. There was plenty of free space between his empire and mine (about the size of his or mine empire), which could habe been settled, and even more free land south of his two. But he prefered to attack me instead of finding new cities. He is Imp, Org, so he shouldn't be that aggressive. I would like him to found more cities, but to be more predictable and reasonable in chase of war-peace-relations. He should react more on real threats instead of attacking every neighbour.
 
The second one looks like this:
Spoiler :
PHP:
  <LeaderHeadInfo>
   <Type>LEADER_2</Type>
   <Description>TXT_KEY_LEADER_2</Description>
   <Civilopedia>TXT_KEY_LEADER_2_PEDIA</Civilopedia>
   <ArtDefineTag>ART_DEF_LEADER_2</ArtDefineTag>
   <iWonderConstructRand>10</iWonderConstructRand>
   <iBaseAttitude>0</iBaseAttitude>
   <iBasePeaceWeight>6</iBasePeaceWeight>
   <iPeaceWeightRand>3</iPeaceWeightRand>
   <iWarmongerRespect>1</iWarmongerRespect>
   <iEspionageWeight>110</iEspionageWeight>
   <iRefuseToTalkWarThreshold>8</iRefuseToTalkWarThreshold>
   <iNoTechTradeThreshold>15</iNoTechTradeThreshold>
   <iTechTradeKnownPercent>40</iTechTradeKnownPercent>
   <iMaxGoldTradePercent>5</iMaxGoldTradePercent>
   <iMaxGoldPerTurnTradePercent>10</iMaxGoldPerTurnTradePercent>
   <iMaxWarRand>200</iMaxWarRand>
   <iMaxWarNearbyPowerRatio>110</iMaxWarNearbyPowerRatio>
   <iMaxWarDistantPowerRatio>90</iMaxWarDistantPowerRatio>
   <iMaxWarMinAdjacentLandPercent>3</iMaxWarMinAdjacentLandPercent>
   <iLimitedWarRand>100</iLimitedWarRand>
   <iLimitedWarPowerRatio>80</iLimitedWarPowerRatio>
   <iDogpileWarRand>100</iDogpileWarRand>
   <iMakePeaceRand>40</iMakePeaceRand>
   <iDeclareWarTradeRand>40</iDeclareWarTradeRand>
   <iDemandRebukedSneakProb>40</iDemandRebukedSneakProb>
   <iDemandRebukedWarProb>10</iDemandRebukedWarProb>
   <iRazeCityProb>0</iRazeCityProb>
   <iBuildUnitProb>25</iBuildUnitProb>
   <iBaseAttackOddsChange>0</iBaseAttackOddsChange>
   <iAttackOddsChangeRand>8</iAttackOddsChangeRand>
   <iWorseRankDifferenceAttitudeChange>0</iWorseRankDifferenceAttitudeChange>
   <iBetterRankDifferenceAttitudeChange>2</iBetterRankDifferenceAttitudeChange>
   <iCloseBordersAttitudeChange>-2</iCloseBordersAttitudeChange>
   <iLostWarAttitudeChange>-1</iLostWarAttitudeChange>
   <iAtWarAttitudeDivisor>-5</iAtWarAttitudeDivisor>
   <iAtWarAttitudeChangeLimit>5</iAtWarAttitudeChangeLimit>
   <iAtPeaceAttitudeDivisor>60</iAtPeaceAttitudeDivisor>
   <iAtPeaceAttitudeChangeLimit>1</iAtPeaceAttitudeChangeLimit>
   <iSameReligionAttitudeChange>1</iSameReligionAttitudeChange>
   <iSameReligionAttitudeDivisor>10</iSameReligionAttitudeDivisor>
   <iSameReligionAttitudeChangeLimit>3</iSameReligionAttitudeChangeLimit>
   <iDifferentReligionAttitudeChange>-2</iDifferentReligionAttitudeChange>
   <iDifferentReligionAttitudeDivisor>-5</iDifferentReligionAttitudeDivisor>
   <iDifferentReligionAttitudeChangeLimit>-1</iDifferentReligionAttitudeChangeLimit>
   <iBonusTradeAttitudeDivisor>50</iBonusTradeAttitudeDivisor>
   <iBonusTradeAttitudeChangeLimit>2</iBonusTradeAttitudeChangeLimit>
   <iOpenBordersAttitudeDivisor>25</iOpenBordersAttitudeDivisor>
   <iOpenBordersAttitudeChangeLimit>2</iOpenBordersAttitudeChangeLimit>
   <iDefensivePactAttitudeDivisor>12</iDefensivePactAttitudeDivisor>
   <iDefensivePactAttitudeChangeLimit>2</iDefensivePactAttitudeChangeLimit>
   <iShareWarAttitudeChange>1</iShareWarAttitudeChange>
   <iShareWarAttitudeDivisor>8</iShareWarAttitudeDivisor>
   <iShareWarAttitudeChangeLimit>2</iShareWarAttitudeChangeLimit>
   <iFavoriteCivicAttitudeChange>1</iFavoriteCivicAttitudeChange>
   <iFavoriteCivicAttitudeDivisor>10</iFavoriteCivicAttitudeDivisor>
   <iFavoriteCivicAttitudeChangeLimit>3</iFavoriteCivicAttitudeChangeLimit>
   <DemandTributeAttitudeThreshold>ATTITUDE_CAUTIOUS</DemandTributeAttitudeThreshold>
   <NoGiveHelpAttitudeThreshold>ATTITUDE_CAUTIOUS</NoGiveHelpAttitudeThreshold>
   <TechRefuseAttitudeThreshold>ATTITUDE_ANNOYED</TechRefuseAttitudeThreshold>
   <StrategicBonusRefuseAttitudeThreshold>ATTITUDE_PLEASED</StrategicBonusRefuseAttitudeThreshold>
   <HappinessBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</HappinessBonusRefuseAttitudeThreshold>
   <HealthBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</HealthBonusRefuseAttitudeThreshold>
   <MapRefuseAttitudeThreshold>ATTITUDE_PLEASED</MapRefuseAttitudeThreshold>
   <DeclareWarRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</DeclareWarRefuseAttitudeThreshold>
   <DeclareWarThemRefuseAttitudeThreshold>ATTITUDE_ANNOYED</DeclareWarThemRefuseAttitudeThreshold>
   <StopTradingRefuseAttitudeThreshold>ATTITUDE_PLEASED</StopTradingRefuseAttitudeThreshold>
   <StopTradingThemRefuseAttitudeThreshold>ATTITUDE_ANNOYED</StopTradingThemRefuseAttitudeThreshold>
   <AdoptCivicRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</AdoptCivicRefuseAttitudeThreshold>
   <ConvertReligionRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</ConvertReligionRefuseAttitudeThreshold>
   <OpenBordersRefuseAttitudeThreshold>ATTITUDE_ANNOYED</OpenBordersRefuseAttitudeThreshold>
   <DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
   <PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
   <VassalRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</VassalRefuseAttitudeThreshold>
   <iVassalPowerModifier>0</iVassalPowerModifier>
   <iFreedomAppreciation>10</iFreedomAppreciation>
   <FavoriteCivic>CIVIC_NATIONHOOD</FavoriteCivic>
   <FavoriteReligion>RELIGION_CHRISTIANITY</FavoriteReligion>
   <Traits>
    <Trait>
     <TraitType>TRAIT_AGGRESSIVE</TraitType>
     <bTrait>1</bTrait>
    </Trait>
    <Trait>
     <TraitType>TRAIT_IMPERIALIST</TraitType>
     <bTrait>1</bTrait>
    </Trait>
   </Traits>
   <Flavors>
    <Flavor>
     <FlavorType>FLAVOR_GROWTH</FlavorType>
     <iFlavor>5</iFlavor>
    </Flavor>
    <Flavor>
     <FlavorType>FLAVOR_MILITARY</FlavorType>
     <iFlavor>2</iFlavor>
    </Flavor>
   </Flavors>
   <ContactRands>
    <ContactRand>
     <ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
     <iContactRand>50</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
     <iContactRand>500</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_JOIN_WAR</ContactType>
     <iContactRand>20</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_STOP_TRADING</ContactType>
     <iContactRand>50</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_GIVE_HELP</ContactType>
     <iContactRand>250</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_ASK_FOR_HELP</ContactType>
     <iContactRand>100</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
     <iContactRand>50</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_OPEN_BORDERS</ContactType>
     <iContactRand>20</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
     <iContactRand>80</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
     <iContactRand>80</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_PEACE_TREATY</ContactType>
     <iContactRand>20</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_TRADE_TECH</ContactType>
     <iContactRand>10</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_TRADE_BONUS</ContactType>
     <iContactRand>10</iContactRand>
    </ContactRand>
    <ContactRand>
     <ContactType>CONTACT_TRADE_MAP</ContactType>
     <iContactRand>20</iContactRand>
    </ContactRand>
   </ContactRands>
   <ContactDelays>
    <ContactDelay>
     <ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_JOIN_WAR</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_STOP_TRADING</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_GIVE_HELP</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_ASK_FOR_HELP</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_OPEN_BORDERS</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_PEACE_TREATY</ContactType>
     <iContactDelay>10</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_TRADE_TECH</ContactType>
     <iContactDelay>30</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_TRADE_BONUS</ContactType>
     <iContactDelay>20</iContactDelay>
    </ContactDelay>
    <ContactDelay>
     <ContactType>CONTACT_TRADE_MAP</ContactType>
     <iContactDelay>50</iContactDelay>
    </ContactDelay>
   </ContactDelays>
   <MemoryDecays>
    <MemoryDecay>
     <MemoryType>MEMORY_GIVE_HELP</MemoryType>
     <iMemoryRand>200</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_REFUSED_HELP</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
     <iMemoryRand>150</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_ACCEPTED_JOIN_WAR</MemoryType>
     <iMemoryRand>150</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_STOPPED_TRADING_RECENT</MemoryType>
     <iMemoryRand>30</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_MADE_DEMAND_RECENT</MemoryType>
     <iMemoryRand>20</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_CANCELLED_OPEN_BORDERS</MemoryType>
     <iMemoryRand>10</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
     <iMemoryRand>100</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_RECEIVED_TECH_FROM_ANY</MemoryType>
     <iMemoryRand>20</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
     <iMemoryRand>10</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
     <iMemoryRand>10</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
    <MemoryDecay>
     <MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
     <iMemoryRand>50</iMemoryRand>
    </MemoryDecay>
   </MemoryDecays>
   <MemoryAttitudePercents>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DECLARED_WAR</MemoryType>
     <iMemoryAttitudePercent>-300</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
     <iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_NUKED_US</MemoryType>
     <iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_RAZED_CITY</MemoryType>
     <iMemoryAttitudePercent>-250</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
     <iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_GIVE_HELP</MemoryType>
     <iMemoryAttitudePercent>100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_REFUSED_HELP</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
     <iMemoryAttitudePercent>100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
     <iMemoryAttitudePercent>100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
     <iMemoryAttitudePercent>100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
     <iMemoryAttitudePercent>50</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_MADE_DEMAND</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
     <iMemoryAttitudePercent>15</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
     <iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
     <iMemoryAttitudePercent>200</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
     <iMemoryAttitudePercent>100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
     <iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
    <MemoryAttitudePercent>
     <MemoryType>MEMORY_LIBERATED_CITIES</MemoryType>
     <iMemoryAttitudePercent>150</iMemoryAttitudePercent>
    </MemoryAttitudePercent>
   </MemoryAttitudePercents>
   <NoWarAttitudeProbs>
    <NoWarAttitudeProb>
     <AttitudeType>ATTITUDE_ANNOYED</AttitudeType>
     <iNoWarProb>20</iNoWarProb>
    </NoWarAttitudeProb>
    <NoWarAttitudeProb>
     <AttitudeType>ATTITUDE_CAUTIOUS</AttitudeType>
     <iNoWarProb>65</iNoWarProb>
    </NoWarAttitudeProb>
    <NoWarAttitudeProb>
     <AttitudeType>ATTITUDE_PLEASED</AttitudeType>
     <iNoWarProb>85</iNoWarProb>
    </NoWarAttitudeProb>
    <NoWarAttitudeProb>
     <AttitudeType>ATTITUDE_FRIENDLY</AttitudeType>
     <iNoWarProb>100</iNoWarProb>
    </NoWarAttitudeProb>
   </NoWarAttitudeProbs>
   <UnitAIWeightModifiers>
    <UnitAIWeightModifier>
     <UnitAIType>UNITAI_PILLAGE</UnitAIType>
     <iWeightModifier>100</iWeightModifier>
    </UnitAIWeightModifier>
   </UnitAIWeightModifiers>
   <ImprovementWeightModifiers>
    <ImprovementWeightModifier>
     <ImprovementType>IMPROVEMENT_FARM</ImprovementType>
     <iWeightModifier>20</iWeightModifier>
    </ImprovementWeightModifier>
    <ImprovementWeightModifier>
     <ImprovementType>IMPROVEMENT_WINDMILL</ImprovementType>
     <iWeightModifier>20</iWeightModifier>
    </ImprovementWeightModifier>
   </ImprovementWeightModifiers>
[...]

I want to be this one to be really unpredictable and crazy, accepting easily diplomatic suggestions but attacking without any warning after a while, but preferable when there is no more free land to settle. It should be possible to life quite long time in peace with him for 100 turns and then he suddenly attacks suddenly. Is this possible?

Can anyone help me with these AIs? Thanks in advance.
 
The first one seems to be a moderate warmonger. One example is not sufficient. Besides, despite all the things you mentoined in the OP, attacking you still could have been a good move.

I would like him to found more cities
but preferable when there is no more free land to settle

That stuff is not coded in the XML.

accepting easily diplomatic suggestions but attacking without any warning

Mansa Musa - like behaviour when trading + warmongery stuff like high BuildUnitProb + backstabby stuff like ability to attack at Pleased.
 
Top Bottom