Expand description
Writer of the AI state (CAI_INTERFACE): the world mirror, the central pool of analysers, the faction managers
and their AI levels, the director’s pool, the high-level pathfinder and the influence maps. Also writes the
campaign director (CAMPAIGN_DIRECTOR), which refers to the director’s pool.
The pathfinder is copied from the map’s hlp_data.esf. The influence maps and every belief start empty: the game
fills them in while playing. The largest distance between regions comes from the pathfinder’s graph; the median
distance between bordering regions is left for the game to compute at load.
Constants§
- CENTRAL_
DESIRES - Type codes of the central pool’s desires, in creation order.
- DIRECTOR_
BELIEFS - Type codes of the director pool’s beliefs, in creation order.
- DIRECTOR_
DESIRES - Type codes of the director pool’s desires, in creation order: the player rival score and unit balance analysers, the top level desire and the event generator.