Obelix Posted May 14, 2018 Report Share Posted May 14, 2018 _please move this to bug reports, if it seems to be one_ _unsure if it is a feature_ On the weekend, I was playing the Release Candidate 3 of 0 A.D. Alpha 23 and was wondering: What triggers the AI to declare other players war? I started games with three players (me plus two AIs) who were all in one team. In the options I set 'Last Man Standing' true. In the first game, Player 2 declared war to Player 3 after one of them set the first trading route. In game two, one declared war to another without any obvious trigger. Do you have any tips for me to understand its behaviour? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 14, 2018 Report Share Posted May 14, 2018 I guess the best way to figure this out would be to look at the code Quote Link to comment Share on other sites More sharing options...
Obelix Posted April 3, 2023 Author Report Share Posted April 3, 2023 It's been nearly five years and I still don't understand this behaviour. Had a match with six PetraAIs with the last release of the game and once I built a market and many established routes with me, one of them was annoyed by another one trading with me. So she declared war on her. In the meantime, I got the chance to know a bit about the code, but couldn't find any snippets. May you be so kind and direct me to one? Thank you very much! Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 3, 2023 Report Share Posted April 3, 2023 Well there hasn't been any significant change in the AI in the past five years (other than the emergency manager) so that's why I suppose. I guess you might wanna look at the diplomacy manager in simulation/ai/petra/ 1 Quote Link to comment Share on other sites More sharing options...
Obelix Posted April 3, 2023 Author Report Share Posted April 3, 2023 Yeah, I found sth. that makes me eager to learn more in this matter: Line 276 Thank you very much! 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.