How to make a func_breakable only damageable by melee

KiddleyWiffers

L1: Registered
Mar 2, 2019
2
0
I am creating a map and need to make it to where a func_breakable can only be damaged via melee. I am making a map that you can dig through and I don't want a heavy, soldier, demo, or even medic just drilling through the entire area very quickly.
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Create a filter_tf_damaged_by_weapon_in_slot, give it a name (e.g. damage_filter), set the filter mode to allow, and set the "Weapon Slot" keyvalue to "Melee". Next, in your func_breakable entities, set the "Damage Filter" keyvalue to the name of the filter you just created, and voilà, everything should work fine