bot_generator / bot_roster not working correctly for the Medic

  • If you're asking a question make sure to set the thread type to be a question!

MOCOLONI

L6: Sharp Member
Dec 16, 2014
373
89
I'm trying to spawn a few bots, and I've configured them to be "frozen". So, everything works fine but, if there are a Medic along with another player, the Medic will start healing everyone around him. I used bot_generator and bot_roster, with the next edited values:

[bot_generator]
Name: Medic
Pitch Yaw Roll: 0 90 0
Team: RED
Class: Medic
Disable Dodge: Yes
Don't spawn bots unless triggered: Yes (I spawn them with a button)

Flags:
Spawned Bots Ignore Enemy Scouts
Spawned Bots Ignore Enemy Soldiers
Spawned Bots Ignore Enemy Pyros
Spawned Bots Ignore Enemy Demomen
Spawned Bots Ignore Enemy Heavies
Spawned Bots Ignore Enemy Medics
Spawned Bots Ignore Enemy Engineers
Spawned Bots Ignore Enemy Snipers
Spawned Bots Ignore Enemy Spies
Spawned Bots Ignore Enemy Sentry Guns
Spawned Bots Ignore Scenario Goals

[bot_roster]
Team: RED
Allow class changes: No
 

Egan

aa
Feb 14, 2010
1,375
1,720
This might just be built in behavior for the medic bots.

It really depends on what situation you're using this medic in. If it's just a bot that is supposed to stay put you could force the server command 'notarget' in a point_servercomamnd - which makes bots unable to see other clients in the world.

If this is for a certain single player situation maybe you could temporarily have the medigun weapon killed at the start of the game (fire a kill output to tf_weapon_medigun).

Or maybe you could force them to use the melee addcond for a short time. /shrug
 

henke37

aa
Sep 23, 2011
2,075
515
Are you sure that notarget works? From what I understand all it does is making NPCs think that they are never in the PVS of the player. Bots aren't NPCs and I doubt that they care about PVS.
 

MOCOLONI

L6: Sharp Member
Dec 16, 2014
373
89
I've already thought I may add this entity, but I also thought it will work for NPC only. For the moment, I will just replace the bot's class. Thank you both for answering.