Bug #206

Bots often stand around, particularly in eggandbacon

Added by SourceForgeUser 311 days ago. Updated 246 days ago.

Status:Resolved Start:04/04/2009
Priority:Normal Due date:
Assigned to:avatarmand1nga % Done:

100%

Category:Bots
Target version:2.5.2
Votes: 2

Description

In eggandbacon the bots often stand around, as if not knowing what to do, but occasionally moving a little one way or another, then they pick up an item, and start roaming the level properly.

History

Updated by SourceForgeUser 300 days ago

I think this is related to the lack of a proper walking simulation in the tracewalk function in bots.qc, it's simply teleporting along and checking floor height/solidity to see if the walk can succeed, but the bots use player movement which does not teleport, instead it sweeps each move - we need to do this sort of thing in tracewalk.

Updated by morfar 276 days ago

avatar
  • Assigned to set to mand1nga

Updated by mand1nga 269 days ago

avatar
  • % Done changed from 0 to 50

Some weeks ago I've added support for multiple goals instead of just one. This is an improvement, but still:

1) tracewalk needs improvements
2) if bots can't reach any waypoint they should wander around until they find a route

Updated by mand1nga 269 days ago

avatar
  • Target version set to 2.6

Updated by divVerent 258 days ago

avatar
  • Status changed from New to Verified

Updated by MirceaKitsune 254 days ago

avatar

My belief is that whenever a bot finds no waypoints, and has sat still for 4-5 seconds because no waypoint was found, that bot should make a grab for the nearest waypoint or item regardless of how far that is, unless it would include the bot bumping into a wall forever.

Updated by -z- 254 days ago

avatar
  • Category set to Bots

Updated by mand1nga 253 days ago

avatar
  • Status changed from Verified to Resolved
  • % Done changed from 50 to 100

Appears to be fixed here. This was largely influenced by the logic used for rating items. Please test it.

Updated by morfar 246 days ago

avatar
  • Target version changed from 2.6 to 2.5.2

Also available in: Atom PDF