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
 
(15 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 17: Line 17:
** can deploy land
** can deploy land
** can deploy naval
** can deploy naval
* build reservations
* [[Planetary Annihilation AI Factory Manager|factory manager]]


The following are excluded for planets without terrain (NEW):
The following are excluded for planets without terrain (NEW):
Line 25: Line 27:
* deployment data
* deployment data


* [[Planetary Annihilation AI Factory Manager|factory manager]]
== Rally Points ==


When a base is created the rally points are initially set to the base location.
When a base is created the rally points are initially set to the base location.
Currently updated every 10 seconds.


== Metal Spot Info ==
== Metal Spot Info ==
Line 36: Line 40:
* is on water
* is on water
* is on control point (NEW)
* is on control point (NEW)
Updated every full tick for active bases.


== Base Build Location Data ==
== Base Build Location Data ==
Line 46: Line 52:
* valid locations
* valid locations
** base build positions
** base build positions
Individual locations are updated max every 10 seconds.
Base locations are checked max every 2 seconds.


=== Base Build Position ===
=== Base Build Position ===
Line 54: Line 64:
* has wreckage
* has wreckage
* has metal spot
* 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

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