Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.16k stars 524 forks source link

Bot units don't pick up artifacts and oil #3888

Open aco4 opened 3 months ago

aco4 commented 3 months ago

Describe the bug Normally, units automatically pick up nearby artifacts and oil drums. This doesn't happen for units that belong to AI bots, like Cobra.

This can cause significant issues since artifacts and oil drums block the creation of new structures. On maps with little space, this can result in the inability to build essential base structures, like factories.

To Reproduce Steps to reproduce the behavior:

  1. Start skirmish game with Cobra-Hard opponent
  2. Destroy their research facilities and factories as they are built
  3. Eventually, enough artifacts will accumulate
  4. See problem

Expected behavior Bot units automatically pick up nearby artifacts and oil drums, like player units.

Screenshots or Videos wz2100-20240614_225225-TBL2_61_29

Your System:

Additional context This applies to scavenger units too.

Chewbakka-Wakka commented 1 month ago

Indeed, all the bots need some development work and collecting artifacts should be a top priority to acquire when nearby.

mirror176 commented 3 weeks ago

I thought this was intentional as even getting near them should pick them up but enemy army waves can plow over them leaving them behind.