trigger_pushes not working

Discussion in 'Mapping Questions & Discussion' started by DrSquishy, Aug 26, 2017.

  1. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    The title explains it all. My trigger push isn't working. I have the right flags and directions and it works on one section, but not on the rest. Any help?
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Perhaps the direction is wrong after all? It would be helpful when you just make a screenshot of the entity settings in the future and post them along with the thread
     
  3. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    One section of it works fine, in the direction intended but the rest doesn't. It's a single brush
     
  4. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    trigger_push1.PNG trigger_push2.PNG
     
  5. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    663
    Positive Ratings:
    468
    Try checking "Clients" in your flags. Idk if that will fix it, but it's worth a shot.
     
    • Thanks Thanks x 1
  6. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    what do you mean with section? Like part of the brush doesn't work or is it build of multiple ones?

    EDIT (cos ninja): oh yeah, you should definitely check Clients.

    In case you want to to catapult players, you should look into trigger_catapult.
     
  7. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    Suddenly started working properly. Thanks
     
  8. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    I'm not sure but doesn't trigger_push only work on players which are airbone? I never used the entity so this might be false, but perhaps this is what gave you trouble?
     
  9. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    663
    Positive Ratings:
    468
    Nah, I used it on koth_skyfall to push players off the map, it worked fine even if you were standing on the ground
     
  10. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    I'm using it in conjunction with some water
     
  11. Tango

    Tango L3: Member

    Messages:
    113
    Positive Ratings:
    59
    Use trigger_catapult if you want to fling people into the air. Or push you you want a shove.
     
  12. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    Aren't trigger_conveyors good for that as well?
     
  13. Tango

    Tango L3: Member

    Messages:
    113
    Positive Ratings:
    59
    Never really used a conveyor before so maybe? I dunno I've always used trigger_push for that stuff
     
  14. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    500
    Positive Ratings:
    106
    From what I've tried, they're like a solid trigger_push. Anything that touches the solid upside of the brush is pushed
     
  15. henke37

    aa henke37

    Messages:
    1,876
    Positive Ratings:
    440
    trigger_conveyor also has a material proxy that goes with it, letting you animate the texture on the brush in sync with the movement.
     
  16. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    36
    actually, trigger_apply_impulse might be better suited if there isn't a specific launch target, but rather just a direction (i.e. up). It needs to have an input of ApplyImpulse in order for it to blast anything, so what you can do is have it OnStartTouch send ApplyImpulse to the entity !self (that's the trigger itself).

    Also, it's func_conveyer. It's not a trigger entity so it doesn't have any trigger functionality (i.e. no OnStartTouch, no !activator). In addition to that, it has difficulty pushing objects upwards (hasn't worked for me). It's more suited for an actual conveyer belt, where objects are pushed horizontally.

    If you'd like you can check out a video I made on launching players. I didn't include func_conveyer since it didn't work for me to launch players upward.

    Another option is to change the player's basevelocity with AddOutput. it basically does the same thing as trigger_apply_impulse, but it can be used on any trigger or even button. You can check out the text version of that tutorial here: https://tf2maps.net/threads/the-input-named-addoutput.32687/
     
    • Thanks Thanks x 1
    • Like Like x 1
  17. Izotope

    aa Izotope Never releases maps

    Messages:
    609
    Positive Ratings:
    571
    trigger_catapult doesn't need a launch target, it's optional.
     
    • Thanks Thanks x 1
  18. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    But the impulse entity works like the basevelocity input then it takes the players aircontroll which makes you always land on the target.
    Bit I thought this is what you can also do with different launch methods of the trigger_catapult or do they set something else? I couldnt find much information about that setting.


    EDIT: nvm, there is a setting for ait controll in trigger_catapult, I was thinking of the "exact solution method" which I couldn't figure out what it does
     
    Last edited: Aug 27, 2017