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

Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:Env splash.png|300px|thumb|right]] | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:Env splash.png|300px|thumb|right]] | ||
{{CD|CEnvSplash|file1=effects.cpp}} | |||
{{this is a|e0|name=env_splash}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water. | {{this is a|e0|name=env_splash}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water. | ||
{{ | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Scale of the splash|intn=scale|float|Scale of the splash.}} | |||
==Flags== | ==Flags== | ||
{{fl|1|Automatically find water surface (place entity above water) - Make sure <code>%compilewater</code> is set!}} | |||
{{fl|2|Diminish with depth (diminished completely in 10 feet of water)}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Splash|Create a splash effect.}} | {{IO|Splash|Create a splash effect.}} | ||
== | == See Also == | ||
{{ | * {{ent|info_particle_system}} |
Revision as of 10:39, 10 March 2024


![]() |
---|
CEnvSplash |
![]() |
env_splash
is an e0 available in all Source games. It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Scale of the splash (scale) <float>
- Scale of the splash.
Flags
- Automatically find water surface (place entity above water) - Make sure
%compilewater
is set! : [1]
- Diminish with depth (diminished completely in 10 feet of water) : [2]
Inputs
- Splash
- Create a splash effect.