Robots walking off cliff

Discussion in 'Mapping Questions & Discussion' started by Yabayabayaba, Apr 20, 2017.

  1. Yabayabayaba

    Yabayabayaba L5: Dapper Member

    Messages:
    247
    Positive Ratings:
    73
    I have a cliff with a walkway above it, and the robot run off the edge every single time, even though there are two nav_avoids, one over the hole, the other over the bridge. I am using the pop file from mvm_example

    help please? Screenshots bellow mvm_a10000.jpg mvm_a10002.jpg help.PNG
     

    Attached Files:

  2. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    Are you preventing the bots from reaching the exit at all by having no remaining paths they can take that dont have an avoid? If so, bots will ignore the avoid and continue anyway. They always need 1 valid path.

    The only effective way to block them without ever letting them through is a respawnroom visualizer, this actualy behaves as a wall and realy denies them from walking further. And yes, they can be enabled/disabled although you must refresh the nav at runtime (yes, there is an entity that can refresh nav info, look in rottenburg for an example as thats how the barricade is made).
     
  3. Yabayabayaba

    Yabayabayaba L5: Dapper Member

    Messages:
    247
    Positive Ratings:
    73
    help2.PNG
    The path to the right of it is larger and only slightly longer (most robots coming from left). None of my other nav_avoids work either. prehaps is has to do with mvm_example.pop? I don't understand the tag system with bots, so it may have to do with that
     
  4. henke37

    aa henke37

    Messages:
    1,912
    Positive Ratings:
    446
    Check the navmesh. Bot stupidity can usually be traced to a broken navmesh.
     
    • Thanks Thanks x 1
  5. Yabayabayaba

    Yabayabayaba L5: Dapper Member

    Messages:
    247
    Positive Ratings:
    73
    fixed it, i made all these changes, and then never regenerated the nav mesh, so I was still using the old one:D. Well lesson learned.