Opened 8 years ago

Last modified 4 years ago

#3919 new enhancement

improve animal AI

Reported by: Palaxin Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description (last modified by Freagarach)

citing sanderd17:

What we mainly lack is some cleverness in the animal AI. About every animal would flee for an army of men, and never attack it. But many would attack a single person. The threshold is different for every animal species though, and some animals also prefer to attack in group. Some animals also chase (like lions), while others just want to get rid of you (like a rhino won't keep chasing you), or are too lazy to chase (a crocodile only attacks once). When that gets implemented, animals can be a bit more realistic, and be very annoying for scouting, but not interfere a lot when the game reaches the main combat phase. And making the first part of the game more interesting is still wanted I guess.

See also our discussion on IRC.

The existing code and the improvements should be shifted to a new component UnitAIAnimal.

Attachments (1)

UnitAIAnimal.js (6.3 KB ) - added by Palaxin 8 years ago.
this is very WIP, but I would like some feedback if I'm on the right track since this is my first major JS programming task

Download all attachments as: .zip

Change History (3)

by Palaxin, 8 years ago

Attachment: UnitAIAnimal.js added

this is very WIP, but I would like some feedback if I'm on the right track since this is my first major JS programming task

comment:1 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:2 by Freagarach, 4 years ago

Description: modified (diff)

Refs. #1192, #1709, #1724, #3444, #3783.

Last edited 4 years ago by Freagarach (previous) (diff)
Note: See TracTickets for help on using tickets.