Joe91 / fun-bots

A highly customizable and configurable bot mod for your Venice Unleashed Battlefield 3 server.
https://discord.gg/zNk3qCzk6x
236 stars 45 forks source link

Navigation fixes #318

Closed tagener-noisu closed 10 months ago

tagener-noisu commented 10 months ago

Some things I fixed when I was making traces.

  1. When bots were trying to get from the base to an objective that was far away they were killed by timeout. It's a problem for large maps like Death Valley, because first objectives are really far away and not all bots were taking vehicles. So I changed to killing them only if they are stuck on the base path only, and not on paths that connect the base with the objectives.
  2. I created single objective paths for vehicles and bots started to spawn on them. Fixed it.
  3. Sometimes bots get stuck between two objectives if their assigned objective is different from those two. Let bots consider to switch to either one of those objectives and since every objective should be connected to every other objective, they will find the path to their assigned objective.
Joe91 commented 10 months ago

Wow! Great work! Thanks a lot!