ability_selfdestruct

From Valve Developer Community
Jump to navigation Jump to search
edit
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

Stub

This article or section is a stub. You can help by expanding it.

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Class hierarchy
CSelfDestruct
CBaseAbility
CBaseEntity

ability_selfdestruct is a logical entity available in Left 4 Dead 2 Left 4 Dead 2. It controls the leaker's self destruct ability. Leaker in current implementation is just a boomer with this ability and is presumably a cut special infected. It can be spawned by setting boomer_leaker_chance cvar and then spawned boomer has a chance to be considered a leaker and have this entity as his ability instead of his usual ability_vomit. When leaker explodes it creates inferno entity which seems to also do spit damage to survivors.

Convars

boomer_leaker_chance	0	"sv", "cheat"	**Chance (0 - 100) in which a boomer with modified behavior will spawn. Explodes and set aflame when player is near.

See also