This article's documentation is for anything that uses the Source engine. Click here for more information.

env_sporeexplosion

From Valve Developer Community
Jump to: navigation, search
Underlinked - Logo.png
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
English (en)
... Icon-Important.png
Info.png
This entity is not in the Counter-Strike: SourceDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Counter-Strike: Global Offensive FGD by default .
See below for instructions on making it available.
class hierarchy
SporeExplosion defined in smoke_trail.cpp
CBaseParticleEntity
CBaseEntity
Example with Spawn Rate set to 40.

env_sporeexplosion is a point entity available in all Source Source games. It is a purely cosmetic bugbait spore effect. If something is needed that antlions will react to, see npc_grenade_bugbait or ai_sound.

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Spawn Rate (as percentage) (spawnrate) <float>
How dense the spore effect is. This percentage is not bound to 100; even values in the thousands are acceptable.

EnableDisable:

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.