Skip to content

Skip adding bots automatically when no NavMesh#1729

Merged
sunzenshen merged 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-no-navmesh-no-spawn
Feb 28, 2026
Merged

Skip adding bots automatically when no NavMesh#1729
sunzenshen merged 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-no-navmesh-no-spawn

Conversation

@sunzenshen
Copy link
Contributor

Description

  • When no NavMesh is available for a map, skip auto-populating the server with bots.
  • Bots can still be added manually with bot_add, though they will still be frozen.

Toolchain

  • Windows MSVC VS2022

@sunzenshen
Copy link
Contributor Author

Testing Ideas:

  • Start a ntre_ map to verify that bots are still populated on maps with a NavMesh
  • Start a legacy nt_ map to verify that bots are no longer populated automatically on maps without a NavMesh
  • Use bot_add to force adding a bot on a map missing a NavMesh to verify that they can be spawned though frozen.
Screenshot 2026-02-23 202959

Warning message:

Screenshot 2026-02-23 203033

Forcing bot_add:

Screenshot 2026-02-23 203109

@sunzenshen sunzenshen requested a review from a team February 24, 2026 03:37
@sunzenshen sunzenshen added the Bots Related to bot players label Feb 24, 2026
@sunzenshen sunzenshen force-pushed the bot-no-navmesh-no-spawn branch from 316beec to 7d88b9b Compare February 27, 2026 09:39
@nullsystem nullsystem requested a review from a team February 27, 2026 20:15
@sunzenshen sunzenshen merged commit 67443b9 into NeotokyoRebuild:master Feb 28, 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