View Full Version : Leaders AI - Full Spreadsheet


NeverMind
Jan 25, 2006, 04:33 PM
EDIT: Files removed. You can find a better version of this spreadsheet (including comments and Warlords variant) here: http://forums.civfanatics.com/showthread.php?t=191436

Well, here is a full scale spreadsheet of CIV4LeaderheadInfos.xml.

I used Mr.Will's v1.09 spreadsheet (http://forums.civfanatics.com/showthread.php?t=149388) as a base, checked v1.52 changes and added all missing elements, including ContactRands, MemoryAttitudePercents, NoWarAttitudeProbs, UnitAIWeightModifiers and so on.

I hope, you'll find it useful for understanding some "strange" AI actions, as well as for editing new leaders in your mods. ;)

And the file for v1.61: ///

Yzman
Feb 10, 2006, 07:27 PM
A very interesting document, any chance that there can be a brief description of what each one means? Some are obvious, others not so much.

NeverMind
Feb 13, 2006, 05:47 AM
I think Isak's xml reference (http://modiki.apolyton.net/index.php?title=LeaderheadInfos) is an exellent source for variables' descriptions. Though it's not completed yet, and I disagree with some of his descriptions.

NeverMind
Apr 14, 2006, 04:02 PM
This spreadsheet updated for patch 1.61.

Not many changes, but...

iAttackOddsChangeRand decreased from 10 to 8 (all leaders), 20 - 16 (Barbarian).

iNoTechTradeThreshold increased for 12 leaders (from 5 to 10, or 10 - 15).

Xml tags for Mao changed from MAO_ZEDONG to CHINESE_LEADER, but that doesn't affect his personality :D