I've recently added a new AI interface function, calling GetSupplyManager().ResourceSupplyGroups(empire.EmpireID()).
Since allies share vision and supply, I would have expected that all allied AIs get the same groups. But that is not the case:
AI_1 sees exactly two groups, which is what I would expect, since one AI is still isolated in a corner.
The others however see smaller groups.
Additionally, system 2345 is not in any of the groups of AI_3, which caused an assertion failure in the AI.
Is this a bug?
How should I interpret these groups?
ResourceSupplyGroups and Allies
Moderator: Committer
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: ResourceSupplyGroups and Allies
Could be partly due to supply sharing only working to immediately adjacent allied networks, and there being no successive iteration of that sharing: viewtopic.php?p=110636&sid=eea08597d2d6 ... b1#p110636
Two allies could also have different relations with a third empire, which could also differently affect what systems they can supply into.
Two allies could also have different relations with a third empire, which could also differently affect what systems they can supply into.