Bots problem

Discussion in 'Mapping Questions & Discussion' started by Grubzer, Aug 4, 2017.

  1. Grubzer

    Grubzer L4: Comfortable Member

    Messages:
    186
    Positive Ratings:
    36
    In my map bots are walking from one bot_action_point to another, going through func_nav_avoid. But even when func_nav_avoid is enabled, bots are still walking through nav sections affected by func_nav_avoid
     
  2. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    Although my comment won't be that helpful, I'll just add that on my maps bots don't avoid these areas as well. Whether they're made with brush entities, "nav_avoid" or "nav_mark_attribute AVOID", it just won't work. Perhaps TF2's bots work differently or something broke, a common thing nowadays with other Source functions.
     
  3. Grubzer

    Grubzer L4: Comfortable Member

    Messages:
    186
    Positive Ratings:
    36
    But in mvm using func_nav_avoid is how bomb carrier controlled
     
  4. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    754
    Positive Ratings:
    512
    I think you need to specify tags for it to work.
     
  5. Grubzer

    Grubzer L4: Comfortable Member

    Messages:
    186
    Positive Ratings:
    36
    For example?
     
  6. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    754
    Positive Ratings:
    512
    Try "common". In MvM, that's the default tag given to every bot. Dunno if it applies outside of MvM, but its worth a shot. If nothing else works, just delete those areas of the navmesh or use a locking door.
     
    • Thanks Thanks x 1
  7. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    Wasn't it a func_nav_prefer entity?
     
  8. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    754
    Positive Ratings:
    512
    It can be either, or both. Usually nav_avoid is preferred/required as nav_prefer isn't required by bots, only if the prefer area is closer than their destination.