bot_generator / bot_roster not working correctly for the Medic

Discussion in 'Mapping Questions & Discussion' started by MOCOLONI, Dec 21, 2014.

  1. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    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
     
  2. Egan

    aa Egan

    Messages:
    1,318
    Positive Ratings:
    1,519
    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
     
    • Thanks Thanks x 1
  3. henke37

    aa henke37

    Messages:
    1,947
    Positive Ratings:
    461
    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.
     
    • Thanks Thanks x 1
  4. MOCOLONI

    MOCOLONI L5: Dapper Member

    Messages:
    243
    Positive Ratings:
    60
    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.