Dune-II---The-Maker icon indicating copy to clipboard operation
Dune-II---The-Maker copied to clipboard

IA unit on guard don't respond

Open Mira-Chronos opened this issue 3 years ago • 4 comments

In this capture, we see Unit's guard that don't respond. IA's unit attack only if i attack it.

800x600_0000

800x600_0001

800x600_0002

Mira-Chronos avatar Feb 20 '22 19:02 Mira-Chronos

this is weird; not sure if it is because of linux or not. I'll also investigate this.

Do you run the game with specific startup flags?

stefanhendriks avatar Feb 20 '22 20:02 stefanhendriks

Only -windowed

How can i help to debug this issue ?

Mira-Chronos avatar Feb 20 '22 20:02 Mira-Chronos

I am not sure what is happening. Is it consistent?

If the AI does nothing at all (but it does seem to build a base, so that is weird?) I wonder if the AI gets any events that their units are under attack. You'd need to investigate the Skirmish* or Campaign* AI (I think you play skirmish here?).

The AI has a function that has the name retaliate within it, that is code that makes units attack/defend the base. Perhaps you can find clues there.

stefanhendriks avatar Feb 20 '22 21:02 stefanhendriks

The AI has been made more aggressive; that should be fixed. If this is no longer happening, lets close this.

stefanhendriks avatar Mar 26 '22 14:03 stefanhendriks