This wiki is archived from 2021-09-05

Planetary Annihilation AI Build Conditions: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
Line 39: Line 39:
== Presence ==
== Presence ==
* AloneOnPlanet
* AloneOnPlanet
* EnemyPresenceOnPlanet boolean
** boolean
* EnemySurfacePresenceOnPlanet boolean
* EnemyPresenceOnPlanet
** boolean
* EnemySurfacePresenceOnPlanet
** boolean
* EnemyAirPresenceOnPlanet
* EnemyAirPresenceOnPlanet
** boolean
* EnemyOrbitalPresenceOnPlanet
* EnemyOrbitalPresenceOnPlanet
** boolean
* HaveFullPlanetIntel
* HaveFullPlanetIntel
** boolean
* PlanetWithoutPresence
* PlanetWithoutPresence
** boolean
* SafePlanetWithoutPresence
* SafePlanetWithoutPresence
** boolean
* PlanetOrGasGiantWithoutPresence
* PlanetOrGasGiantWithoutPresence
** boolean
* SafePlanetOrGasGiantWithoutPresence
* SafePlanetOrGasGiantWithoutPresence
** boolean
* GasGiantWithoutPresence (NEW)
* GasGiantWithoutPresence (NEW)
** boolean
* SafeGasGiantWithoutPresence (NEW)
* SafeGasGiantWithoutPresence (NEW)
** boolean
* HasGasGiant (NEW)
* HasGasGiant (NEW)
** boolean
* PlanetWithoutFabberWithTeleporter
* PlanetWithoutFabberWithTeleporter
** boolean
* PresenceOnOtherPlanet
* PresenceOnOtherPlanet
** boolean


== Commander ==
== Commander ==

Revision as of 01:29, 1 June 2017

File:Titans-icon.png Planetary Annihilation AI Build Conditions

  • PotentialEnergyEfficiency
  • PotentialMetalEfficiency
  • CurrentEnergyEfficiency
  • CurrentMetalEfficiency
  • DesireMetal
  • DesireEnergy
  • CanAffordPotentialDrain string0 unitSpec
  • CanAffordBuildDemand (based on build arm with tool type TOOL_BuildArm)
  • MetalStorageFrac
  • EnergyStorageFrac
  • MetalStorageToProductionRatio
  • EnergyStorageToProductionRatio
  • HaveEcoForAdvanced

Unit Counts

  • UnitRatio unit_type_string0, unit_type_string1, compare0, value0
  • UnitRatioOnPlanet unit_type_string0, unit_type_string01, compare0, value0
  • UnitCount unit_type_string0, compare0, value0 count
  • UnitCountOnPlanet unit_type_string0, compare0, value0 count
  • UnitPoolCount[OnPlanet] unit_type_string0, compare0, value0
  • UnitPoolRatio
  • UnitCountInBase unit_type_string0, compare0, value0 count
  • UnitCountInMainBase (NEW)
  • UnitCountAroundBase unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count
  • UnitCountPerPlanetRadius
  • UnitCountOnPlanetPerNumberPlanets (NEW)
  • AlliedUnitCountOnPlanet
  • UnitCountInCelestialTransit

Presence

  • AloneOnPlanet
    • boolean
  • EnemyPresenceOnPlanet
    • boolean
  • EnemySurfacePresenceOnPlanet
    • boolean
  • EnemyAirPresenceOnPlanet
    • boolean
  • EnemyOrbitalPresenceOnPlanet
    • boolean
  • HaveFullPlanetIntel
    • boolean
  • PlanetWithoutPresence
    • boolean
  • SafePlanetWithoutPresence
    • boolean
  • PlanetOrGasGiantWithoutPresence
    • boolean
  • SafePlanetOrGasGiantWithoutPresence
    • boolean
  • GasGiantWithoutPresence (NEW)
    • boolean
  • SafeGasGiantWithoutPresence (NEW)
    • boolean
  • HasGasGiant (NEW)
    • boolean
  • PlanetWithoutFabberWithTeleporter
    • boolean
  • PresenceOnOtherPlanet
    • boolean

