NAITheatre

All 16 NAITheatre constants from HOI4 v1.19 — datamined values with the developers' own comments.

NAITheatre defines (16 entries)
KeyValueComment
AI_THEATRE_GENERATION_HOME_THEATRE_DEPTH_RESTRICTION 2 The home theatre is generated based off a initial depth restriction
AI_THEATRE_GENERATION_BORDER_SIZE_RESTRICTION 7 Theatres are generated based off borders, Higher value means larger theatres
AI_THEATRE_GENERATION_DEPTH_TO_START_CONSIDERING_BORDERSTATES 2 Distance from capital in terms of states
AI_THEATRE_GENERATION_MINIMUM_STATE_COUNT 3 Small Theatres - Minimum state count for a theatre
AI_THEATRE_GENERATION_MAX_DISTANCE_TO_MERGE 200 Small Theatres - Dont merge with too far away theatres, higher value means less merging will occur
AI_THEATRE_GENERATION_MAX_DISTANCE_TO_FILL 350 Final generation step - Max distance to fill states, higher values means less theatres
AI_THEATRE_DISTRIBUTION_SAME_THEATRE_SCORE_MODIFIER 0.25 Value that affects the score of units when distributing to fronts within the same theatre, its a percentage multiplier, the higher it is the higher the chance of units staying in close proximity
AI_THEATRE_DISTRIBUTION_MAX_SCORE 250000 Max Score that a unit can have when being distributed to ai fronts, higher value means more granularity in score changes, lower values means less variation in where units can go
AI_THEATRE_DISTRIBUTION_PERCENTAGE_OF_MINIMUM_UNITS_TO_KEEP 1 How much should a frontline adheer to its minimum unit demand, when removing/reassigning units
AI_THEATRE_DISTRIBUTION_MAX_PERCENT_UNMET_DEMAND_PER_FRONT 0.5 Percentage of how much fronts should request from other lower priority fronts, 0 means once a front gets hold of a unit it stays there forever until its demand is reduced, controlls shuffling of units.
AI_THEATRE_STATE_UPDATE_MAX_STATE_COUNT_TO_EXPAND 25 Max theatre size
AI_THEATRE_BREAKDOWN_MIN_STATE_COUNT 3 Theatres below this size will break and merge with others
AI_THEATRE_BREAKDOWN_MAX_DISTANCE_TO_MERGE 200 Dont merge with too far away theatres, higher value means less merging will occur
AI_THEATRE_SEARCH_SUPPLY_NODE_MAX_DEPTH 5 Max depth of breadth-first search while looking for supply nodes when out of supply
AI_THEATRE_SUPPLY_CRISIS_LIMIT 0.1 If a unit is standing in an area with this supply ratio it will try to escape
AI_THEATRE_AI_FRONT_MIN_DESIRED_RATIO 0.18 Fronts are sorted based on priority, we nudge unit demand based on this sorting, the higher the value the more units the most important front gets