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 1: Line 1:
[[Category:AI]]
[[Category:Modding]]
[[Category:AI]]
[[Category:AI]]
= [[File:Titans-icon.png|50px]] Planetary Annihilation AI Build Conditions =
= [[File:Titans-icon.png|50px]] Planetary Annihilation AI Build Conditions =
Line 8: Line 10:
* DesireMetal
* DesireMetal
* DesireEnergy
* DesireEnergy
* CanAffordPotentialDrain (string0 unitSpec)
* CanAffordPotentialDrain string0 unitSpec
* CanAffordBuildDemand
* CanAffordBuildDemand (based on build arm with tool type TOOL_BuildArm)
* MetalStorageFrac
* MetalStorageFrac
* EnergyStorageFrac
* EnergyStorageFrac
Line 18: Line 20:
* OnTaskType
* OnTaskType


* UnitRatio (unit_type_string0, unit_type_string1, compare0, value0)
* UnitRatio unit_type_string0, unit_type_string1, compare0, value0
* UnitRatioOnPlanet (unit_type_string0, unit_type_string01, compare0, value0)
* UnitRatioOnPlanet unit_type_string0, unit_type_string01, compare0, value0
* UnitCount
* UnitCount
* UnitCountOnPlanet (unit_type_string0, compare0, value0 count)
* UnitCountOnPlanet unit_type_string0, compare0, value0 count


* UnitPoolCount[OnPlanet] (unit_type_string0, compare0, value0)
* UnitPoolCount[OnPlanet] unit_type_string0, compare0, value0
* UnitPoolRatio
* UnitPoolRatio
* UnitCountInBase (unit_type_string0, compare0, value0 count)
* UnitCountInBase unit_type_string0, compare0, value0 count
* UnitCountInMainBase (NEW)
* UnitCountInMainBase (NEW)
* UnitCountAroundBase (unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count)
* UnitCountAroundBase unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count
* UnitCountPerPlanetRadius
* UnitCountPerPlanetRadius
* UnitCountOnPlanetPerNumberPlanets (NEW)
* UnitCountOnPlanetPerNumberPlanets (NEW)
Line 34: Line 36:


* AloneOnPlanet
* AloneOnPlanet
* EnemyPresenceOnPlanet (boolean)
* EnemyPresenceOnPlanet boolean
* EnemySurfacePresenceOnPlanet (boolean)
* EnemySurfacePresenceOnPlanet boolean
* EnemyAirPresenceOnPlanet
* EnemyAirPresenceOnPlanet
* EnemyOrbitalPresenceOnPlanet
* EnemyOrbitalPresenceOnPlanet
Line 75: Line 77:
* AllMetalSpotsFull
* AllMetalSpotsFull


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


* FactoryHasOpenSlot
* FactoryHasOpenSlot
Line 138: Line 140:
* PlanetHighestEnemyArmyThreatRatio
* PlanetHighestEnemyArmyThreatRatio


* HaveSeenEnemyUnits (unit_type_string0)
* HaveSeenEnemyUnits unit_type_string0
* HaveHadANukeEvent (boolean0)
* HaveHadANukeEvent boolean0


* CanAttackWithPoolUnits
* CanAttackWithPoolUnits
Line 149: Line 151:
* CanProvideAirSupportWithPoolUnits
* CanProvideAirSupportWithPoolUnits


* HaveTeleporterForThreat (float) (NEW)
* HaveTeleporterForThreat float (NEW)


* CanFindPlaceToBuild
* CanFindPlaceToBuild

Revision as of 15:05, 9 April 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
  • 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
  • AloneOnPlanet
  • EnemyPresenceOnPlanet boolean
  • EnemySurfacePresenceOnPlanet boolean
  • EnemyAirPresenceOnPlanet
  • EnemyOrbitalPresenceOnPlanet
  • HaveFullPlanetIntel
  • PlanetWithoutPresence
  • SafePlanetWithoutPresence
  • PlanetOrGasGiantWithoutPresence
  • SafePlanetOrGasGiantWithoutPresence
  • HasGasGiant (NEW)
  • PlanetWithoutFabberWithTeleporter
  • PresenceOnOtherPlanet
  • WantCommanderOffPlanet
  • WantCommanderOffPlanetByTeleporter
  • UnitCountInCelestialTransit
  • PlanetHasUseablePlanetWeapon
  • PlanetCanBeUsedAsKineticWeapon
  • HaveThrustToMovePlanet
  • PlanetCount
  • StartingPlanetCount (NEW)
  • SpawnablePlanetCount
  • PlanetIsGasGiant
  • PlanetIsMainEcoBase
  • PlanetIsRespawnable
  • NoWhereToRun
  • UnableToExpand
  • HasPersonalityTag
  • BaseHasEmptyMetalSpotForBasic
  • BaseHasEmptyMetalSpotForAdvanced
  • CanFindMetalSpotToBuildBasic
  • CanFindMetalSpotToBuildAdvanced
  • CanFindControlPointToBuild
  • AllMetalSpotsFull
  • IsMainBase boolean (NEW)
  • BaseThreatened
  • DistFromMainBase
  • DistFromNearestEnemyThreat compare0, value0
  • FactoryHasOpenSlot
  • FactorySlotsEmpty
  • NeedBasicVehicleFabber
  • NeedAdvancedVehicleFabber
  • NeedBasicBotFabber
  • NeedAdvancedBotFabber
  • NeedBasicAirFabber
  • NeedAdvancedAirFabber
  • MetMinBasicFabberCount
  • MetMinAdvancedFabberCount
  • NeedBasicLandFactory
  • NeedAdvancedLandFactory
  • NeedBasicVehicleFactory
  • NeedAdvancedVehicleFactory
  • NeedBasicBotFactory
  • NeedAdvancedBotFactory
  • NeedBasicAirFactory
  • NeedAdvancedAirFactory
  • NeedBasicNavalFactory
  • NeedAdvancedNavalFactory
  • NeedOrbitalLauncher
  • NeedOrbitalFactory
  • CanDeployLandFromBase
  • CanDeployNavalFromBase
  • OtherPlanetNeedsReconAssistance
  • OtherPlanetNeedsLandUnitAssistance
  • OtherPlanetNeedsOrbitalUnitAssistance
  • OtherPlanetCanReceiveLandUnitAssistance
  • OtherPlanetCanProvideLandUnitAssistance
  • CanProvideLandUnitAssistance
  • ThisPlanetNeedsLandUnitAssistance
  • ThisPlanetNeedsReconAssistance
  • ThisPlanetNeedsOrbitalUnitAssistance
  • 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