Commander

  • WantCommanderOffPlanet
  • WantCommanderOffPlanetByTeleporter
  • NoWhereToRun

Planets

  • PlanetHasUseablePlanetWeapon
  • PlanetCanBeUsedAsKineticWeapon
  • HaveThrustToMovePlanet
  • PlanetCount
  • StartingPlanetCount (NEW)
  • SpawnablePlanetCount
  • PlanetIsGasGiant
  • PlanetIsMainEcoBase
  • PlanetIsRespawnable
  • HasPersonalityTag

Eco

  • UnableToExpand
  • BaseHasEmptyMetalSpotFor string0 (NEW)
  • BaseHasEmptyMetalSpotForBasic
  • BaseHasEmptyMetalSpotForAdvanced
  • CanFindMetalSpotToBuild string0 (NEW)
  • CanFindMetalSpotToBuildBasic
  • CanFindMetalSpotToBuildAdvanced
  • CanFindControlPointToBuild
  • AllMetalSpotsFull boolean - this is a weird check of main base + non threatened bases for basic metal extractors ie not planet wide

Bases

  • IsMainBase boolean (NEW)
  • BaseThreatened
  • DistFromMainBase
  • DistFromNearestEnemyThreat compare0, value0

Factories

  • CanFindPlaceToBuild
  • FactoryHasOpenSlot
  • FactorySlotsEmpty
  • NeedBasicLandFactory
  • NeedAdvancedLandFactory
  • NeedBasicVehicleFactory
  • NeedAdvancedVehicleFactory
  • NeedBasicBotFactory
  • NeedAdvancedBotFactory
  • NeedBasicAirFactory
  • NeedAdvancedAirFactory
  • NeedBasicNavalFactory
  • NeedAdvancedNavalFactory
  • NeedOrbitalLauncher
  • NeedOrbitalFactory
  • CanDeployLandFromBase
  • CanDeployNavalFromBase

Fabbers

  • NeedBasicVehicleFabber
  • NeedAdvancedVehicleFabber
  • NeedBasicBotFabber
  • NeedAdvancedBotFabber
  • NeedBasicAirFabber
  • NeedAdvancedAirFabber
  • MetMinBasicFabberCount
  • MetMinAdvancedFabberCount

Strategic Assistance

  • OtherPlanetNeedsReconAssistance
  • OtherPlanetNeedsLandUnitAssistance
  • OtherPlanetNeedsOrbitalUnitAssistance
  • OtherPlanetCanReceiveLandUnitAssistance
  • OtherPlanetCanProvideLandUnitAssistance
  • CanProvideLandUnitAssistance
  • ThisPlanetNeedsLandUnitAssistance
  • ThisPlanetNeedsReconAssistance
  • ThisPlanetNeedsOrbitalUnitAssistance

Threats

  • GravWellThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number
  • SystemThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number
  • PlanetThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number
  • BaseThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number
  • FocusTargetThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number
  • PlanetHighestEnemyArmyThreat
    • string0: influence type
    • compare0: comparison string
    • value0: number

Threat Ratios

  • GravWellToPlanetThreatRatio
  • SystemToPlanetThreatRatio
  • PlanetThreatRatio
  • BaseThreatRatio
  • FocusTargetThreatRatio
  • PlanetHighestEnemyArmyThreatRatio

Threat Vision

  • HaveSeenEnemyUnits
    • unit_type_string0
  • HaveHadANukeEvent
    • boolean0

Attacks

  • CanAttackWithPoolUnits
  • CanAttackWithPoolUnitsLand
  • CanAttackWithPoolUnitsBomber
  • CanAttackWithPoolUnitsFighter
  • CanAttackWithPoolUnitsNaval (NEW)
  • CanAttackWithPoolUnitsOrbital (NEW)
  • CanProvideAirSupportWithPoolUnits
  • OnTaskType
  • HaveTeleporterForThreat float (NEW)