tf_bots don't like my arena map, anything I can do to negate this?

Discussion in 'Mapping Questions & Discussion' started by NH4ClO4, Aug 5, 2013.

  1. NH4ClO4

    NH4ClO4 L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    I've been making a small arena map over the past few days, and one thing's been irking me- The bots don't seem to do anything, they simply stand in spawn. There's no line-of-sight between the spawns but there isn't much between them. I've generated navmeshes automatically in-game but that didn't seem to help too much. Do bots just not perform in arena mode or are picky about a map? If so, what should I keep in mind to make a map bot-friendly?
     
  2. Shaeam

    Shaeam L1: Registered

    Messages:
    42
    Positive Ratings:
    16
    I could be wrong -- but to my knowledge tf_bots won't work on arena maps. Valve hasn't coded their AI to properly work with the game mode. Which is a shame, it seems as though it'd be easy to do.

    A list of game modes that don't have coded

    SD_
    PLR_
    ARRENA_
    MvM_ (If we're talking about TF_bots only)

    To a lesser degree CTF (The AI works; per say; but some classes (The engineer) get confused often.
     
    • Thanks Thanks x 2
  3. NH4ClO4

    NH4ClO4 L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Ok, thanks. That's kind of what I feared. *sigh*
     
  4. Fantasma

    aa Fantasma

    Messages:
    884
    Positive Ratings:
    977
    You could temporarily turn it into a koth map, with respawns set to 99999 and an instant cap win and test it like that.
     
  5. jakoman

    jakoman L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    I think the problem is that there's no solid objective in arena - a bot needs clear directions on where to go. It's for the same reason that they don't work on plr, where the player can choose either to defend their base or push the cart. That said I don't think using a koth gametype would give you any useful information on gameplay unless the player is actually forced to go to the point, which most arena maps avoid.

    Sorry about the roundabout answer.
     
  6. Eureka

    Eureka L1: Registered

    Messages:
    17
    Positive Ratings:
    0
    Type "sv_cheats 1" in console
    Type "nav_generate" in console
    Wait while the game generates AI paths, progress is tracked in the console
    Map will reload (navigation has been saved and the previous step doesn't need to be repeated)
    Open console and type "tf_bot_add <number>" as above to add bots
    Revert "sv_cheats" to 0 afterwards (optional, but if it is not done, then achievements will be disabled)

    Make sure you do the TF_Bot_add because that adds AI, and not the puppet bots.

    It should work on arena maps as well.
     
  7. Fantasma

    aa Fantasma

    Messages:
    884
    Positive Ratings:
    977
    I did all the things of the above when I was working on my arena map ages ago.
    It didn't work for me, and even after lots of googling nothing came up.
    As suggested before, just turn it into a KOTH or CTF map