Player Slow-Down Brush Thing?

Discussion in 'Mapping Questions & Discussion' started by Weiner Wagon, Oct 31, 2016.

  1. Weiner Wagon

    Weiner Wagon L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Hi all,

    I am currently working on a swampy-themed map, and there are parts of the map where the player may tread through water. I was wondering if there was some brush entity i could use to make the character's speed slow down while they are in the water.

    Thanks,
    Weiner Wagon
     
  2. Narpas

    Narpas L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    149
    The best that I can think of is to create a trigger_add_tf_player_condition and set it's "Condition" value to TF_COND_AIMING, and the duration to -1. Keep in mind that this will likely glitch the animations a bit, though.
     
  3. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,429
    Positive Ratings:
    1,173
    Iirc this cond crashes the client if they are holding their primary weapon and its unable to zoom. Better use heavy minigun spinning which works, and will probably glich animations as well. Might also play around with trigger_push if you have a water stream.
     
  4. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,381
    Positive Ratings:
    4,210
    Forcing players to slow down will likely prove to be annoying in practice, so I'd be careful with this.
     
    • Agree Agree x 2
    • Thanks Thanks x 1
  5. Narpas

    Narpas L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    149
    Actually, TF_COND_ZOOM is the one that crashes. You are referring to the same one that I am.
     
    • Thanks Thanks x 1
  6. Trotim

    aa Trotim

    Messages:
    1,180
    Positive Ratings:
    995
    trigger_stun set to None can still apply a move speed reduction