I'm trying to recreate a common occurrence on an old TF2 server I used to go on. Often, someone would start a small engineer nest in the tunnels underground, and before long the whole team built an engineer camp and tried to hold onto it for as long as they could. What I'm trying to do is spawn a bunch of engineers to build sentries everywhere, and have a bunch of bots attack them. The whole scene plays out as the engineers start singing a sing and kicking ass. Maybe its a job better left for Gmod or SFM, but I wanted to try doing it in TF2 since I can get the engineers to taunt/dance in rhythm. The main problem is that I don't know how to a: start a match with/ or spawn bots. If anyone has a better idea of how to get this idea rolling let me know.
Thanks,
ask mr. google
[url]https://wiki.teamfortress.com/wiki/Bots[/url]
If you want specific team compositions make sure you disable team balancing before adding bots so it doesn't interfere.
[B]mp_autoteambalance 0
mp_teams_unbalance_limit 0[/B]
And don't forget this, too:
[B]tf_bot_keep_class_after_death 1[/B]
Do I need to start a server? If so where is it located in the menu?
[QUOTE=adamsz;47419456]Do I need to start a server? If so where is it located in the menu?[/QUOTE]
Create server or type map "map you wanna play" in console
Bots won't move if you don't make a nav mesh. Even if you do, the Engineer bots will pick where they want to build. You'd have to add nodes I think in the map itself to convince them otherwise. That being said, if you just want to cross your fingers, these are the commands you should need
map <MAPNAME>
sv_cheats 1; nav_generate
(shit's gonna lag for a bit. That's okay, it's making a map so the bots know what's up)
(map will reload, you only ever need to do this top part 1)
(for safe measure, I'll have you reloading the map)
map <MAPNAME>
mp_teams_unbalance_limit 1; mp_autoteambalance 0 ; tf_bot_keep_class_after_death 1
tf_bot_add <TEAM COLOR> <NUMBER> Engineer
So, example. I want to load cp_well with 16 RED engineers.
[code]
map cp_well
sv_cheats 1; nav_generate
map cp_well
mp_teams_unbalance_limit 1; mp_autoteambalance 0 ; tf_bot_keep_class_after_death 1
tf_bot_add RED 16 Engineer
[/code]
You'd copy&paste / type line-by-line exactly that. All into console.
Do you mean spawning bots and scripting their actions with Hammer entities, or controlling them with the "puppet" bot commands with the console?
[QUOTE=Vincentor;47422506]Do you mean spawning bots and scripting their actions with Hammer entities, or controlling them with the "puppet" bot commands with the console?[/QUOTE]
I'm not sure how the first one works, so probably with the console commands people have posted.
Sorry, you need to Log In to post a reply to this thread.