Discussion in 'Mapping Questions & Discussion' started by rectool, Jun 14, 2017.
I play on my map,but the bot-sniper bot-the engineer does not want to get out of spawn.Why?
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.
yes,i generated.Only snipers,enginers,spys dont move
Have you used nav_analyze? I think it places a few marks needed for those bot classes.
it didn't help
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.
thanks.i will find it
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)
Don't sniperbots also use point entities for navigation?
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?)
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.
Here is what I use to generate a .nav file.
nav_edit 1 (this part is important or analyze will not work)
Separate names with a comma.