filter_melee_damage
Jump to navigation
Jump to search
Code classes:
FilterMeleeDamage
CBaseFilter
CLogicalEntity
CServerOnlyEntity
CBaseEntity
(all ents)
filter_melee_damage
is a point entity present in Left 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 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