Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Stop AI from clogging up droid attack queues #597

@wzdev-ci

Description

@wzdev-ci

keyword_path-finding_AI resolution_fixed type_bug | by Per


When AI sends massive armies to attack, they often get clogged up and stuck completely by droids on their way back to repair. This patch fixes this problem by introducing a hack for AI only that detects if a droid is stuck, and if so, resets its current order.

Attached is a savegame to demonstrate that the patch works, to dramatic effect. I am playing alone against 7 allied AIs on Miza, and it seems like I am keeping them at bay... until you look outside the base (use vision cheat). Compile in patch, and watch the AI tear me apart in short order.

I do not claim this to be a "good" or "well designed" fix, only that it works.

Also attached is another fix for a bug I found during testing.


Issue migrated from trac:597 at 2022-04-15 18:51:39 -0700

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions