Bots stuck on One-Way Door (solved)

i_forget_names

L1: Registered
Apr 22, 2021
11
3
Hello,

I made a CTF map that includes a one way door, but the bots seem to get stuck on the wrong side of the one way door when picking its path.
I could not find a thread on valve dev community about this.


information:

i have not created a navigation mesh myself, i used nav_generate in console for the bots.
yes, i put a trigger "trigger_multiple" on one side of the door, and i made sure not to clip the trigger inside the door.

question:
Is there any way to fix this in hammer?
if not, how do i fix it in game?
 

Punn Ames Ardum

L1: Registered
Jan 16, 2021
46
26
The easiest way would be to go in-game and edit the nav mesh you've generated. here is a list of commands to do so, but basically you have to select the squares that connect through the door, disconnect them, then connect it once so it's one-way. Here is an explanation on how to do that

You basically need to disconnect the pathway for the one-way door and then make it to where it is only one-way. The nav-generation doesn't really account for one-way doors so you end up having to edit it in game yourself
 
Last edited:

i_forget_names

L1: Registered
Apr 22, 2021
11
3
It worked!

thank you for the help, i never knew how to edit the nav mesh, and i never found this thread on valve dev community.
it also turns out this thread was missing nav_disconnect_outgoing_oneways so i added it, but i don't know if it's specific to CTFNavMesh.
(i even fixed a different bot getting stuck problem!)

(edit: do threads mark as solved manually or by mods?)
 
Last edited:

Punn Ames Ardum

L1: Registered
Jan 16, 2021
46
26
(edit: do threads mark as solved manually or by mods?)
Oh you just have to click "Thread Tools" by the Watch/Unwatch Thread Button above your first post here, and just edit it into the title.
(Though I would like a "solved" button or something in the future)