Skip to content

Add a new bot skill level for extremely tough bots

Dr. Jaska requested to merge drjaska/superbots into master

This project's roots fork and refactor drummyfish's superbots which he forked from someone else according to him. I did not keep crouching behavior for airborne bots as it reduced their top speeds drastically. It might be ok while in combat but it's awful while out of combat. Most of the code is heavily refactored and made more elegant.

Current bots with skill level 10 or 1337 aren't tough for more experienced players. This branch aims to slightly improve current bots and to also add a new actual godlike skill level(current skill number to enable these is at 101 or above).

All bots:

  • No longer wonder around with blaster when they spawn and don't see an opponent. Instead they find first available weapon from their medium range weapon preference list. (Intentional hash change)
  • >9 skilled bots no longer prematurely detonate devastator rockets which could get closer towards the target Reverted as it was implemented better by terence in !1063 (merged)
  • Avoid dodging into danger (currently only superbots can dodge)

101 and above skill level bots:

  • Random movement directions when they're engaged in combat. A new direction is generated every 0.35 seconds and has a 15% chance of failure(bot will then not move randomly but towards their destination goal) and that direction is followed for 0.3 seconds.
  • No aim smoothing, bots will aimbot and shoot the target on the next tick when they see a target.
  • Bots will take health + armor + range into account when selecting their targets to shoot from close by players. Priority for weak/hurt targets.
Edited by Dr. Jaska

Merge request reports

Loading