Skip to content

Perimeter overwatch and rear-guard scanning during stationary escort hold in Argus_ActEscort #203

Description

@saworbit

Overview

When a human teammate stops moving in co-op mode, they are typically sniping down a corridor, examining a puzzle, or inspecting inventory. Classic bots often stood motionless staring directly into the back of the player's head, leaving the entire squad vulnerable to rear monster ambushes and patrols.

A realistic and helpful companion should establish active perimeter security when the squad halts.

Proposed Changes

1. Inverted Facing on Escort Standstill

  • In \Argus_ActEscort, when player is stationary (\�len(velocity) <= 40) and companion reaches formation hold:
    • Instead of matching player yaw directly (\self.angles_y = teammate.angles_y), set base facing outward or 180 degrees opposite player aim.
    • Implement gentle peripheral sweeps (+/- 45 to 60 degrees) across the rear quadrant to scan for monsters.

2. Early Ambush Detection & Callouts

  • If a monster enters the rear quadrant during overwatch:
    • Companion acquires target immediately and alerts/engages before the monster reaches point-blank range on the human's blind spot.

Acceptance Criteria

  • Companion visibly covers the rear/flanks when player halts.
  • Telemetry verifies zero rear-approach sneak attacks hitting player while companion is in standstill hold.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiBot decision making, perception, and state machinesenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions