View Single Post
Re: Work In progress (WIP) #6
Old
  (#56)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Work In progress (WIP) #6 - 20-01-2004

I thought of a simple way to keep the bots from doing that damn annoying "trying to walk to a node 3 stories above them" bug. Do a height comparison between the bot's current position and the node it is trying to reach. If the destination node is greater than X units higher than the bot's current position (where X is the maximum jump height given the current value of sv_gravity) pick a different destination node. If the destination node is greater than Y units below the bot's current position, (where Y is the maximum non-damaging fall distance given the current value of sv_gravity) again, pick a different node. And don't allow nodes in mid-air.

Currently the bridge of cs_siege, the stairs of cs_matrix, and the overpass area of de_dust are terribly confusing to the bots. Also, bots are really stupid about getting unstuck. They sometimes do the same thing over and over again, and never try a different route. They are also very stupid about crouching to get to low-clearance places (like under the cars in de_train or into a vent) or jumping over low obstacles in their path.
  
Reply With Quote