dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
762 stars 76 forks source link

AI overfills torture rooms making them escape. #3562

Open Loobinex opened 6 days ago

Loobinex commented 6 days ago

Crokydriver reported:

Not really sure if it is something new, but i noticed that the AI places to much prisoners in the torture room and have to fight them over and over again as they attack when torture room is to small! Of course that wastes AI's time to train his units or doing other stuff.

https://github.com/user-attachments/assets/c29bccad-8f9b-4982-a0ff-da49e84c3c86

Crokydriver commented 6 days ago

Seems AI overfills torture room, of course enemies escape and AI has toe kill them over and over. in the map I did noticed it, AI also healtn't the creatures in the prison and placed them multiple times in the torture room. Wasting time AND money.

In this video, i filled the prison myself in unearth. Creatures full health is due to my placement in this case ;-) https://github.com/user-attachments/assets/5562ac45-3821-4f1f-98ba-27593244a2b4

walt253 commented 6 days ago

It looks like the AI is ignoring efficiency and think the room is at max?

Loobinex commented 6 days ago

It looks like the AI is ignoring efficiency and think the room is at max?

I believe he just checks for a room to drop that is not yet full. Then drops in all 8 units before the torture room can say 'when'.