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

"How often to check for friendly path dispersion", false, 0, false, 60);

ConVar neo_bot_path_jump_penalty_multiplier("neo_bot_path_jump_penalty_multiplier", "100.0", FCVAR_CHEAT,
"Maximum penalty multiplier for jump height changes in pathfinding", false, 0.01f, false, 1000.0f);
Copy link
Contributor Author

@sunzenshen sunzenshen Jan 12, 2026

Choose a reason for hiding this comment

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

This PR will be much easier to test with #1345, but with a 100 multiplier value, bots will recognize the easiest jump point near the fence area in dawn, and will avoid trying to jump onto the trailer in threadplate (unless the ghost spawns on it, where then the bots will path with jumps onto the trailer with no problem)

@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
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.

2 participants