Skip to content

Nerf Bot AI Difficulty - #25

Merged
venice-dev[bot] merged 1 commit into
soli-testbench:mainfrom
gpsanant:venice-task-a90ad6d9
Mar 24, 2026
Merged

Nerf Bot AI Difficulty#25
venice-dev[bot] merged 1 commit into
soli-testbench:mainfrom
gpsanant:venice-task-a90ad6d9

Conversation

@gpsanant

Copy link
Copy Markdown

Nerf Bot AI Difficulty

Reduces NPC bot combat effectiveness to make them easier opponents for players.

Changes

  • NPC_SHOOT_RANGE: Reduced from 250 to 190 (shorter engagement distance)
  • NPC_SHOOT_ANGLE_TOLERANCE: Widened from 0.3 to 0.55 radians (~31°) so bots miss more often
  • NPC_REACTION_DELAY: Added 400ms delay before bots start shooting at a newly spotted enemy
  • Target tracking: NPCs now track their current target ID and reset the reaction timer when switching targets
  • Target tracking clears when no enemy is in sight, so the delay reapplies on re-acquisition

Core behaviors preserved

  • Moving toward enemies
  • Strafing at close range
  • Avoiding the ring boundary
  • Wandering when no enemy is found

All 1027 existing tests pass.

- 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>
@venice-dev
venice-dev Bot merged commit 97289cd into soli-testbench:main Mar 24, 2026
1 check passed
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