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 doesn't know they can open doors #2

Open
necessarily-equal opened this issue Nov 23, 2021 · 3 comments
Open

Bots doesn't know they can open doors #2

necessarily-equal opened this issue Nov 23, 2021 · 3 comments

Comments

@necessarily-equal
Copy link

necessarily-equal commented Nov 23, 2021

This means alien bots will usually camp the base, here's an example with 5 of them:
Screenshot from 2021-11-23 13-09-11

As soon as a player opens the door, the alien bots rush out.

@illwieckz
Copy link
Member

Interesting, maybe that's an issue in game code itself? At least we have a test bed.

@ghost
Copy link

ghost commented Jan 14, 2022

Testing shows that they behave the same way elevators do, that is, the door blocks navmesh while it's closed, and stops doing that when it opens.

From what I've seen in code and on the map, I suspect the doors are not using the same way as doors in other maps.
So, I'm pretty confident that the problem is related to both the code and the map.
From code, the problem is that there's no automatic navcons generated for entities, instead navmesh is enabled/disabled depending on some stuff related to entities.
From map, the problem is that the map does not uses the same combination of parameters as usually done in other maps for doors.

IMO the most important and easy to fix problem is the map one.

@ghost
Copy link

ghost commented Jan 14, 2022

Here is the part of the code which handles that behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants