jmurrayufo / BobbleBridge2

Second Attempt at making a simple co-op spaceship game.
GNU General Public License v2.0
0 stars 0 forks source link

AI #2

Open jmurrayufo opened 9 years ago

jmurrayufo commented 9 years ago

How should the AI be handled?

Suggestion:

Group the AI in 3 categories.

  1. Faction
  2. Armada
  3. Ship

Factions will handle large scale movements, objectives, and threat assessment. They will also handle quest generation for player interaction.

Armadas will take orders from Factions, and handle medium scale movement of ships within their command. They will issue direct orders to ships within their fleet to complete objectives. These objectives may or may not directly relate to the wishes on the faction (AKA: An armada might need fuel more then the Faction needs that ship blown up!). An Armada could be comprised of as little as one ship.

Ship AI will attempt to keep close to its armada and fulfill the most basic of objectives. Things like Move, Attack, Repair, Harvest (etc).