This article's documentation is for anything that uses the Source engine. Click here for more information.

Env splash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{language subpage}} 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]]
{{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.



Revision as of 09:25, 8 January 2024

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

env_splash is an e0 available in all Source Source games. 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