Difference between revisions of "AI"
Eric Walch (talk | contribs) (Deleted all links to custom AI pages) |
m (Just typos) |
||
Line 1: | Line 1: | ||
− | 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 | + | 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 tumbling (DumbAI.plist) to complex for escorting craft (escort.plist). |
− | == Oolite standard | + | == Oolite standard AIs == |
* [[buoyAI]] | * [[buoyAI]] | ||
//Sends warning messages when attacked, summons police. | //Sends warning messages when attacked, summons police. | ||
Line 9: | Line 9: | ||
//(Requires: scanForRandomLoot>TARGET_FOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist) | //(Requires: scanForRandomLoot>TARGET_FOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist) | ||
* [[dockingAI]] | * [[dockingAI]] | ||
− | //scripts the docking | + | //scripts the docking manoeuvres. |
* [[dumbAI]] | * [[dumbAI]] | ||
//just tumbles randomly | //just tumbles randomly | ||
Line 41: | Line 41: | ||
//Police patrol navigation around planet waypoints. | //Police patrol navigation around planet waypoints. | ||
* [[policeInterceptAI]] | * [[policeInterceptAI]] | ||
− | //Interception, attack, comms and legal | + | //Interception, attack, comms and legal business. |
* [[risingShuttleAI]] | * [[risingShuttleAI]] | ||
//Shuttle: planet -> station. | //Shuttle: planet -> station. | ||
* [[rockHermitAI]] | * [[rockHermitAI]] | ||
− | //Behaviour of | + | //Behaviour of rock hermit. |
* [[route1patrolAI]] | * [[route1patrolAI]] | ||
//Police patroll navigation route 1. | //Police patroll navigation route 1. | ||
Line 53: | Line 53: | ||
//Police patrol navigation route 2 (sun). | //Police patrol navigation route 2 (sun). | ||
* [[route2sunskimAI]] | * [[route2sunskimAI]] | ||
− | //General navigation | + | //General navigation route 2. |
* [[scavengerAI]] | * [[scavengerAI]] | ||
//Scavenger behaviour, looks for loot. | //Scavenger behaviour, looks for loot. | ||
Line 63: | Line 63: | ||
//General navigation sun -> witchpoint. | //General navigation sun -> witchpoint. | ||
* [[thargletAI]] | * [[thargletAI]] | ||
− | //Checks for presence of | + | //Checks for presence of mother Thargoid, requests target from mother, or tumbles. |
* [[thargoidAI]] | * [[thargoidAI]] | ||
//Kills all humans. | //Kills all humans. |
Revision as of 22:52, 21 May 2012
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 tumbling (DumbAI.plist) to complex for escorting craft (escort.plist).
Oolite standard AIs
//Sends warning messages when attacked, summons police.
//collects loot, jobAI.
//(Requires: scanForRandomLoot>TARGET_FOUND:setTargetToFoundTarget,setAITo:collectLootAI.plist)
//scripts the docking manoeuvres.
//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.
//Introduced v1.65, NPC racing pilot AI.
//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 business.
//Shuttle: planet -> station.
//Behaviour of rock hermit.
//Police patroll navigation route 1.
//Trader navigation route 1.
//Police patrol navigation route 2 (sun).
//General navigation route 2.
//Scavenger behaviour, looks for loot.
//Shuttle behaviour.
//Station behaviour.
//General navigation sun -> witchpoint.
//Checks for presence of mother Thargoid, requests target from mother, or tumbles.
//Kills all humans.
//Pauses 5 second, sets range, then detonates with cascade effect.
- This article is a stub. You can help EliteWiki by expanding it.
Related Links
OXP howto OXP howto AI Methods AI_methods