AI building too many military buildings
Bug #951548 reported by
spth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I have often noticed this issue, both in build16 and current bzr: The AI likes to build many military buildings, rather than using the materials to build something productive.
Typical situation:
http://
As you can see, the border region is full of military buildings on both sides of the border, most of them empty. The AI should really stop building military buildings in a region until they are at least half full on average or so.
Philipp
P.S.: I know the AI is dumb and probably needs a rewrite or major overhaul, but this looks like a serious issue for longer games that could probably fixed quick and dirty for now.
Changed in widelands: | |
status: | Expired → Fix Committed |
milestone: | none → build19-rc1 |
tags: |
added: ai removed: computerplayer |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi spth and welcome to Launchpad!
I have noticed the AI have a tendency to go a bit overboard and build loads of military buildings as well. (Especially, or maybe it's just more noticable when it has run out of soldiers or materials to finish the buildings).
From my observation, this only seem to happen close to borders which face an enemy player. In other words, if only the eastern border face an enemy, the west, south and north borders don't seem affected. I suspect the AI is trying to place defensive buildings along the enemy border but overestimates a bit what it needs to protect itself (or simply doesn't notice it already has additional defenses which are being built). Just speculations as I don't know how the AI think.