env_dynlight

XashXT

env_dynlight

A dynamic omnidirectional light source without support for shadows.

Spawnflags

SF_DYNLIGHT_START_ON 1 (initially turned on)
SF_PROJECTOR_NO_ATTEN 2 (turns off the falloff texture; the light is distributed without attenuation as far as you can see)
SF_DYNLIGHT_NOLIGHT_IN_SOLID 4 (the light is turned off when inside a solid object)

Options

radius Radius within which the light intensity falls off to zero.
lightstyle Applies a standard light style effect (1–12) to the dynamic light.

Usage Details

  • This light source is not designed to be customisable, unlike env_projector. Its main purpose is to provide a similar light source to the one in Spirit of Half-Life.
  • You can set the light colour using rendercolor.