Opened 14 years ago

Last modified 8 years ago

#563 closed enhancement

Improve Animal AI — at Version 6

Reported by: Badmadblacksad Owned by:
Priority: Should Have Milestone: Alpha 4
Component: UI & Simulation Keywords: ai, animal
Cc: Patch:

Description (last modified by Kieran P)

We have passive, idle, and skittish.

Add violent, aggressive and defensive behaviors to animalAI.js

Possibly generalize the code so it can be applied to opponent AI (#707)

Change History (7)

by Badmadblacksad, 14 years ago

Attachment: animalAI.patch added

comment:1 by Philip Taylor, 14 years ago

Keywords: review removed

Thanks, this looks good. My only concern is the growing duplication between AnimalAI and UnitAI - that was originally my fault, and this increases it, and we'll need more once players can capture units and give them move orders. Unless I'm missing some major problem (or some nicer way to manage the complexity), I think it'll be better in the long term to merge the animal behaviour into UnitAI (probably as an extra state group alongside FORMATIONCONTROLLER/FORMATIONMEMBER/INDIVIDUAL) so it can share all the basic functions. Applying this patch will add some complexity and make it harder to merge later, so I'd prefer them to be merged first.

comment:2 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

comment:3 by Andrew, 14 years ago

Milestone: Backlog

comment:4 by fabio, 14 years ago

Milestone: BacklogAlpha 3

comment:5 by Kieran P, 13 years ago

Milestone: Alpha 3Alpha 4

comment:6 by Kieran P, 13 years ago

Description: modified (diff)
Priority: minorcritical
Summary: AnimalAIImprove Animal AI
Note: See TracTickets for help on using tickets.