How to make a func_breakable only damageable by melee

Discussion in 'Mapping Questions & Discussion' started by KiddleyWiffers, Mar 2, 2019.

  1. KiddleyWiffers

    KiddleyWiffers L1: Registered

    Positive Ratings:
    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.
  2. Narpas

    aa Narpas Takes way to long to make and update maps

    Positive Ratings:
    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