This wiki is archived from 2021-09-05

Planetary Annihilation AI Base Manager: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:AI]]
[[Category:AI]]
= [[File:Titans-icon.png|50px]] Planetary Annihilation AI Base Manager =
= Planetary Annihilation AI Base Manager =


Each base manager tracks the following:
Each base manager tracks the following:
Line 53: Line 53:
** base build positions
** base build positions


Updated max every 10 seconds.
Individual locations are updated max every 10 seconds.
 
Base locations are checked max every 2 seconds.


=== Base Build Position ===
=== Base Build Position ===
Line 68: Line 70:
* can deploy naval
* can deploy naval


If symmetrical starts then initially based on testing pathing from base location to reflected start location.
Based on testing land and naval rally points to attack locations once scouted.


Based on testing land and naval rally points to attack locations.
Updated max every 10 seconds.


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 ==
== Base Build Reservations ==


* obb
* obb

Latest revision as of 10:58, 9 September 2021

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