Trajectory of bots

rectool

L1: Registered
May 29, 2017
8
1
Is it possible to see the trajectory of the movement of the bots?.to make a balanced map
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
You mean define a specific path for bots to take in the map? Yes. Use func_nav_prefer brush entities on the paths that you want bots to take, and func_nav_avoid brush entities on the paths that you don't want bots to take. Note that avoids will be more effective than prefers, as prefers are only a suggestion that the bot can choose to ignore, but avoids make the bot completely forget that path exists. If you do use avoids, make sure you completely cover every possible route except for the one that you don't want bots taking.
Some more info about prefers and blocks:
https://tf2maps.net/threads/mvm-map-robot-pathing-issue.21606/
https://tf2maps.net/threads/nav-prefer-and-block-areas.32458/
 

Muddy

Muddy
aa
Sep 5, 2014
2,575
4,592
nav_edit 1 will show you the nav mesh, ie where the bots can move. nav_show_func_nav_avoid and nav_show_func_nav_prefer will show you the areas of the nav mesh that are marked func_nav_avoid and func_nav_prefer respectively. (These commands will require sv_cheats to be on)
 

rectool

L1: Registered
May 29, 2017
8
1
something like this
 

Attachments

  • маршрут.jpg
    маршрут.jpg
    65 KB · Views: 153