NPCs don't know how to deal with water pressure.
Disclaimers
- [X] I have searched the issue tracker to check if the issue has already been reported.
- [ ] My issue happened while using mods.
What happened?
when submarines are flooded npcs wil just swimming around and die from water pressure even though there are several room that are safe and not flooded.
Reproduction steps
1.get hull breach 2.get flooded 3.npcs equip diving mask 4.npcs swim in circle 5.die
Bug prevalence
Happens every now and then
Single player or multiplayer?
Single player
-
No response
Version
v1.2.7.0 (Winter Update hotfix)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
Thank you for the report!
Which submarine did this happen in? Did you notice it happening in some specific room? If this was in some custom submarine, it could possibly be that the waypoints haven't been properly set up or updated in the sub.
All tier 1 subs or maybe other tier too but I don't take any passenger after reaching Europa ridge
Also they will prioritize safe spot instead of diving suit too.
ในวันที่ อ. 26 ธ.ค. 2023 22:51 Joonas Rikkonen @.***> เขียนว่า:
Thank you for the report!
Which submarine did this happen in? Did you notice it happening in some specific room? If this was in some custom submarine, it could possibly be that the waypoints haven't been properly set up or updated in the sub.
— Reply to this email directly, view it on GitHub https://github.com/Regalis11/Barotrauma/issues/13223#issuecomment-1869628377, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4EXOKO6IHINQ6NX5KCBZLYLLW6TAVCNFSM6AAAAABBA2ZLG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGYZDQMZXG4 . You are receiving this because you authored the thread.Message ID: @.***>
The same thing happened to me yesterday in a single player game with mods (dynamic europa, etc.). Orca uboat. When the uboat was flooded, the NPCs swam wearing oxygen masks until they died, although there were free diving suits nearby, they ignore it and did not put suits on.
Observed in: https://github.com/FakeFishGames/Barotrauma-development/commit/b103a4354afb0432f395d782523ba7b53a9ebea5
There is something weird going in pathfinding. Managed to get mechanic failing to exit ballast in humpback on video:
https://github.com/FakeFishGames/Barotrauma/assets/8488224/f2d88f7e-0cbd-4613-b40a-ace9f216972e
In other instance idle medic was swimming only in diving mask in fully flooded hull, also in humpback, feels like they don't properly evaluate the danger within the room they are idling in.
Edit. Addendum In barsuk saw this happening when ballast was filling, but pump managed to keep up with the leak:
https://github.com/FakeFishGames/Barotrauma/assets/8488224/7e7432e1-26f1-4f9b-a974-72491bc9e27c
@Jasontti, if you are on single player, please type "debugai" before recording or taking a screenshot.
Doesn't seem to be that easy to repro, but I think I managed to find at least one issue when I teleported a character in the ballast of Humpback:
Steps:
- Equip a diving mask
- Go in the ballast.
- Use "water" command to fill it in water
- Go to free cam
- If the bot manages to path out from the ballast, teleport it back