From 95e2f9f45583c8262bc7333cf5801b40ba66b1c3 Mon Sep 17 00:00:00 2001 From: Alan Shen Date: Sun, 29 Mar 2026 00:38:47 -0600 Subject: [PATCH 1/2] Bots place player pings when engaging enemy --- src/game/server/neo/bot/behavior/neo_bot_behavior.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/server/neo/bot/behavior/neo_bot_behavior.cpp b/src/game/server/neo/bot/behavior/neo_bot_behavior.cpp index 95039099d..4195db810 100644 --- a/src/game/server/neo/bot/behavior/neo_bot_behavior.cpp +++ b/src/game/server/neo/bot/behavior/neo_bot_behavior.cpp @@ -953,6 +953,8 @@ void CNEOBotMainAction::FireWeaponAtEnemy( CNEOBot *me ) if (bOnTarget) { + me->PressSpecialFireButton(); // place a player ping to alert friends + if (bThreatIsGhoster) { me->GetBodyInterface()->AimHeadTowards(vShootablePos, IBody::CRITICAL, 1.0f, nullptr, From 9317f7359735135051d18070677320c021ca12d0 Mon Sep 17 00:00:00 2001 From: Alan Shen Date: Sun, 29 Mar 2026 14:21:41 -0600 Subject: [PATCH 2/2] Skip text notification for bot pings --- src/game/client/neo/ui/neo_hud_player_ping.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/game/client/neo/ui/neo_hud_player_ping.cpp b/src/game/client/neo/ui/neo_hud_player_ping.cpp index eef1c289e..16d770231 100644 --- a/src/game/client/neo/ui/neo_hud_player_ping.cpp +++ b/src/game/client/neo/ui/neo_hud_player_ping.cpp @@ -364,10 +364,14 @@ void CNEOHud_PlayerPing::NotifyPing(const int playerSlot) if (cl_neo_player_pings_chat_message.GetBool()) { - CBaseHudChat* hudChat = (CBaseHudChat*)GET_HUDELEMENT(CHudChat); - if (hudChat) + // Skip text notification for bots + if (g_PR && !g_PR->IsFakePlayer(playerSlot + 1)) { - hudChat->ChatPrintf(0, CHAT_FILTER_NONE, "%s pinged a location\n", pPlayer->GetNeoPlayerName()); + CBaseHudChat* hudChat = (CBaseHudChat*)GET_HUDELEMENT(CHudChat); + if (hudChat) + { + hudChat->ChatPrintf(0, CHAT_FILTER_NONE, "%s pinged a location\n", pPlayer->GetNeoPlayerName()); + } } }