Env splash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
mNo edit summary
Line 1: Line 1:
{{lang|Env splash}}
{{lang|title=env_splash}}
[[File:Env splash.png|300px|thumb|right]]
[[File:Env splash.png|300px|thumb|right]]
{{base point|env_splash}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.
{{entity|env_splash|type=e0}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.


{{code class|CEnvSplash|effects.cpp}}
{{code class|CEnvSplash|effects.cpp}}

Revision as of 22:42, 7 February 2023

English (en)Translate (Translate)
Env splash.png

Template:Entity It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.

C++ In code, it is represented by theCEnvSplashclass, defined in theeffects.cppfile.

Flags

  • 1: Automatically find water surface (place entity above water) - Make sure %compilewater is set!
  • 2: Diminish with depth (diminished completely in 10 feet of water)

Keyvalues

Scale of the splash (scale) ([todo internal name (i)]) <float>
Scale of the splash.


Inputs

Splash
Create a splash effect.


Outputs