Env sporeexplosion: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		

		
	
No edit summary  | 
				Le Glaconus (talk | contribs)   (formatting)  | 
				||
| (25 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{Underlinked|date=January 2024}}  | ||
==  | {{languageBar}}  | ||
{{Ent not in fgd}}  | |||
{{CD|SporeExplosion|file1=smoke_trail.cpp}}  | |||
[[File:env_sporeexplosion.jpg|thumb|right|250px|Example with '''Spawn Rate''' set to '''40'''.]]  | |||
{{this is a|point entity|name=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}}.  | |||
==Keyvalues==  | ==Keyvalues==  | ||
{{KV Targetname}}  | |||
{{KV|Spawn Rate (as percentage)|intn=spawnrate|float|How dense the spore effect is, clamped to a max of 1024.{{Confirm}}}}  | |||
{{KV EnableDisable}}  | |||
{{bug|Will always spawn disabled.|tested={{css}}}}  | |||
==Inputs==  | ==Inputs==  | ||
{{I EnableDisable}}  | |||
==FGD Code==  | |||
==  | <syntaxhighlight lang=cpp>  | ||
@PointClass base(Targetname, Parentname, EnableDisable) = env_sporeexplosion : "Bugbait Spore Effect"  | |||
[  | [  | ||
	spawnrate(float) : "Spawn Rate (as percentage)" : 25 : "How dense the spore effect is"  | |||
]  | |||
</syntaxhighlight>  | |||
Latest revision as of 06:12, 29 May 2025
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
January 2024
| SporeExplosion | 
env_sporeexplosion  is a   point entity  available in all 
 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. 
parentnameortarget).
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, clamped to a max of 1024.[confirm]
 
- Start Disabled (StartDisabled) <boolean>
 - Stay dormant until activated (with the
Enableinput). 
Inputs
EnableDisable:
- Enable / Disable
 - Enable/disable this entity from performing its task. It might also disappear from view.
 
FGD Code
@PointClass base(Targetname, Parentname, EnableDisable) = env_sporeexplosion : "Bugbait Spore Effect"
[
	spawnrate(float) : "Spawn Rate (as percentage)" : 25 : "How dense the spore effect is"
]