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
(Fixed descriptions)
mNo edit summary
Line 1: Line 1:
{{lang|Env sporeexplosion}}
{{lang|Env sporeexplosion}}
[[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'''.]]
{{base point|env_sporeexplosion}} 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}}
{{code class|SporeExplosion|smoke_trail.cpp}}

Revision as of 14:01, 4 December 2023

English (en)Translate (Translate)
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.

C++ In code, it is represented by theSporeExplosionclass, defined in thesmoke_trail.cppfile.

Keyvalues

Spawn Rate (as percentage) (spawnrate) ([todo internal name (i)]) <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.


Outputs