diff --git a/src/game/server/neo/neo_player.cpp b/src/game/server/neo/neo_player.cpp index 268ac07c4..d957849f9 100644 --- a/src/game/server/neo/neo_player.cpp +++ b/src/game/server/neo/neo_player.cpp @@ -1293,6 +1293,9 @@ void CNEO_Player::PlayCloakSound(bool removeLocalPlayer) // effect lasts 0.5 seconds, but allow 200-300ms leeway with GetFogObscuredRatio cache window m_botThermOpticCamoDisruptedTimer.Start(0.2f); } + + // For bots to notice cloak sound + CSoundEnt::InsertSound(SOUND_COMBAT, GetAbsOrigin(), 600, 0.2, this); } void CNEO_Player::SetCloakState(bool state) @@ -2949,6 +2952,8 @@ void CNEO_Player::PickupObject( CBaseEntity *pObject, void CNEO_Player::PlayStepSound( Vector &vecOrigin, surfacedata_t *psurface, float fvol, bool force ) { + // For bots to hear footsteps + CSoundEnt::InsertSound(SOUND_PLAYER, GetAbsOrigin(), 150, 0.1, this); BaseClass::PlayStepSound(vecOrigin, psurface, fvol, force); }