This wiki is archived from 2021-09-05
Planetary Annihilation AI Build Conditions: Difference between revisions
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
** value0 | ** value0 | ||
** currently includes partially built | ** currently includes partially built | ||
* UnitPoolRatio[ | * UnitPoolRatio[OnPlanetForArmy] | ||
** unit_type_string0 | ** unit_type_string0 | ||
** unit_type_string1 | ** unit_type_string1 | ||
Line 45: | Line 45: | ||
** compare0 | ** compare0 | ||
** value0 | ** value0 | ||
* UnitCountOnPlanet | * UnitCountOnPlanet[ForArmy] | ||
** unit_type_string0 | ** unit_type_string0 | ||
** boolean fully built | ** boolean fully built | ||
** compare0 | ** compare0 | ||
** value0 | ** value0 | ||
* UnitPoolCount[ | * UnitPoolCount[OnPlanetForArmy] | ||
** unit_type_string0 | ** unit_type_string0 | ||
** boolean fully built | ** boolean fully built | ||
** compare0 | ** compare0 | ||
** value0 | ** value0 | ||
* UnitCountPerPlanetRadius[ForArmy] | * UnitCountPerPlanetRadius[ForArmy] | ||
** unit_type_string0 | ** unit_type_string0 | ||
Line 77: | Line 71: | ||
** compare0 | ** compare0 | ||
** value0 count | ** value0 count | ||
* UnitCountInMainBase[ForArmy] (NEW) | |||
** unit_type_string0 | |||
** unit_type_string1 | |||
** compare0 | |||
** value0 | |||
** value1 alliance | |||
Sorted Bases | Sorted Bases |
Revision as of 02:27, 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 Ratios / Counts
Planet Wide
- UnitRatio[ForArmy]
- unit_type_string0
- unit_type_string1
- compare0
- value0
- currently includes partially built
- UnitRatioOnPlanet[ForArmy]
- unit_type_string0
- unit_type_string1
- compare0
- value0
- currently includes partially built
- UnitPoolRatio[OnPlanetForArmy]
- unit_type_string0
- unit_type_string1
- compare0
- value0
- currently includes partially built
- UnitCount[ForArmy]
- unit_type_string0
- boolean fully built
- compare0
- value0
- UnitCountOnPlanet[ForArmy]
- unit_type_string0
- boolean fully built
- compare0
- value0
- UnitPoolCount[OnPlanetForArmy]
- unit_type_string0
- boolean fully built
- compare0
- value0
- UnitCountPerPlanetRadius[ForArmy]
- unit_type_string0
- compare0
- value0
- UnitCountOnPlanetPerNumberPlanets[ForArmy] (NEW)
- unit_type_string0
- compare0
- value0
- AlliedUnitCountOnPlanet
- boolean fully built
- compare0
- value0 count
- UnitCountInCelestialTransit
- unit_type_string0
- compare0
- value0 count
- UnitCountInMainBase[ForArmy] (NEW)
- unit_type_string0
- unit_type_string1
- compare0
- value0
- value1 alliance
Sorted Bases
- UnitCountInBase
- unit_type_string0
- compare0
- value0 count
- value1 alliance (NEW)
- UnitCountAroundBase
- unit_type_string0
- string0 alliance type
- value0 radius
- compare0
- value1 count
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)