AI Process Info
What is an AI Process?
Most GameObject Class items use an AI Process. This determines their behavior when under AI control. This guide will provide the recommended AI Process for a GameObject, though any AI Process can be used on them. However, certain AI Processes will only work with a specific classlabel. Using the wrong AI Process will cause the game to Crash.AI State is a State listed in the Unit Info. It can be seen in the Pathing Editor when viewing Edit Task on an object's info in the top right. Some process description may reference these states.
AI State List:
-
GOTO // Go to a location.
-
FOLLOW // Follow an object.
-
ATTACK // Attack an object.
-
WAIT // Wait...
-
SLIDE // Can't hit target, move a bit to try to get a clean shot.
-
STAND // Stay and defend current location.
-
FLEE // Turn and run away.
-
BLAST // Shoot at target.
-
LEAD // Lead a group in a Goto or Attack command.
-
CATCH // Catch up to a Follow target.
-
STRAFE // Got hit by enemy fire, strafe to dodge.
-
SCATTER // Spread out from current position some.
- JUMP // Can't hit target, Jump a little to try to get a clean shot.
AI Process List:
-
AlternateAnimalProcess
Class Restrictions: Craft
This process is intended for use on animal class objects.This process wanders around and plays IDLE, WALK, RUN, CURIOUS, ATTACK, animations. It flees when shot, and attacks PersonClass objects.
-
APCProcess
Class Restrictions: APC
This process plays SelectOtherMsg and SelectDropoffMsg. It goes to within 50m of a Target and Deploys to attack. When it's soldiers have all been killed, it Retreats to the nearest Refill point, normally Recycler, reloadClass, or Barracks.
-
ArmoryProcess
Class Restrictions: Armory
Builds an object and sends it to a location. Supports CMD_GET_RELOAD and CMD_GET_REPAIR.
-
AssaultTankProcess
Class Restrictions: Craft
Sits and Attacks if able to hit. Plays User2Msg if it can't hit it's Target.
-
BoidProcess
Class Restrictions: Craft
Flies around in a semi localized area.
-
BomberProcess
Class Restrictions: Bomber
Flies to a location and drops a bomb on the target.
-
BuildingProcess
Class Restrictions: Factory
Does Factory building stuff.
-
CameraPodProcess
Class Restrictions: Powerup
Aims the direction the user is facing when selected.
-
CombatFriend
-
CombatEnemy
Class Restrictions: Craft
Does general combat behavior.
-
CommTowerProcess
Class Restrictions: CommTower
Interfaces with Terminal to enable Satellite View.
-
RigFriend
-
RigEnemy
Class Restrictions: ConstructionRig
Does ConstructionRig building, demolishing, upgrading, and adding Power lung behavior.
-
RigTFriend
-
RigTEnemy
Class Restrictions: ConstructionRigT
Does ConstructionRigT building, demolishing, upgrading, and adding Power lung behavior.
-
DeployBuildingFriend
-
DeployBuildingEnemy
Class Restrictions: DeployBuilding
Does deploying at a location.
-
DeployBuildingHFriend
-
DeployBuildingHEnemy
Class Restrictions: DeployBuildingH
Does deploying at a location.
-
GechProcess
Class Restrictions: Craft
Does walker behavior, strafes to steer. If used on a Walker, it uses attackSpeed, otherwise it uses topSpeed.
-
GunTowerFriend
-
GunTowerEnemy
Class Restrictions: TurretCraft
Gun Tower attack behavior. Doesn't try to move.
-
LandAnimalProcess
Class Restrictions: LandCreature
This process is intended for use on animal class objects.This process wanders around and plays IDLE, WALK, RUN, CURIOUS, ATTACK, animations. It flees when shot, and attacks PersonClass objects.
-
MineLayerFriend
-
MineLayerEnemy
Class Restrictions: Minelayer
Goes to a location, lays mines in a pattern.
-
AttachOffensive
Class Restrictions: Craft
Does offensive craft stuff.
-
PersonFriend
-
PersonEnemy
Class Restrictions: Person
Gets in empty ships, or retreats to friendly Recycler, Factory, or Armory. Sits and attacks nearby Enemies if no friendly base to go to.
-
SoldierProcess
Class Restrictions: Craft
Attacks a target, then waits by it's parent APC if present. If APC not present, retreats to friendly Recycler, Factory, or Armory. Sits and attacks nearby Enemies if no friendly base to go to.
-
PowerUpProcess
Class Restrictions: PowerUp
Goes to a location of current command's Where when Flying.
-
SAVFriend
-
SAVEnemy
Class Restrictions: Craft
Deploys to move, Undeploys to attack. Prioritizes nearby Pilots, and apply "mulch" damage to them when it gets close enough.
-
ScavProcess
Class Restrictions: Scavenger
Does collecting of scrap, returning if doDrop is true, and deploying on Pools.
-
ScavHProcess
Class Restrictions: ScavengerH
Does collecting of scrap, returning if doDrop is true, and deploying on Pools.
-
ServiceProcess
Class Restrictions: ServiceTruck
Services nearby units.
-
ServiceHProcess
Class Restrictions: ServiceTruckH
Services nearby units.
-
SupportProcess
Class Restrictions: Craft
Supports Lock On weapons.
-
TorpedoProcess
Class Restrictions: Craft
Steers towards a Target.
-
TugFriend
-
TugEnemy
Class Restrictions: Tug
Can pickup/dropoff an object.
Note: It's Recycle order issues a Goto command instead of a Recycle command.
-
TurretTankFriend
-
TurretTankEnemy
Class Restrictions: Craft
Deploys to Attack. Undeploys to move. Sits and shoots when Deployed.
-
UserProcess
Class Restrictions: Craft
Does Player related stuff. Not recommended for AI units.
-
AttachWingman
Class Restrictions: Craft
Able to use Hunt command. Uses normal Attack behavior. Strafes when hit with enemy fire, and supports RetargetOnStrafe feature. Jumps when it can't hit it's target.
-
TankFriend
-
TankEnemy
Class Restrictions: Craft
Offensive Process that uses normal Attack behavior.
-
ScoutFriend
-
ScoutEnemy
Class Restrictions: Craft
Offensive Process that Objectifies 1 closest non-Objectified object within it's rangeScan. Only objectifies 1 object per Scout in a Group.
-
SentryProcess
Class Restrictions: Craft
Same as ScoutFriend / ScoutEnemy but doesn't do the Target Objectification.
-
RocketTankFriend
-
RocketTankEnemy
Class Restrictions: Craft
Offensive Process that supports Lock On Missiles.
-
MorphTankFriend
-
MorphTankEnemy
Class Restrictions: Craft
Offensive process that Deploys to Attack isAssault targets.
-
AirCraftFriend
-
AirCraftEnemy
Class Restrictions: Craft
Deploys to Goto if it is an AirCraft. Supports AircraftAttackMustDeploy setting. Slows down when making an Attack and is in BLAST state.