Nav_generate/bots and debugging

Discussion in 'Mapping Questions & Discussion' started by Kill_the_Bug, Jul 18, 2012.

  1. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,477
    Positive Ratings:
    240
    Hi,

    Ok, apparently my map crashed at 32 players for some reason and I'm trying to track it down as I'm totally blind on this crash.

    I'm thinking that it might be an edicts crash but I'm only at 1500 +- (1483 to 1503 if I hide stuff between compiles) max entities.

    I'm trying to create bots to test it out for the edicts (unless there's a console comand to do it) but everything with bots on this map seems to be wierd.

    Example - nav_generate - it only will create the nav mesh for stage 3 of the map (map crashed stage 1 after 5 mins) it doesn't do the rest of the map and forces you to do it manually but when I edit it manually the manual modifications aren't staying when I close the map and re-open it. Do I have to save it somehow?

    The bots once added aren't following any standard bot commands - i.e. I tell them to jump - they stand there, I tell them to mimc - they stand there, I give them the command to fire all weapons they stand there.

    When the round starts the magically come to life and run out to the cart on the modified mesh I've made for them.

    Any ideas what's going on and how I test it?

    Also - another really wierd bug that seems to happen completey at random is - I'm running into an invisble wall and it stops me - I back up, run forward and it's not there anymore - it's not there all the time in fact have only seen it once in that location but the issue will happen from time to time in diferent loactions (always random) and it seems to just be happening on displacements. Is it just the displacements physics acting up?
     
  2. Jeremy

    Jeremy L11: Posh Member

    Messages:
    829
    Positive Ratings:
    251
    You have to use nav_save in order to save manually-created/modified .nav files (but not if you're using nav_generate).

    Also are you using puppet bots or actual tf_bots? Because tf_bots don't follow bot commands such as bot_mimic.
     
    • Thanks Thanks x 1
    Last edited: Jul 18, 2012
  3. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,477
    Positive Ratings:
    240
    Thanks Jeremy - I got the bots working - they now kill each other quite nicely aand it helps test my edicts limits :)
     
  4. Jeremy

    Jeremy L11: Posh Member

    Messages:
    829
    Positive Ratings:
    251
    Well good on you!

    [​IMG]
     
    Last edited: Jul 20, 2012
  5. darthvader45

    darthvader45 L1: Registered

    Messages:
    1
    Positive Ratings:
    0
    Ok, I'm creating a 32-player server for MvM using a stock map, and apparently whenever I start nav_generate, I get a connection problem and it auto-disconnects. And I wanted to play MvM with tf_bots.
     
  6. colacan

    colacan L5: Dapper Member

    Messages:
    235
    Positive Ratings:
    66
    MvM maps already have nav files, but tf_bots are not set up for MvM, so you can't play it with them. Nor should you ever try to generate a nav on one.
     
  7. henke37

    aa henke37

    Messages:
    1,926
    Positive Ratings:
    454
    Yes, because it's already been done. And then properly hand edited to fix all the errors from the automated generation.
     
  8. ics

    aa ics http://ics-base.net

    Messages:
    720
    Positive Ratings:
    435
    1500 entities is quite a lot for gamemode such as MvM because there's a lot more dynamic entities created on the fly than in normal player vs player game. For example, i have around 1400 in one of my maps and it goes up to 1700-1800 edicts in a 30 player server. If that map would be in mvm, i'd propably be nearing a crash also.