This wiki is archived from 2021-09-05
Planetary Annihilation AI Implementation: Difference between revisions
Jump to navigation
Jump to search
Line 92: | Line 92: | ||
== Build Conditions == | == Build Conditions == | ||
* EnemyPresenceOnPlanet (boolean) | |||
* EnemySurfacePresenceOnPlanet (boolean) | |||
* UnitCountInBase (unit_type_string0, compare0, value0 count) | * UnitCountInBase (unit_type_string0, compare0, value0 count) | ||
* UnitCountOnPlanet (unit_type_string0, compare0, value0 count) | |||
* UnitCountAroundBase (unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count) | * UnitCountAroundBase (unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count) | ||
* DistFromNearestEnemyThreat (compare0, value0) | |||
== Unit Types and Unit Type Strings == | |||
Simple boolean logic: | |||
* | or | |||
* & and | |||
* - exclude | |||
* bracket precedence | |||
Examples | |||
* (Bot & Mobile & Basic) - Construction - Fabber - Artillery (dox and booms) | |||
* (Bot & Mobile & Advanced) - Construction - Fabber - Artillery (slammers) |
Revision as of 21:54, 26 March 2017
File:Titans-icon.png Planetary Annihilation Titans & Classic AI Implementation
- AI Brain
- Economy Manager
- Interplanetary Request Manager
- Planet Managers
- Planet Manager
- Strategic Manager
- Influence Map
- Recon Manager
- Base Threats
- Enemy Base Locations
- Attack Locations
- Base Manager
- Factory Manager
- Metal Spot Info
- Rally Points
- Build Locations
- Fabber Manager
- Platoon Manager
- Strategic Manager
- Planet Manager
Influence Manager
Threat evaluations
- threats for position radius (overlapping)
- threats at position radius (within)
Influence types
- Commander
- Economy
- EconomyProduction (factories)
- Land
- Air
- Naval
- Sub
- Orbital
- Artillery
- Nuke
- AntiNuke
- AntiSurface
- AntiAir
- AntiSub
- AntiOrbital
- AntiPlanet (catalyst, halley, ragnarok)
Platoon Manager
Platoons contain squads.
Platoon Tasks
- None
- Commander
- Scout
- Orbital Recon
- Patrol
- LandAttack
- BomberAttack
- FighterAttack
- NavalAttack
- OrbitalFighterAttack
- OrbtialLaserAttack
- Nuke
- Artillery
- UnitCannon
- ThreatResponse
- TransportToPlanet
- TransportToSafePlanet
- OrbitalFabberMoveToPlanet
- OrbitalFabberMoveToSafePlanet
- OrbitalFabberMoveToGasGiant
- OrbitalFabberMoveToSafeGasGiant
- TransferReconToPlanet
- TransferOrbitalToPlanet
- TransferOrbitalAttackToPlanet
- TeleportLandToPlanet
- TeleportLandOnPlanet (NEW)
- TeleportFabberToPlanet
- Build
- BuilderAssist
- AreaBuild
- GiveUp
Squad Types
- General
- Fast
- Artillery
- Close
- Defense
- Escort
- Transport
- Suicide
Build Conditions
- EnemyPresenceOnPlanet (boolean)
- EnemySurfacePresenceOnPlanet (boolean)
- UnitCountInBase (unit_type_string0, compare0, value0 count)
- UnitCountOnPlanet (unit_type_string0, compare0, value0 count)
- UnitCountAroundBase (unit_type_string0, string0 AllianceType, value0 radius, compare0, value1 count)
- DistFromNearestEnemyThreat (compare0, value0)
Unit Types and Unit Type Strings
Simple boolean logic:
- | or
- & and
- - exclude
- bracket precedence
Examples
- (Bot & Mobile & Basic) - Construction - Fabber - Artillery (dox and booms)
- (Bot & Mobile & Advanced) - Construction - Fabber - Artillery (slammers)