Trajectory of bots

Discussion in 'Mapping Questions & Discussion' started by rectool, Jun 6, 2017.

  1. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    Is it possible to see the trajectory of the movement of the bots?.to make a balanced map
     
  2. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    756
    Positive Ratings:
    513
    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/
     
    • Like Like x 1
  3. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,387
    Positive Ratings:
    4,220
    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)
     
    • Like Like x 1
  4. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    something like this
     

    Attached Files:

Tags: