Skip to content

Bots pause firing after inflicting team damage#1810

Merged
sunzenshen merged 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-friendly-fire-pause
Apr 4, 2026
Merged

Bots pause firing after inflicting team damage#1810
sunzenshen merged 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-friendly-fire-pause

Conversation

@sunzenshen
Copy link
Copy Markdown
Contributor

@sunzenshen sunzenshen commented Mar 10, 2026

Description

While bots currently avoid pulling the trigger when a friendly is in their direct line of fire, weapon spread often expands to hit teammates, especially for inaccurate weapons and shotguns. Bots have been tweaked to pause for a moment if they have injured their teammate, in order to reduce the volume of fire that is directed at friendlies in team-based modes.

Toolchain

  • Windows MSVC VS2022

@sunzenshen sunzenshen requested a review from a team March 10, 2026 03:09
@sunzenshen sunzenshen added the Bots Related to bot players label Mar 10, 2026
@sunzenshen sunzenshen force-pushed the bot-friendly-fire-pause branch from 9f9f133 to 8729d72 Compare March 13, 2026 03:32
@sunzenshen sunzenshen force-pushed the bot-friendly-fire-pause branch from 8729d72 to 89b7ddd Compare March 21, 2026 01:39
@Rainyan Rainyan requested a review from a team March 26, 2026 15:11
@sunzenshen sunzenshen force-pushed the bot-friendly-fire-pause branch from 89b7ddd to 90c9f89 Compare March 29, 2026 06:19
@sunzenshen sunzenshen force-pushed the bot-friendly-fire-pause branch from 90c9f89 to 7e587c6 Compare April 3, 2026 04:56
@sunzenshen sunzenshen merged commit c669c39 into NeotokyoRebuild:master Apr 4, 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