Skip to content

Nerf Bot AI Difficulty - #26

Open
gpsanant wants to merge 1 commit into
soli-testbench:mainfrom
gpsanant:venice-task-a90ad6d9-v2
Open

Nerf Bot AI Difficulty#26
gpsanant wants to merge 1 commit into
soli-testbench:mainfrom
gpsanant:venice-task-a90ad6d9-v2

Conversation

@gpsanant

Copy link
Copy Markdown

Nerf Bot AI Difficulty

Reduces NPC bot combat effectiveness to make them easier opponents.

Changes

  • NPC_SHOOT_RANGE: 250 → 190 (shorter engagement distance)
  • NPC_SHOOT_ANGLE_TOLERANCE: 0.3 → 0.55 rad (bots miss more)
  • NPC_REACTION_DELAY: 400ms delay before shooting at newly spotted enemy
  • Target tracking with reset on target switch and clear when no enemy visible

All 1039 tests pass. Core behaviors preserved (movement, strafing, ring avoidance, wandering).

- Reduce NPC_SHOOT_RANGE from 250 to 190 (shorter engagement distance)
- Widen NPC_SHOOT_ANGLE_TOLERANCE from 0.3 to 0.55 rad (less accurate aim)
- Add 400ms NPC_REACTION_DELAY before shooting at newly spotted enemies
- Track current target ID to reset reaction timer on target switch
- Clear target tracking when no enemy is in sight
- Core behaviors preserved: movement, strafing, ring avoidance, wandering

Co-Authored-By: bot_apk <apk@cognition.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant