I can always update things later, and from what I gathered from your other post was that your mod should be a simple cut and paste from what I've already got.
Dumbluck:
Precisely. Any sort of simple, repetitive change to the AI files I can do.
As long as you have some fairly simple rules on what and how to change things... It's not an AI program to write AIs for SE4
As an example of moderate complexity:
In P&N2, for the AI_general file, I:
- skip ahead to the "*begin*"
- skip ahead until "num advanced traits" appears in the text.
- remember the first nonzero value in the text string (eg. "race opt
1 num advanced traits := 2")
- check the value of this line, if its zero, then decrement the value of the previous line in the file. (To free up some racial points so the AI will choose the adv. trait)
- increment the value of this line
- skip ahead until the first number in the line equals the old number of advanced traits
- insert "Race Opt "(number remembered above)" Name "(new number of adv traits)" := Normal"
- repeat from point 2 until EndOfFile