Env starfield

From Valve Developer Community
Revision as of 17:19, 7 September 2018 by Pinsplash (talk | contribs) (updates)
Jump to navigation Jump to search
Env starfield.jpg

Template:Hl2 point This creates the starfield effect used in the d1_trainstation_01 intro for Half-Life 2.

Note.pngNote:This is not the entity used in the c5a1 outro in Half-Life; that is an intricate system of 42 func_trains.
Icon-Bug.pngBug:Due to how the star trails are coded, their direction of travel will look inconsistent if the player looks around.  [todo tested in ?]
Icon-Bug.pngBug:If the player pauses the game, the number of star trails spawned will pile up over time, creating a sort of "burst" effect when unpaused.  [todo tested in ?]
C++ In code, it is represented by theCEnvStarfieldclass, defined in theenv_starfield.cppfile.

Keyvalues

Inputs

TurnOn
Turn on
TurnOff
Turn off
SetDensity <floatRedirectInput/float>
Set the density of the starfield. It's a multiplier, so 1 is the default.


Outputs

See also