I have made a discovery which, if confirmed, is rather lame. It seems that it is impossible for AI-controlled factions in BI to be granted victory if they achieve the conditions set out in descr_win_conditions.txt. Can anyone confirm or refute that this is the case?
I have been developing my latest mini-mod for BI, and have therefore been running numerous campaigns using the -ai switch. In several of these campaigns I have seen the Sassanids surpass their 20-province target while holding Alexandria, Jerusalem and Constantinople - their goals - and yet there was no "you have been defeated by the Sassanids" message. Conversely, when using the normal RTW Imperial Campaign, I have seen both the Brutii and the Seleucids achieve their victory conditions and display the appropriate message.
I tested this in the following way. First, I edited the Sassanids' victory conditions to require holding only 1 province, Armenia. Then I started a new game as the Sassanids and got an instant victory. Then, using the same victory condition, I started a new game as the Celts. Nothing. The Sassanids were not awarded their victory and the came continued heedless.
For confirmation that the problem was not faction-specific I also tested it with the Saxons. Same deal - the victory conditions only trigger victory for them when the are under the control of the player, not the AI. I've also tried testing the "defeated by [faction]" scroll using the test_victory_scroll console command called from a script, and it shows up fine. It just isn't triggered by them achieving their victory conditions.
Has anyone ever seen an AI-controlled faction win BI? If so, under what conditions? And is there any way it can be enabled?
Bookmarks