Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bots in single player with "Fight Intruder" command will not attempt to arrest any enemy. Kills handcuffed enemies. #15296

Open
1 of 2 tasks
Regalis11 opened this issue Dec 4, 2024 Discussed in #15289 · 0 comments
Assignees
Labels
Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report. Unstable Tickets that are included and being tested in the current Unstable build.

Comments

@Regalis11
Copy link
Collaborator

Discussed in #15289

Originally posted by Argimor December 3, 2024

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

In unmodded single player campaign(Client-side Lua, no mod packages running), any bot in the sub that has "Fight Intruder" command treats handcuffed human enemies as armed and dangerous, IE: runs away if unarmed, or attempts to kill, even with the means to arrest, IE: stun weapon and handcuff only loadout security officers. Tested with outpost pirates in normal campaign, prisoners who have been re-handcuffed after escaping, and any spawned human with any job type in "Team2" enemy team. Bots with the means to arrest do not attempt to do so, and will seek lethal weapons if they only have stun weapons, and will kill any enemy that is handcuffed.

Also It is difficult to tell but it appears normal AI not in "Fight Intruder" mode treats the handcuffed enemies differently, as if attempting to run away from them, handcuffed enemies also seem to react as if they are not handcuffed and instead only "weaponless" and try to run away too, additionally assaulting AI in "Fight Intruders" mode will treat temporarily stunned handcuffed enemies as neutralized, but the instant they get back up they attempt to kill, repeating until enemy is unconscious.

I'm fairly sure this is unintended behavior, as it makes it impossible to assign crew AI defense duties while capturing prisoners for the "By the Book" talent, or doing prisoner transport or any mission where a hostile NPC must be kept alive.

Reproduction steps

  1. Start single player campaign, or provided save, Save.zip
  2. Assign any player crew AI with handcuffs and means to stun the "Fight Intruders" command and place in the submarine.
  3. Spawn any hostile human NPC armed or not in submarine.
  4. Crew AI will kill target, will not use handcuffs.
  5. Spawn any hostile human NPC and handcuff them.
  6. Crew AI will kill target.
  7. Example:
    2024-12-02 23_16_22-Greenshot
    2024-12-02 23_18_20-Greenshot
    Crew continues fighting stunned target, does not attempt to handcuff.
    2024-12-02 23_19_04-Greenshot
    Manually handcuffing enemy.
    2024-12-02 23_19_46-Greenshot
    "Fight Intruders" order cancelled, handcuffed enemy attempts to run away.
    2024-12-02 23_20_06-Greenshot
    On resuming command, crew AI kills treats handcuffed enemy as hostile and kills them
    2024-12-02 23_20_22-Greenshot
    2024-12-02 23_20_37-Greenshot

Bug prevalence

Happens every time I play

Single player or multiplayer?

Single player

-

No response

Version

v1.6.19.1 (Unto the Breach Update Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

@Regalis11 Regalis11 added Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report. labels Dec 4, 2024
@itchyOwl itchyOwl self-assigned this Dec 4, 2024
@Regalis11 Regalis11 added the Unstable Tickets that are included and being tested in the current Unstable build. label Dec 19, 2024
@NilanthAnimosus NilanthAnimosus self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report. Unstable Tickets that are included and being tested in the current Unstable build.
Projects
None yet
Development

No branches or pull requests

3 participants