Tue Oct 21, 2014 11:02 am
Hi,
This is indeed something that demand only basic knowledge in file editing. The Spies decision should be working correctly though:
AIImprovedCalc = 1
AIModChanceMoneyLevel = 1
AIModChanceNoEnemy = -50
AIModChanceEnemyChunk = 5
You edit a text file (or better the source XLS) and then add values to some parameters helping the AI. Here you see that the Spies decision is now using improved calc, this is what we want in the end for all decisions. Without any other parameter, this gives a base chance of 5% to play the decision in valid region. For each money level (ranging from 0: no money, to 6: plentiful), the AI gets a +1% bonus. If there is no enemy, you get a -50% penalty, so the spies should never be played by the AI in a region devoid of any enemy. And then for each enemy 'chunk' power points, which is 100 power point, +5% chance to play.
I altered Telegraphs, Habeas Corpus and Scorch Earth so that the AI should be clever enough on these. If someone want to step in to make a complete pass through the decisions, be my guest, the file is now proposed to the public in the modding forum, although without my latest changes to the 3 decisions.

Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."