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

Env sporeexplosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, added underlinked tag)
(-added class hierarchy, cleanup, nofgd)
Line 1: Line 1:
{{Underlinked|date=January 2024}}
{{Underlinked|date=January 2024}}
{{lang|Env sporeexplosion}}
{{lang|Env sporeexplosion}}
{{Ent not in fgd}}
{{CD2|SporeExplosion|file1=smoke_trail.cpp}}
[[File:env_sporeexplosion.jpg|thumb|right|250px|Example with '''Spawn Rate''' set to '''40'''.]]
[[File:env_sporeexplosion.jpg|thumb|right|250px|Example with '''Spawn Rate''' set to '''40'''.]]
{{this is a|name=env_sporeexplosion|e0}} It is a purely cosmetic [[weapon_bugbait|bugbait]] spore effect. If something is needed that antlions will react to, see {{ent|npc_grenade_bugbait}} or {{ent|ai_sound}}.
{{this is a|name=env_sporeexplosion|e0}} It is a purely cosmetic [[weapon_bugbait|bugbait]] spore effect. If something is needed that antlions will react to, see {{ent|npc_grenade_bugbait}} or {{ent|ai_sound}}.
{{code class|SporeExplosion|smoke_trail.cpp}}


==Keyvalues==
==Keyvalues==
{{KV|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.}}
{{KV Targetname}}
{{KV|Spawn Rate (as percentage)|intn=spawnrate|float|How dense the spore effect is. This percentage is not bound to 100; even values in the thousands are acceptable.}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV BaseEntity|css=1}}


==Inputs==
==Inputs==
{{I EnableDisable}}
{{I EnableDisable}}
{{I BaseEntity|prel4d=1}}
==Outputs==
{{O BaseEntity|l4d=1}}

Revision as of 07:50, 18 February 2024

Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)Translate (Translate)
Icon-NotInFGD.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.
C++ class hierarchy
SporeExplosion defined in C++ smoke_trail.cpp
CBaseParticleEntity
CBaseEntity
Example with Spawn Rate set to 40.

env_sporeexplosion is an e0 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

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.
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.