Finally here is the revised Civ4LeaderHeadInfos.xml. It took me some time because i wanted to test my changes as often as possible. This is just a first step to make the AI act more like we want and i think that more balancing could be done with this file. Therefore i created a new thread to keep better track of the changes and the feedback. I'm curious how it plays out and waiting for your feedback.
Here is an incopmlete list of the changes so far:
Things i like to do next:
Note that most nations have different leaders that change over time. Therefore we can change the behavior of a nation whenever their leader changes.
Here is an incopmlete list of the changes so far:
- generally lowerd iMaxWarRand, iLimitedWarRand and iDogpileWarRand for all leaders to make them declare war more often.
- generally increased iMaxWarNearbyPowerRatio, iMaxWarDistantPowerRatio and iLimitedWarPowerRatio for all leaders to declare war even if the enemy is stronger.
- drastically lowered or removed the NoWarAttitudeProbs. Most leaders still won't declare war if you have friendly status, pleased status however won't help that much anymore.
- removed the Attitude bonus for sharing the same religion for all leaders except the pope.
- Changed the MemoryDecays to make leaders forget about past events faster, and added some that weren't used by bts yet (eg. leaders can forget about declarations of war now)
- fixed some strange values. (eg. some leaders had an attitude bonus of 6 for sharing their favorite civics)
- revised the UnitAIWeightModifiers. This can be used to lay the focus on certain unit AIs. Made Norse, Genoa, England and Portugal build ships more often. Also Genoa and Portugal should settle more over sea. For all other leaders i corrected only obvious faults.
Things i like to do next:
- Assign an appropriate favorite civic to each leader.
- Tweak UnitAIWeightModifiers for all nations/leaders
- Revise AttitudeThresholds, that means at which attitude leaders will sign open borders, trade maps, sign defensive pacts or trade techs, etc.
Note that most nations have different leaders that change over time. Therefore we can change the behavior of a nation whenever their leader changes.