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
No edit summary
Line 25: Line 25:
* UnitCountOnPlanet unit_type_string0, compare0, value0 count
* UnitCountOnPlanet unit_type_string0, compare0, value0 count


== Unit Counts ==
* UnitPoolCount[OnPlanet] unit_type_string0, compare0, value0
* UnitPoolCount[OnPlanet] unit_type_string0, compare0, value0
* UnitPoolRatio
* UnitPoolRatio
Line 35: Line 36:
* AlliedUnitCountOnPlanet
* AlliedUnitCountOnPlanet


* UnitCountInCelestialTransit
== Presence ==
* AloneOnPlanet
* AloneOnPlanet
* EnemyPresenceOnPlanet boolean
* EnemyPresenceOnPlanet boolean
Line 50: Line 54:
* PlanetWithoutFabberWithTeleporter
* PlanetWithoutFabberWithTeleporter
* PresenceOnOtherPlanet
* PresenceOnOtherPlanet
== Commander ==
* WantCommanderOffPlanet
* WantCommanderOffPlanet
* WantCommanderOffPlanetByTeleporter
* WantCommanderOffPlanetByTeleporter
* NoWhereToRun


* UnitCountInCelestialTransit
== Planets ==
 
* PlanetHasUseablePlanetWeapon
* PlanetHasUseablePlanetWeapon
* PlanetCanBeUsedAsKineticWeapon
* PlanetCanBeUsedAsKineticWeapon
Line 65: Line 71:
* PlanetIsRespawnable
* PlanetIsRespawnable


* NoWhereToRun
* HasPersonalityTag
 
== Eco ==
 
* UnableToExpand
* UnableToExpand
* HasPersonalityTag


* BaseHasEmptyMetalSpotFor string0 (NEW)
* BaseHasEmptyMetalSpotFor string0 (NEW)
Line 81: Line 89:
* AllMetalSpotsFull boolean - this is a weird check of main base + non threatened bases for basic metal extractors ie not planet wide
* 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)
* IsMainBase boolean (NEW)
* BaseThreatened
* BaseThreatened
* DistFromMainBase
* DistFromMainBase
* DistFromNearestEnemyThreat compare0, value0
* DistFromNearestEnemyThreat compare0, value0
== Factories ==


* FactoryHasOpenSlot
* FactoryHasOpenSlot
* FactorySlotsEmpty
* FactorySlotsEmpty
* NeedBasicVehicleFabber
* NeedAdvancedVehicleFabber
* NeedBasicBotFabber
* NeedAdvancedBotFabber
* NeedBasicAirFabber
* NeedAdvancedAirFabber
* MetMinBasicFabberCount
* MetMinAdvancedFabberCount


* NeedBasicLandFactory
* NeedBasicLandFactory
Line 119: Line 120:
* CanDeployLandFromBase
* CanDeployLandFromBase
* CanDeployNavalFromBase
* CanDeployNavalFromBase
== Fabbers ==
* NeedBasicVehicleFabber
* NeedAdvancedVehicleFabber
* NeedBasicBotFabber
* NeedAdvancedBotFabber
* NeedBasicAirFabber
* NeedAdvancedAirFabber
* MetMinBasicFabberCount
* MetMinAdvancedFabberCount
== Strategic Assistance ==


* OtherPlanetNeedsReconAssistance
* OtherPlanetNeedsReconAssistance
Line 129: Line 144:
* ThisPlanetNeedsReconAssistance
* ThisPlanetNeedsReconAssistance
* ThisPlanetNeedsOrbitalUnitAssistance
* ThisPlanetNeedsOrbitalUnitAssistance
== Threats ==


* GravWellThreat
* GravWellThreat

Revision as of 16:25, 29 May 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
  • OnTaskType
  • 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

Unit Counts

  • 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
  • EnemyPresenceOnPlanet boolean
  • EnemySurfacePresenceOnPlanet boolean
  • EnemyAirPresenceOnPlanet
  • EnemyOrbitalPresenceOnPlanet
  • HaveFullPlanetIntel
  • PlanetWithoutPresence
  • SafePlanetWithoutPresence
  • PlanetOrGasGiantWithoutPresence
  • SafePlanetOrGasGiantWithoutPresence
  • GasGiantWithoutPresence (NEW)
  • SafeGasGiantWithoutPresence (NEW)
  • HasGasGiant (NEW)
  • PlanetWithoutFabberWithTeleporter
  • PresenceOnOtherPlanet

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

  • 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
  • SystemThreat
  • PlanetThreat
  • BaseThreat
  • FocusTargetThreat
  • PlanetHighestEnemyArmyThreat
  • GravWellToPlanetThreatRatio
  • SystemToPlanetThreatRatio
  • PlanetThreatRatio
  • BaseThreatRatio
  • FocusTargetThreatRatio
  • PlanetHighestEnemyArmyThreatRatio
  • HaveSeenEnemyUnits unit_type_string0
  • HaveHadANukeEvent boolean0
  • CanAttackWithPoolUnits
  • CanAttackWithPoolUnitsLand
  • CanAttackWithPoolUnitsBomber
  • CanAttackWithPoolUnitsFighter
  • CanAttackWithPoolUnitsNaval (NEW)
  • CanAttackWithPoolUnitsOrbital (NEW)
  • CanProvideAirSupportWithPoolUnits
  • HaveTeleporterForThreat float (NEW)
  • CanFindPlaceToBuild