Env sporeexplosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
(updates)
Line 1: Line 1:
[[Image:env_sporeexplosion.jpg|thumb|right|250px|Example with ''Spawn Rate'' set to 40.]]
{{lang|Env sporeexplosion}}
{{hl2 point|env_sporeexplosion}}
[[File:env_sporeexplosion.jpg|thumb|right|250px|Example with '''Spawn Rate''' set to '''40'''.]]
{{hl2 point|env_sporeexplosion}} A purely cosmetic [[weapon_bugbait|bugbait]] spore effect. If you want something that antlions will react to, see {{ent|npc_grenade_bugbait}} or {{ent|ai_sound}}.


==Entity description==
{{code class|SporeExplosion|smoke_trail.cpp}}
Purely cosmetic bugbait spore effect. If you're looking for a version of this that antlions would react to, see [[npc_grenade_bugbait]].


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{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 Parentname}}
 
{{KV EnableDisable}}
{{KV EnableDisable}}
 
{{KV BaseEntity|base=1}}
{{KV|Spawn Rate (as percentage)|float|How dense the spore effect is (Percentage).}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I Parentname}}
{{I EnableDisable}}
{{I EnableDisable}}
{{I BaseEntity|base=1|prel4d=1}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}
 
[[Category:Half-Life 2 Entities]]

Revision as of 15:35, 7 September 2018

English (en)Translate (Translate)
Example with Spawn Rate set to 40.

Template:Hl2 point A purely cosmetic bugbait spore effect. If you want something 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