Yawn-Wider / YWPolarisVore

The ss13 codebase used by the Yawn Wider, based on VORE which is based on Polaris.
Other
14 stars 61 forks source link

mobs will get stuck on directional windows #482

Open Dopiotl opened 4 years ago

Dopiotl commented 4 years ago

Brief description of the issue

mobs following you around such as Kendrick, or giant spiders trying to murder you, will stop against directional windows. Or at least within the science level in the mines. See the linked screenshot

What you expected to happen

for the mobs to get at me unhindered

What actually happened

they couldn't https://cdn.discordapp.com/attachments/444970133694316546/667847776524173332/unknown.png

Steps to reproduce

1- ask kendrick to follow you, or have a giant spider aggro you 2- go over the corridors of the science levels 3- they get stuck in place

Code Revision

Anything else you may wish to add:

TheFurryFeline commented 4 years ago

I've seen this sort of mob AI behaviour before with pre-Polaris refactor to the mob AI.... Except those times were when the mobs were wedged up between multiple panes and not that shown corner thing in the picture. Very odd indeed.

the-og-gear commented 4 years ago

Looks like they don't want to enter a tile that is already occupied by a solid object. I'd give a test case, but I don't think there's any object in game besides windows and windoors that only disallow passage in one direction like that... I guess the only thing would be to see if a windoor also causes the stoppage like that to confirm this.

SplinterGP commented 4 years ago

About objects that stop only one walking direction, there's also railings, from what i've seen they can walk fine at them

SplinterGP commented 4 years ago

Also a possibility is that he is trying to diagonal walk and maybe the windoor dont allows him to, since mobs can walk on diagonals

TheFurryFeline commented 4 years ago

That might do it, yeah. Not sure how to fix mob AI to not do that

On Jan 18, 2020 10:28, "SplinterGP" notifications@github.com wrote:

Also a possibility is that he is trying to diagonal walk and maybe the windoor dont allows him to, since mobs can walk on diagonals

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Yawn-Wider/YWPolarisVore/issues/482?email_source=notifications&email_token=AJGMTY34THWMKHYAFAHVFULQ6MN3VA5CNFSM4KIPCPV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ2WCQ#issuecomment-575908618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGMTYYOJBOWSHX6AZ3VY6LQ6MN3VANCNFSM4KIPCPVQ .