Opened 11 years ago

Last modified 19 months ago

#2195 assigned enhancement

AI should make its last minutes worth remembering

Reported by: Josef Kufner Owned by: JCWasmx86
Priority: Should Have Milestone: Work In Progress
Component: AI Keywords:
Cc: againsttcpa84@… Patch: Phab:D3998

Description (last modified by Freagarach)

Hello, when there is not much left for AI to do, for example when it runs out of resources, it should make some brave last stand, send diplomats to negotiate peace, or simply surrender (depending on civilization).

That final cleanup part when there is only few villagers and a lot of enemy buildings is annoying.

Change History (8)

comment:1 by Michael, 11 years ago

Cc: againsttcpa84@… added

comment:2 by Stan, 9 years ago

Component: UI & SimulationAI

comment:3 by Freagarach, 4 years ago

Description: modified (diff)

See #2644 for some discussion about the surrendering.

comment:4 by JCWasmx86, 3 years ago

Owner: set to JCWasmx86
Status: newassigned

comment:5 by Freagarach, 3 years ago

Milestone: BacklogWork In Progress

(Probably in the VictoryManager.js file.)

comment:6 by Silier, 3 years ago

Patch: Phab:D3998

comment:7 by JCWasmx86, 2 years ago

D3998 will be closed unmerged, as it is too big to review. Instead several smaller patches are sent

I made a rough draft, https://gist.github.com/JCWasmx86/27d757d40fac65b15fecb6836444661e that is open for discussion.

comment:8 by Freagarach, 19 months ago

In 27141:

Implement emergency recognition for PetraAI.

First patch for an emergency mode. This implements a rudimentary detection strategy.
The current effect is a shout-out for help.

Patch by: @JCWasmx86
Differential revision: https://code.wildfiregames.com/D4645
Refs. #2195

Note: See TracTickets for help on using tickets.