Help with invisible "pushers"?

Discussion in 'Mapping Questions & Discussion' started by Ninjilla, Feb 9, 2009.

  1. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Im sure many of you have played Aqua and blackmesa, and Im trying to do a similar thing where a player is pulled up through an air duct, but I dont know what entity to use. I tried looking around and thought func_conveyor would work, but the trigger block stays solid and didnt do anything. I tried looking through other threads and didnt see anything. Sorry, but any help please?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    trigger_push set to the direction you want and with sufficient speed. Note that if you want to lift a player they must first lose contact with the ground, either by jumping or you can make a tiny invisible "step" they must cross over to enter the lift zone, thereby putting them in the air when they step off.
     
  3. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Oooh, thanks Boojum! Also thanks for the prop library;)
     
  4. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    it works for the most part, just the little step thing doesnt work, I still need to jump even after falling off my invisible step. Any way to remedy this? Apart from that its sending me on up.
     
  5. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    Make sure that the func push reaches the ground. Also it'd help a little more to see a screenshot of what you're doing.
     
  6. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Oh, mmk. I got a screenie up

    [​IMG]

    Im trying to do a vent shaft where the player goes up a vertical shaft and is pushed upwards. I guess I could raise the push and make players just jump up into it, but I dont have a big HEY YOU JUMP UP texture, and I dont wanna confuse the players thinking they cant get up the shaft and just not try.
     
  7. What Is Schwa

    What Is Schwa L6: Sharp Member

    Messages:
    375
    Positive Ratings:
    220
    If I'm seeing that right your clip brush goes under the trigger push. Do like Boojum said and make it a step.
     
  8. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,182
    I think he meant step down, not up
     
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Yeah, he did what I was intending, not sure why it didn't work. I'll see about fiddling with this today.

    editzorz: Apparently the TF2 movement code is different than I expected, and you don't actually fall off of steps that are under the step height distance (18), but rather stick to them and instantly move down. All this means is you need to have the step-off into the push be 19 units or greater. Visually, the best way to do this so not to have a step is just sink the pusher tube below the floor and not have any "step up", just a "step off" into the tube.
     
    Last edited: Feb 11, 2009
  10. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Kind of like making a pit?

    [​IMG]

    Cuz I tried that before, though I dont remember if the push went all the way to the floor, but the player kept bouncing up and down a few inches until I jumped, and then it pushed me all the way up.
     
  11. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    Can you increase the push strength, or overlap two of the same brush entity in the same place?
     
  12. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Yes, a pit like that. (love the demoman :p) However you will probably have to increase the push strength because when you jump you have instant acceleration from the jump that means the push doesn't have to lift as much. Without that jump you need more force.
     
  13. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Ah, okay. Im thinking I will have the brush that the player falls into be a very high strength to start the push, and a second push above that makes a nice smooth ride to the top. I'll try this, thanks guys :D (and is it just me, or does the : D smiley look like it drools? o_O)
     
  14. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    Also, keep in mind that gravity is, by default, set to 800. Therefore your pusher needs to exceed 800 to send it upwards (I set mine to 1600).
     
  15. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    55
    Ooh wootness, it works! Thanks for the help guys :D!
     
  16. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    You could make a trigger_multiple. On_touch (when player is touching the pusher) ---> Activates Pusher.