Env splash

From Valve Developer Community
Revision as of 10:31, 2 October 2018 by Pinsplash (talk | contribs) (updates)
Jump to navigation Jump to search
English (en)Translate (Translate)
Env splash.png

Template:Base point 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