Skip to content

Bots message their commander when leaving the squad#1943

Open
sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-cmd-msg-leaving-squad
Open

Bots message their commander when leaving the squad#1943
sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen:bot-cmd-msg-leaving-squad

Conversation

@sunzenshen
Copy link
Copy Markdown
Contributor

Description

Bots message commander about more state changes:

  • Notify when leaving the squad
  • Notify when joining another player's squad
  • Notify when changing squad star (alpha, bravo, etc)

Toolchain

  • Windows MSVC VS2022

Linked Issues

Also notify when changing squad star (alpha, bravo, etc)
@sunzenshen sunzenshen requested review from a team and AdamTadeusz April 12, 2026 19:33
@sunzenshen
Copy link
Copy Markdown
Contributor Author

sunzenshen commented Apr 12, 2026

Demo:

bot-cmd-msg-leaving-squad.mp4

Helpful script to prevent bots from running everywhere when testing squad disconnects:

sv_neo_preround_freeze_time 2; mp_chattime 2;
sv_neo_bot_cmdr_enable 1;
sv_neo_bot_cmdr_debug_pause_uncommanded 1;
neo_ctg_round_timelimit 99;

To test bots notifying that they are joining another player's squad, one can use bot_mimic 1 to have bots press the use key on another bot.

@sunzenshen sunzenshen added the Bots Related to bot players label Apr 12, 2026
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.

1 participant