Bots

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

  1. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    I play on my map,but the bot-sniper bot-the engineer does not want to get out of spawn.Why?
     
  2. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    Did you generate a nav mesh? Load your map, turn on sv_cheats, and then type "nav_generate" into the console. This is required for bots and bosses to be able to move.
     
  3. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    yes,i generated.Only snipers,enginers,spys dont move
     
  4. Lampenpam

    aa Lampenpam

    Messages:
    991
    Positive Ratings:
    328
    Have you used nav_analyze? I think it places a few marks needed for those bot classes.
     
  5. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    it didn't help
     
  6. PenolAkushari

    PenolAkushari Never Played MvM

    Messages:
    49
    Positive Ratings:
    24
    Did you place hint entities on your map? Like hint_sentry, hint_sniper_spot or something like that. Usually Engineers refer to those points on map to build, while snipers would usually camp at marked sniper spots. Can't remember exact "names" of those hint entities, sorry.
     
  7. rectool

    rectool L1: Registered

    Messages:
    8
    Positive Ratings:
    1
    thanks.i will find it
     
  8. Fillmore

    Fillmore L2: Junior Member

    Messages:
    82
    Positive Ratings:
    76
    Sniperbots need a func_tfbot_hint, so they know where to stand and aim. Engineer-bots, on the other hand, use regular point entities (bot_hint_sentryspot, bot_hint_engineer_nest and bot_hint_teleporter_exit).

    If you don't have said bunch of entities on your map, neither bot is gonna do anything (especially Engineer, he really doesn't wanna do anything if the map doesn't have those entities for him)
     
    • Agree Agree x 2
  9. PenolAkushari

    PenolAkushari Never Played MvM

    Messages:
    49
    Positive Ratings:
    24
    Don't sniperbots also use point entities for navigation? snoiper.png
     
  10. Fillmore

    Fillmore L2: Junior Member

    Messages:
    82
    Positive Ratings:
    76
    Valve has used the brush entity for Sniper-bots on all of the MvM maps, so I kinda doubt those will work. I don't even think Valve has ever used those anywhere (maybe those things are for people who like to manually place Sniper-bot spots on their PvP maps?)
     
  11. PenolAkushari

    PenolAkushari Never Played MvM

    Messages:
    49
    Positive Ratings:
    24
    Hm, those seemed to work for me, though console spewed out some errors mentioning those sniper hints on server startup, but snipers were cycling around them anyway.
    Probably I shouldn't actually talk about stuff which I don't fully understand, though.
     
  12. [Rx.] Christian Troy

    [Rx.] Christian Troy L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    42
    Here is what I use to generate a .nav file.

    nav_generate
    nav_edit 1 (this part is important or analyze will not work)
    nav_analyze
     
    • Respectfully Disagree Respectfully Disagree x 1
Tags: