Skip to content

[Phobos Bug] AI deploy bug when mindcontrolled #513

@FS-21

Description

@FS-21

Description:

When AI capture a deployable unit it can start an infinite loop of undeploy anims.

Phobos Build:

All builds since the code rewrite of the AI deploy fix of MC units into structures.

Steps To Reproduce:

  1. Let the AI capture your offensive unit capable to deploy into structure.
  2. Depending the AICapture decission the unit willl start in an infinite loop of undeploy animations.
    I think that are all the offensive decissions like the "AICapture: Naw, let's put him in hunt." cause this behavior.

Expected Behaviour:

AI should let the unit deploy completly and then execute the offensive behavior if the unit have any.

Actual Behaviour:

(almost) Infinite undeploy animation. Probably depens on the AICapture decission.

Additional notes:

That "AICapture" code is used in CaptureManagerClass ->DecideUnitFate ( ... ).
DecideUnitFate method is used in CaptureManager::CaptureUnit( ... ).
In assembly that DecideUnitFate method is called CaptureManagerClass::AI_Capture (address 0x4723B0).

Additional Files / Links:

MC_undeploy-deploy_AI_bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❓Phobos bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions