Filter for determining a player's "Ubered" state?

Discussion in 'Mapping Questions & Discussion' started by hydrage, Apr 9, 2008.

  1. hydrage

    hydrage L1: Registered

    Messages:
    49
    Positive Ratings:
    7
    Hi,

    Is there a way to filter an entity based on whether or not the player is being ubered by a medic?

    For example, I have two different trigger_hurts in my level. I want one of the trigger_hurts to cause immediate death to a player, even if he is currently ubered. I want the other trigger_hurt to only cause a small amount of damage per second, and I would like to have ubered players be entirely invulnerable.

    Right now it seems to me that all trigger_hurts will damage players regardless of their ubered state.

    Is there any way around this? I couldn't find any solutions posted. Please let me know if I missed one!

    Thanks,
    - hydrage
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    Unfortunately, there is no way to create such a system w/ the current TF2 entities. You would have to script the filter yourself. Still, I really like the idea, as I can think of a ton of uses for filtering between uber and non-uber players :) But yes, trigger_hurt will damage all players who are caught inside when it's active. Make sure to add this suggestion to our letter; http://forums.tf2maps.net/showthread.php?t=1442