Skip to content

Bots investigate gunfire sounds while searching#1724

Merged
sunzenshen merged 2 commits intoNeotokyoRebuild:masterfrom
sunzenshen:bot-tdm-investigate-gunfire
Mar 1, 2026
Merged

Bots investigate gunfire sounds while searching#1724
sunzenshen merged 2 commits intoNeotokyoRebuild:masterfrom
sunzenshen:bot-tdm-investigate-gunfire

Conversation

@sunzenshen
Copy link
Contributor

Description

Bots investigate gunfire sounds while searching if those sounds are closer than the bot's current movement goal.

Toolchain

  • Windows MSVC VS2022

@sunzenshen
Copy link
Contributor Author

  • This is a generalization of a sound seeking routine that was originally for the Juggernaut seek and destroy behavior.
  • Sound seeking behavior is now part of any behavior class that inherits from CNEOBotSeekAndDestroy, though there is a config boolean to allow disabling the sound search, which is used to prevent bots in JGR mode from getting distracted before activating the JGR (incentivized by the scoring and respawn systems).
  • Mostly intended to stop bots from walking back to their spawn on bullet, though this also has the effect of coordinating bots to converge onto a gunfight when the ghost is too far away to be relevant.
    • Engage is an example of a map where it can be helpful to interrupt the bots from traveling to one of the farther pickups, so they can just focus on the more immediate gunfight.

@sunzenshen sunzenshen requested a review from a team February 23, 2026 08:36
@sunzenshen sunzenshen added the Bots Related to bot players label Feb 23, 2026
@sunzenshen sunzenshen force-pushed the bot-tdm-investigate-gunfire branch from 5f6ac65 to 38271f2 Compare February 27, 2026 09:39
@Rainyan Rainyan requested a review from a team February 28, 2026 23:50
@sunzenshen sunzenshen force-pushed the bot-tdm-investigate-gunfire branch from 38271f2 to 07c4038 Compare March 1, 2026 01:39
@sunzenshen sunzenshen requested a review from Rainyan March 1, 2026 01:40
@Rainyan Rainyan requested a review from a team March 1, 2026 02:28
@sunzenshen sunzenshen merged commit 4f499eb into NeotokyoRebuild:master Mar 1, 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