Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bots get stuck

#1
So I usually play with bots since server list is empty. I've noticed that bots get really stuck in gamemodes where there are no items to pickup such as LMS, CA, FT, sometimes other modes. Are there plans to fix them? Maybe just make them go to random waypoints when there are no items or enemies in sight.
?️‍? <- that should be a rainbow flag emoji.
Reply

#2
Terencehill made lots of fixes to the bot code in latest git but without proper waypoints they'll still get stuck, not much can be done about that. They need direct line of sight to at least one waypoint. It seems that items also act as waypoints so with them enabled there is less chance of getting stuck. If you wanna see where the problem is, try g_waypointeditor 1 and restart map (not sure if it works on a server, locally for sure). A lot of maps don't have waypoints at all and those that have them might have them badly placed so there are still blind spots.
[Image: 30381.jpg]

<packer> when i see martin-t's name my blood pressure increases

<[BOT]Hоtdоg> anyone here lives near martin?
<[BOT]Hоtdоg> will pay monies for shooting him
Reply

#3
(02-27-2017, 02:41 PM)martin-t Wrote: Terencehill made lots of fixes to the bot code in latest git but without proper waypoints they'll still get stuck, not much can be done about that. They need direct line of sight to at least one waypoint. It seems that items also act as waypoints so with them enabled there is less chance of getting stuck. If you wanna see where the problem is, try g_waypointeditor 1 and restart map (not sure if it works on a server, locally for sure). A lot of maps don't have waypoints at all and those that have them might have them badly placed so there are still blind spots.

I've only used vanilla 0.8.1 with no custom content. Gonna get git version and try.
?️‍? <- that should be a rainbow flag emoji.
Reply

#4
OK, git is much better but some maps are still broken, for example Running Man CTF.
?️‍? <- that should be a rainbow flag emoji.
Reply

#5
Well, maybe the waypoints just suck. Nothing stopping you from improving them. We also found out that in ctf bot behavior is heavily affected by minor changes in the waypoints - place them a bit too far apart and they refuse to attack the flag.

Btw, if you're developing a custom mod or something, base it on current git, not 0.8.1. There were *massive* changes in the codebase since then to make it more sane and maintainable.
[Image: 30381.jpg]

<packer> when i see martin-t's name my blood pressure increases

<[BOT]Hоtdоg> anyone here lives near martin?
<[BOT]Hоtdоg> will pay monies for shooting him
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [NEED HELP] Gametype Invasion, Playermodel Bots Dan Hover 12 1,232 01-26-2019, 02:04 PM
Last Post: Dan Hover
  Getting Position of Other Players/Bots Client-Side ehrenbrav 7 4,818 05-10-2015, 12:42 PM
Last Post: ehrenbrav
  Bug: Bots don't move from spawn unless there is a waypoint at their spawn, even when May Epper 0 1,905 04-19-2012, 08:21 PM
Last Post: May Epper
  More bots perredition 9 5,888 08-16-2011, 03:12 PM
Last Post: perredition

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-