Stop Player Taunting

Discussion in 'Mapping Questions & Discussion' started by 【EmNudge】, May 9, 2017.

  1. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    Is there a brush-based entity or something that I can use that will stop players from taunting in a specific area?

    I know that players cannot taunt under specific situations. There have been times where spamming G wouldn't even let me taunt, so I know it's possible, at least plugin-wise
     
  2. Hydrogen

    Hydrogen MvM Maniac

    Messages:
    84
    Positive Ratings:
    196
    I'm not a map maker so I might be talking right out of my ass here, but I believe you can use the TF2 condition trigger/brush (dunno the name) and remove the "taunting" condition (TFCond_Taunting, condition #7) for all players that pass through or touch it.

    If I was doing this via a Sourcemod plugin (map entity work has some similarities to plugins), that's what I would do - remove the taunting condition to stop them taunting. (At least, I think that should work.)
     
  3. Diva Dan

    aa Diva Dan hello!

    Messages:
    813
    Positive Ratings:
    1,229
    This might not fix it but "taunt is press and hold" in a Trigger_add_or_remove_tf_player_attributes might affect taunting. I'll experiment with it a bit later to see if it helps.

    Why are you trying to prevent people form taunting, though? Because there might be a different way to approach the issue
     
  4. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    There are two reasons. One, I've got a boxing ring area where I would like the medics to not be able to heal teammates with the amputator taunt. Two, I don't want medics using the "Meet The Medic" taunt in the water and hurting everyone's ears (It's a glitch valve has yet to fix).

    Of course, there are different ways to approach both of those, but none would work as well as just blocking taunting in those areas. It'd also be nice if I could use it in other, less needed scenarios.
     
    • Thanks Thanks x 1