This wiki is archived from 2021-09-05

Planetary Annihilation AI Base Manager

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search

Planetary Annihilation AI Base Manager

Each base manager tracks the following:

  • metal spot info
  • rally points
    • land rally point
    • naval rally point
    • orbital rally point (NEW)
  • factory data
    • can build vehicle factory
    • can build bot factory
    • can build air factory
    • can build naval factory
    • can build orbital launcher
  • deployment data
    • can deploy land
    • can deploy naval
  • build reservations
  • factory manager

The following are excluded for planets without terrain (NEW):

  • metal spot info
  • land rally point
  • naval rally point
  • factory data
  • deployment data

Rally Points

When a base is created the rally points are initially set to the base location.

Currently updated every 10 seconds.

Metal Spot Info

  • base build position
  • basic OK
  • advanced OK
  • is on water
  • is on control point (NEW)

Updated every full tick for active bases.

Base Build Location Data

  • size
  • buffer
  • world layer
  • build locations
    • base build positions
  • valid locations
    • base build positions

Individual locations are updated max every 10 seconds.

Base locations are checked max every 2 seconds.

Base Build Position

  • position
  • orient
  • occupied
  • has wreckage
  • has metal spot

Base Deployment Data

  • can deploy land
  • can deploy naval

Based on testing land and naval rally points to attack locations once scouted.

Updated max every 10 seconds.

For first base with no attack locations:

  • if symmetrical starts then tests pathing from base location to reflected start locations
  • otherwise currently defaults to yes for both

Experimenting with using base reachable estimates for first base.

Base Build Reservations

  • obb