Nav_generate/bots and debugging

Oct 6, 2008
1,947
445
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?
 

Jeremy

L11: Posh Member
Oct 24, 2010
829
299
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.
 
Last edited:
Oct 6, 2008
1,947
445
Thanks Jeremy - I got the bots working - they now kill each other quite nicely aand it helps test my edicts limits :)
 

Jeremy

L11: Posh Member
Oct 24, 2010
829
299
Well good on you!

thumbsUp.jpg
 
Last edited:

darthvader45

L1: Registered
Apr 22, 2013
1
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.
 

colacan

L5: Dapper Member
Apr 14, 2012
235
85
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.
 

henke37

aa
Sep 23, 2011
2,075
515
Yes, because it's already been done. And then properly hand edited to fix all the errors from the automated generation.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
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.