[Tip] Clipping with trigger_push!

Discussion in 'Tutorials & Resources' started by Nineaxis, Aug 13, 2009.

  1. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,404
    So you're making a map, and there's a tall prop, or some high ledge, or just some place you don't want people to be. Clipping it with playerclip is an option, but say it's something like this telephone pole:

    [​IMG]

    Playerclipping the top would prevent people from jumping over it and generally be an obstruction to player movement (if they happen to be rocket or sticky jumping). The problem is, you don't want people to stand on top of it, because it gives a nice spot soldiers or demomen can camp from.

    Don't worry! There's an easy way to fix this:

    [​IMG]

    That's right, we're using a small trigger_push on top of the telephone pole to keep people off of it. They can jump over the pole, around it, whatever, but if they jump on top of it, they'll essentially slide off.

    All I've done is made a small, weak trigger_push on top of the telephone pole. For direction, I'd recommend setting it to whatever direction players are likely to be travelling when they land on it, so it seems more natural when they slide off, instead of landing on it and reversing direction and flying back where they came from.
     
    • Thanks Thanks x 8
  2. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,682
    Dam Nine is on a roll today! :woot:
     
  3. Owlruler

    Owlruler L12: Fabulous Member

    Messages:
    964
    Positive Ratings:
    271
    Yay for more tutorials!