filter_activator_name doesn't work for tf2 weapons

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
Hey guys, I've been trying to use the filter_activator_name entity in conjunction with a trigger_multiple using a weapon's targetname to trigger. (e.g tf_weapon_grenadelauncher with a targetname of "Launcher")
But the trigger completely ignores the weapon as I enter the trigger and nothing happens.

What I'm trying to achieve is similar to this tutorial made by @Egan
http://tf2maps.net/threads/tutorial-class-filters.22395/

But I don't want to use this to filter classes, just some weapons.
 
Last edited:

Izotope

Sourcerer
aa
May 13, 2013
698
764
Make sure the weapon can be a trigger by checking the flags.
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
Make sure the weapon can be a trigger by checking the flags.
I've ticked Everything (not including physics debris) and Physics Debris.
It doesn't work despite that and I'm clueless what it could be right now.
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
I decided to put out a video to hopefully give you all a better understanding of what my problem is.

 

Frosty Scales

L2: Junior Member
Mar 22, 2015
93
30
From what I've seen using AddOutput to put a targetname on an entity does not work consistently at all. (works for some entities and not others) I wouldn't be surprised if you just couldn't do it in this case.
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
I think I might be giving up on this one, it's causing me too much pain to try and repeatedly test on what can make it work...
Couldn't figure out another way of what I wanted, if anyone knows of a working way to filter a player using a specific weapon, please let me know.
 

Egan

aa
Feb 14, 2010
1,375
1,721
1. Thanks for pinging me; I've updated that old thread because filter_tf_class now exists.

2. There does exist a filter_tf_damaged_by_weapon_in_slot that you could TestActivator for maybe and see which slotted weapon damaged a func_button. Would the new class filter entity not do the job you desire?
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
1. Thanks for pinging me; I've updated that old thread because filter_tf_class now exists.

2. There does exist a filter_tf_damaged_by_weapon_in_slot that you could TestActivator for maybe and see which slotted weapon damaged a func_button. Would the new class filter entity not do the job you desire?

I want a way to check what weapon class a player has equipped, e.g apply different effects based on if its a demoknight or demoman entering a trigger.
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
So I've come to the conclusion that what I want to achieve isn't possible with the limited tools available for mappers to use, site staff is free to close this thread.
 

Frosty Scales

L2: Junior Member
Mar 22, 2015
93
30
I want a way to check what weapon class a player has equipped, e.g apply different effects based on if its a demoknight or demoman entering a trigger.
why not just use filter_activator_class with a classname filter for tf_weapon_grenadelauncher?