Home

EnemyExpansionSettings

Type

struct

Properties

enabled

max_expansion_distance

Distance in chunks from the furthest base around. This prevents expansions from reaching too far into the player's territory.

friendly_base_influence_radius

enemy_building_influence_radius

building_coefficient

other_base_coefficient

neighbouring_chunk_coefficient

neighbouring_base_chunk_coefficient

max_colliding_tiles_coefficient

A chunk has to have at most this much percent unbuildable tiles for it to be considered a candidate. This is to avoid chunks full of water to be marked as candidates.

settler_group_min_size

Size of the group that goes to build new base (the game interpolates between min size and max size based on evolution factor).

settler_group_max_size

min_expansion_cooldown

Ticks to expand to a single position for a base is used. Cooldown is calculated as follows: cooldown = lerp(max_expansion_cooldown, min_expansion_cooldown, -e^2 + 2 * e) where lerp is the linear interpolation function, and e is the current evolution factor.

max_expansion_cooldown