Difference between revisions of "AI"

From Elite Wiki
m (typo)
m (typos)
Line 7: Line 7:
 
//collects loot, jobAI.
 
//collects loot, jobAI.
  
//(Requires: scanForRandomLoot>TARGETFOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist)
+
//(Requires: scanForRandomLoot>TARGET_FOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist)
 
* [[dockingAI]]   
 
* [[dockingAI]]   
 
//scripts the docking maneuvres.
 
//scripts the docking maneuvres.
Line 36: Line 36:
 
* [[pirateAI]]   
 
* [[pirateAI]]   
 
//Pirate behaviour.
 
//Pirate behaviour.
* [[planetPatrollAI]]   
+
* [[planetPatrolAI]]   
//Police patroll navigation around planet waypoints.
+
//Police patrol navigation around planet waypoints.
 
* [[policeInterceptAI]]   
 
* [[policeInterceptAI]]   
 
//Interception, attack, comms and legal bussines.
 
//Interception, attack, comms and legal bussines.
Line 44: Line 44:
 
* [[rockHermitAI]]   
 
* [[rockHermitAI]]   
 
//Behaviour of rockhermit.
 
//Behaviour of rockhermit.
* [[route1PatrollAI]]   
+
* [[route1patrolAI]]   
 
//Police patroll navigation route 1.
 
//Police patroll navigation route 1.
* [[route1TraderAI]]   
+
* [[route1traderAI]]   
 
//Trader navigation route 1.
 
//Trader navigation route 1.
* [[route2PatrollAI]]   
+
* [[route2patrolAI]]   
//Police patroll navigation route 2 (sun).
+
//Police patrol navigation route 2 (sun).
* [[route2SunskimAI]]   
+
* [[route2sunskimAI]]   
 
//General navigation route2.
 
//General navigation route2.
 
* [[scavengerAI]]   
 
* [[scavengerAI]]   
Line 68: Line 68:
  
 
== Related Links ==
 
== Related Links ==
  [[OXP_howto]]
+
  [[OXP howto]]
  [[OXP_howto_AI]]
+
  [[OXP howto AI]]
 
  [[Methods]]
 
  [[Methods]]
 +
 
[[Category:Oolite]]
 
[[Category:Oolite]]

Revision as of 18:59, 1 February 2006

All entities in Oolite have an AI, this is a plist file that defines a state machine that determines their behaviour. This behaviour can be simple for rocks tumbing (DumbAI.plist) to complex for escorting craft (escort.plist).

Oolite standard AI's

//Sends warning messages when attacked, summons police.

//collects loot, jobAI.

//(Requires: scanForRandomLoot>TARGET_FOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist)

//scripts the docking maneuvres.

//just tumbles randomly

//pirate, checks cargo switches to either pirateAI or enteringTraderAI.

//trader role behaviour, choosing route.

//escort behaviour.

//Trader behaviour, navigation towards witchpoint.

//Shuttle station -> planet.

//Identical to missileAI, minus detonation upon ECM.

//Landing on planet.

//General interception and combat.

//Looks for rocks, mines them.

//Intercept and detonation.

//Only uses performIdle-method, preferred AI for subentities.

//Pirate behaviour.

//Police patrol navigation around planet waypoints.

//Interception, attack, comms and legal bussines.

//Shuttle: planet -> station.

//Behaviour of rockhermit.

//Police patroll navigation route 1.

//Trader navigation route 1.

//Police patrol navigation route 2 (sun).

//General navigation route2.

//Scavenger behaviour, looks for loot.

//Shuttle behaviour.

//Station behaviour.

//General navigation sun -> witchpoint.

//Checks for presence of motherThargoid, requests target from mother, or tumbles.

//Kills all humans.

//Pauses 5 second, sets range, then detonates with cascade effect.

Related Links

OXP howto
OXP howto AI
Methods