filter_tf_damaged_by_weapon_in_slot Not Recognized In a filter_multi

Discussion in 'Mapping Questions & Discussion' started by 【EmNudge】, Aug 14, 2017.

  1. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    the filter filter_tf_damaged_by_weapon_in_slot can block or allow damage from certain weapon slots, be it primary, secondary, melee, PDA, etc.

    using it by itself works just fine. I was able to create a trigger in which players could only be affected by melee damage. The problem is when used in conjunction with a filter_multi. I tried to create a filter to block stickies by combining a filter_tf_class set to allow demoman and a filter_tf_damaged_by_weapon_in_slot set to allow only secondary in a filter_multi.

    The filter will sometimes not work and other times just block demoman, as if the filter_tf_damaged_by_weapon_in_slot did not exist. I will get an error in console saying that filter_secondary (what I named my filter_tf_damaged_by_weapon_in_slot set to secondary only) is not a filter entity. I also seem to be getting different results on a listen server and on a dedicated server for some odd reason.
    [​IMG]
    I don't get those errors when connecting to a server hosting my map, only when testing it on a listen server.



    Any suggestions?
     
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    592
    Positive Ratings:
    540
    When I made shields for MvM tanks that block different damage types, I had to use filter_multi and have found that it didn't work by default.
    I had to change some settings in the filter_multi to make it work, so try it with different settings.
     
  3. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    I have filter_multi's set up with different filter types which work just fine. It's specifically this filter that's messing it up. It may be even just when it's set to secondary slot and nothing to do with filter_multi.

    I've actually had problems making it work by itself and it may be some bug in the FGD by secondary slot specifically. The only things you can change in a filter_multi are very necessary for what you're trying to make. Negate and Logic Type are pretty important settings.