Multiple Filters and Preventing Stickies

Discussion in 'Mapping Questions & Discussion' started by 【EmNudge】, Jun 22, 2016.

  1. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    2 questions for the same problem, so one thread.

    First off, can I put 2 filters on one object? Say I want a filter_activator_name as well as a filter_activator_tfteam on a button. How would I do that?

    2nd question: how would I prevent stickies from detonating in a certain area. func_nogrenades only stops pills and rockets, but I WANT those. I don't want a demoman activating a button with a sticky while he is half way across the map.
     
  2. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,883
    Positive Ratings:
    1,488
    I can only answer the 2nd question, which is to turn the surface you won't want stickies to stick on into a func_brush.
     
  3. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    For your second question: you can change the brushes around the button to entities (like func_brush) and stickies will not stick to them.
     
  4. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    like pills, if you angle it correctly, it will stay within a general area. The button I have is on a flat surface on the floor. If you shoot correctly this won't make a difference.
    I need something like func_nogrenades that will not allow the sticky to detonate or do any damage upon detonation.
     
  5. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,883
    Positive Ratings:
    1,488
    That won't happen AFAIK. You can't interfere with stickies not detonating in one specific area. All you can do is make them roll off that area.
     
  6. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    there isn't any filter_damage_type kind of thing I can do to prevent sticky damage from affecting a button?
    Is there any way to destroy a sticky in a certain area using some sort of trigger?
     
  7. Izotope

    aa Izotope Never releases maps

    Messages:
    592
    Positive Ratings:
    540
    What is this?
    Stickies detonated inside a func_nogrenade volume detonate just like pills and rockets do, they don't.
    I know for a fact that they can't detonate. If they do, then you're doing it wrong.

    As for your filters: You can combine multiple filters with filter_multi.
    Hope this helps!
     
    • Thanks Thanks x 1
  8. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    REMOVED

    I had so many questions to the point where I should have made a new thread.
     
    Last edited: Jun 23, 2016