Skip to content

Conversation

@sunzenshen
Copy link
Contributor

@sunzenshen sunzenshen commented Jan 12, 2026

Description

Penalizes bot path NavArea candidates that involve jumping, scaled to the max jump height for the class of that bot.

Toolchain

  • Windows MSVC VS2022

@sunzenshen sunzenshen requested a review from a team January 12, 2026 09:18
@sunzenshen sunzenshen added the Bots Related to bot players label Jan 12, 2026
@AdamTadeusz AdamTadeusz requested a review from a team January 12, 2026 10:55
@sunzenshen sunzenshen force-pushed the bot-nav-path-jump-penalty branch from 216e65a to 25fb257 Compare January 13, 2026 01:39
@sunzenshen sunzenshen force-pushed the bot-nav-path-jump-penalty branch from 25fb257 to ae1aac4 Compare January 20, 2026 06:22
@sunzenshen
Copy link
Contributor Author

Clicked the rebase branch in the GitHub web UI, so this rebased build should have the bot commands feature.

One can test the jump heights attempts in maps by using the following commands:

sv_neo_bot_cmdr_enable 1;
sv_neo_bot_cmdr_debug_pause_uncommanded 1;
neo_ctg_round_timelimit 99;

Then one can press use on the paused teammate bots to get them to follow you, and then use the ping button to have bots walk between different areas that might be suspicious.

Note that #1558 is still needed to correct the max jump heights for each individual class, as they are too generalized for the Support class

Copy link
Collaborator

@Rainyan Rainyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't quite convince the bots to climb to the dawn fence area, but it might be more a matter of fine-tuning the nav mesh. This feature looks good to me though.

@sunzenshen
Copy link
Contributor Author

I couldn't quite convince the bots to climb to the dawn fence area, but it might be more a matter of fine-tuning the nav mesh. This feature looks good to me though.

Oh, climbing ladders is actually completely broken, even when I remove any penalties or blockers for having a bot trying to cross NavAreas that involve a ladder. As far as I can tell, this is also true for any normal ladders like with elevator shafts.

I filed an issue with the details, including what doesn't quite work when I try to remove the height and ladder checks between NavAreas involving a ladder.
#1588

@sunzenshen sunzenshen merged commit eae0d51 into NeotokyoRebuild:master Jan 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bots Related to bot players

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants