AiSettings beta
Interface of @v12-engine/engine/ai
export interface AiSettingsWhat a brain's areas play by, by area, each under its own names (see the file's comment): what every layer gives, from the brain's definition to the seat. Plain data where a lobby, a map or a save holds it; a function in it is code, not kept in a save
Members
army
army?: MeleeArmyOptions;The melee army: when it attacks, how many go, how a wave goes (melee.army)
defence
defence?: DefenceOptions;What it defends and how (Defence)
economy
economy?: EconomyOptions;The workers and the bases (Economy)
flags
flags?: AiFlags;The classic flags (see the file's comment)
heroes
heroes?: MeleeHeroesOptions;The melee player's heroes: how many, and from when (melee.heroes)
lanes
lanes?: LanesPlayOptions;A lanes brain's play (lanes)
micro
micro?: MicroOptions;How its units fight (Micro)
plans
plans?: PlansOptions;What it builds, trains and researches, and in what order (Plans)
scouting
scouting?: ScoutingOptions;How often it looks and with whom (Scouting)
squads
squads?: SquadsOptions;How its squads go, and the tasks they may be given (Squads)
team
team?: TeamOptions;How it plays with its team (Team)
waves
waves?: WavesOptions;The waves it was given (Waves)
weights
weights?: Record<string, number>;How much each goal weighs, by its id (1 when left out): the picker's (Goals)