- Mar 15, 2011
- 5
- 0
[SOLVED] Bot cfg headache
I've recently setup a server for my son, and everything was fairly straightforward until he asked me to add bots for him. Two of the maps he plays on the most are custom maps he had asked me to install, and one of them had bots working in it.
Long story short (hopefully), I looked to see what the difference between the two maps were, and one of them had a cfg file, while the other did not. When i looked at the cfg file, the whole thing had to do with adding bots to the map. So, i copied the contents of the cfg file, and made a new cfg file for the other map. Yay! i now have bots on the map...except one of them keeps joining the wrong team...and shooting everyone... D:
Below is the contents of the cfg file. I suspect that the problem has something to do with the tf_bot_add line, but when i take that line out, no bots load at all...
Again, i didn't write the cfg, it came with the map...i simply copied the contents to a new cfg file for another map...
If anybody can tell me the proper way to have a map only load stationary blu bots that use secondary fire, i would appreciate it...
I've recently setup a server for my son, and everything was fairly straightforward until he asked me to add bots for him. Two of the maps he plays on the most are custom maps he had asked me to install, and one of them had bots working in it.
Long story short (hopefully), I looked to see what the difference between the two maps were, and one of them had a cfg file, while the other did not. When i looked at the cfg file, the whole thing had to do with adding bots to the map. So, i copied the contents of the cfg file, and made a new cfg file for the other map. Yay! i now have bots on the map...except one of them keeps joining the wrong team...and shooting everyone... D:
Below is the contents of the cfg file. I suspect that the problem has something to do with the tf_bot_add line, but when i take that line out, no bots load at all...
Code:
sv_cheats 1
mp_teams_unbalance_limit 0
tf_bot_add medic red
bot -team blue -class spy -name [B.S.]/SPY
bot -team blue -class scout -name [B.S.]/SCOUT
bot -team blue -class heavyweapons -name [B.S.]/HEAVY
bot -team blue -class sniper -name [B.S.]/SNIPER
bot -team blue -class pyro -name [B.S.]/PYRO
bot -team blue -class medic -name [B.S.]/MEDIC
bot -team blue -class demoman -name [B.S.]/DEMOMAN
bot -team blue -class soldier -name [B.S.]/SOLDIER
bot -team blue -class engineer -name [B.S.]/ENGI
bot_forceattack2 1
alias "+11a" "alias 13a +12a; +12a"
alias "+12a" "bot_forceattack 1; wait 800; -12a"
alias "-12a" "bot_forceattack 0; wait 700; 13a"
alias "13a" "+12a"
+11a
sv_cheats 0
Again, i didn't write the cfg, it came with the map...i simply copied the contents to a new cfg file for another map...
If anybody can tell me the proper way to have a map only load stationary blu bots that use secondary fire, i would appreciate it...
Last edited: