Expand description
What the campaign AI reads from the map files: the regions of map_data.esf (land regions, then seas), their
areas and connections, and the high-level pathfinder nodes of hlp_data.esf.
Structs§
- Area
Groups - The connectivity group of each cell (land masses and seas), from the group of the area it’s in. Seas without areas take the most common group of the sea areas around them.
- MapRegion
- A region of the map (
REGION_DATA), land or sea. - Pathfinder
Node - A high-level pathfinder node: a cell where the AI can place a region.
Functions§
- pathfinder_
nodes - Reads the nodes of the high-level pathfinder of a
hlp_data.esf, by region index. - theatre_
key - Returns the key of the map’s theatre (
REGIONS_DATA/theatres/CAMPAIGN_THEATRE’s string).