segabl / pd2-useful-bots

A lightweight bot overhaul
GNU General Public License v3.0
7 stars 5 forks source link

Navigation issue - San Martin Bank #17

Closed ghost closed 1 year ago

ghost commented 1 year ago

The bots seem to be unable to understand how to hold around the front door of San Martin Bank. I was thinking maybe it's specific to buying "Vlad's Surprise" in preplanning but the location doesn't seem to line up. It's probably due to the hold at player feature but I've managed to get them into some really weird spots so them refusing here is unusual.

Video of the bug: https://youtu.be/qnKiZRPdZN8

Note: Second clip is extremely long due to us kinda giving up on getting Hoxton into place. Feel free to skip around.

segabl commented 1 year ago

Might be a combination of the AI navigation data around that position and a previous bug where objective position wasnt refreshed if they were already holding a position. Should be fixed with the new version hopefully but its possible that there are just some spots that behave weirdly.

ghost commented 1 year ago

It could be due to the swat turret in the distance too. I've once had a bot ignore their hold command to take cover from the line of sight of a one on Goat Simulator, but it never happened again and neither do I remember that behaviour ever existing, nor could I find any change log that would suggest that was added.

segabl commented 1 year ago

yeah they try to take cover from swat turrets even on hold, new version makes them move back to their spots eventually though

ghost commented 1 year ago

Then if the behaviour I saw on Goat Simulator was intentional, I can't guess why this one's happening.

ghost commented 1 year ago

Note: This wasn't on version 2.3.0. I have now re-enabled automatic updates.

ghost commented 1 year ago

Okay so I've encountered this again today and I'm entirely convinced it's got to do with me believing the spot was out of the view of the swat turret when it wasn't. I tried to place them in the same spot, they didn't move, I got shot in the back by the turret while doing it, told them to hold in the same place but slightly more out of the way, they listened. Pretty conclusive to me.

Since this isn't really a bug and more of a side effect of their cover-from-turret behaviour conflicting with the "stop at player" mode of the hold command and the fact that coding an execption for this niche issue would be way more trouble than it's worth, I'm gonna close this as "not planned'.