This wiki is archived from 2021-09-05
Planetary Annihilation AI Build Conditions: Difference between revisions
Jump to navigation
Jump to search
Line 171: | Line 171: | ||
** compare0: comparison string | ** compare0: comparison string | ||
** value0: number | ** value0: number | ||
Threat Ratios | |||
* GravWellToPlanetThreatRatio | * GravWellToPlanetThreatRatio | ||
Line 178: | Line 180: | ||
* FocusTargetThreatRatio | * FocusTargetThreatRatio | ||
* PlanetHighestEnemyArmyThreatRatio | * PlanetHighestEnemyArmyThreatRatio | ||
Threat Vision | |||
* HaveSeenEnemyUnits | * HaveSeenEnemyUnits | ||
Line 183: | Line 187: | ||
* HaveHadANukeEvent | * HaveHadANukeEvent | ||
** boolean0 | ** boolean0 | ||
== Attacks == | |||
* CanAttackWithPoolUnits | * CanAttackWithPoolUnits |
Revision as of 01:25, 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
- 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
- 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
- HaveTeleporterForThreat float (NEW)
- CanFindPlaceToBuild
- OnTaskType