filter_melee_damage

From Source Entities
Jump to navigation Jump to search

Code classes:

filter_melee_damage is a point entity present in L4d2-small.pngLeft 4 Dead 2. It's a filter that filters attacks for melee damage and optionally by what kind of melee damage.

To do: The number values of Damage type given in the FGD seem to parallel the values of the Damage type keyvalue of filter_damage_type, suggesting that this entity actually behaves identically to filter_damage_type, but with some extra value added on post-spawn. If this theory is correct, the mystery value will probably remain unknown until a method is made for L4d2-small.png of logging damage type combos from damage events.

Keyvalues[edit | edit source]

Damage type (damagetype) <choices>
The damage type to filter by. Allows the specified damage type.
  • 0: All Melee Damage
  • 4: only SLASH
  • 128: only CLUB