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

Human AI is bad at fighting indoor intruders #15262

Open
1 of 2 tasks
itchyOwl opened this issue Nov 27, 2024 Discussed in #15073 · 3 comments
Open
1 of 2 tasks

Human AI is bad at fighting indoor intruders #15262

itchyOwl opened this issue Nov 27, 2024 Discussed in #15073 · 3 comments
Assignees
Labels
Code Programming task Feature request Request a new feature to be added Ticket The issue has been converted into an issue report.

Comments

@itchyOwl
Copy link
Collaborator

Discussed in #15073

Originally posted by A2ur3 November 6, 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?

https://github.com/user-attachments/assets/0af52f38-157f-48f5-b599-4290c474c165
issue 1: security officer uses diving knife to attack enemy although his revolver still has rounds (AI should try to retreat to a appropriate distance to use ranged weapon. combat priority of revolver is higher than diving knife)
issue 2: HR manager uses wrench as a weapon to attack enemy which prevents security officer behind her from firing

Reproduction steps

  1. go to outpost
  2. spawn Husk_exosuit and watch

Bug prevalence

Just once

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

@itchyOwl itchyOwl added Feature request Request a new feature to be added Code Programming task Ticket The issue has been converted into an issue report. labels Nov 27, 2024
@itchyOwl itchyOwl self-assigned this Nov 27, 2024
@ubertpendragon
Copy link

Have AI crouch at random so bots can shoot over other bots, too often the AI just kind of waits in line

image

@Xeavas
Copy link

Xeavas commented Dec 2, 2024

I am adding on to discussion #15073 about

Bots shouldn't ever intentionally shoot at you. In mp, if there's no enemies around, and a player attacks a bot, they might try to arrest the player.

They do, as seen in this video

aiMPattackresponse.mp4

@itchyOwl
Copy link
Collaborator Author

itchyOwl commented Dec 13, 2024

All the issues above are addressed in FakeFishGames/Barotrauma-development#6145. Bots in mp should act like they do in sp, i.e. security officers in the crew shouldn't try to arrest you anymore. It was intentionally so, but a bit bugged (and have caused issues also before), so I think it's better to have them always behave the same.

The bots are now able to crouch and back off from the enemies when they have ranged weapons. Doesn't fix cases where bots run in the line of sight or when a bot with a melee weapon blocks the path, but should remedy the issue and at least make the bots sometimes able to shoot past each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Programming task Feature request Request a new feature to be added Ticket The issue has been converted into an issue report.
Projects
None yet
Development

No branches or pull requests

4 participants