filter_tf_damaged_by_weapon_in_slot Not Recognized In a filter_multi

EmNudge

L4: Comfortable Member
Sep 23, 2015
183
62
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.
7a19fc4f6afd1a4dca03d26a4ad77978.png

I don't get those errors when connecting to a server hosting my map, only when testing it on a listen server.



Any suggestions?
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
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.
 

EmNudge

L4: Comfortable Member
Sep 23, 2015
183
62
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.
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.