Entities Light
junior
Map Entity Color: (0 1 0) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)
Used for dynamic lighting of characters and alias models.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
Keys
| Key | Description |
|---|---|
| targetname | This entity's ID, can be toggled on and off |
| light | light radius (default=300) |
| _color | Defines the color in scalar R G B values (default=0 0 0) |
light
Map Entity Color: (0 1 0) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)
Non-displayed light, used during lightning compilation.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the direction in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z. |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (various predefined styles, 32-62 assigned programmatically for switchable lights) |
light_bulb
Map Entity Color: (1 1 1) (COLOR PREVIEW) Dimensions: (-2 -2 -5) (2 2 5)
A bulb that outputs light.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the direction in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z. |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (various predefined styles, 32-62 assigned programmatically for switchable lights) |
light_chandelier
Map Entity Color: (1 1 1) (COLOR PREVIEW) Dimensions: (-36 -34 -32) (36 34 32)
A chandelier.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the direction in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z. |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (various predefined styles, 32-62 assigned programmatically for switchable lights) |
light_deco_sconce
Map Entity Color: (1 1 1) (COLOR PREVIEW) Dimensions: (-8 -8 -12) (8 8 12)
A deco sconce.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z. |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker styles, strobe effects, etc.) |
light_fire_esm
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-8 -8 -8) (8 8 8)
Extra-small fire.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| alphalevel | Opacity level -- 1 to 10 (default=5) |
| light | light radius (default=300) |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the direction in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z. |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (various predefined styles) |
light_fire_lg
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-32 -32 -32) (32 32 32)
Large-sized fire.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 8 | DYNAMIC | Also cast light on models. |
light_fire_lg
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-32 -32 -32) (32 32 32)
Large-sized fire.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| alphalevel | Opacity level -- 1 to 10 (default=5) |
| light | light radius (default=300) |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |
light_fire_med
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-24 -24 -24) (24 24 24)
Medium-sized fire.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| alphalevel | Opacity level -- 1 to 10 (default=5) |
| light | light radius (default=300) |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |
light_fire_sm
Map Entity Color: (1 0 0) (COLOR PREVIEW) Dimensions: (-16 -16 -16) (16 16 16)
Small fire.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| alphalevel | Opacity level -- 1 to 10 (default=5) |
| light | light radius (default=300) |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |
light_pendant
Map Entity Color: (1 1 1) (COLOR PREVIEW) Dimensions: (-16 -16 -4) (16 16 4)
A pendant light.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |
light_sconce
Map Entity Color: (1 1 1) (COLOR PREVIEW) Dimensions: (-4 -4 -8) (4 4 8)
A cage light model, set correct skin with spawnflags (default skin: white).
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
| 16 | BLUE_MODEL | |
| 32 | GREEN_MODEL | |
| 64 | RED_MODEL | |
| 128 | YELLOW_MODEL |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |
lightflare
Map Entity Color: (0 1 0) (COLOR PREVIEW) Dimensions: (-2 -2 -2) (2 2 2)
Non-displayed light.
Spawnflags
| Flag | Name | Description |
|---|---|---|
| 1 | START_OFF | Set default state to OFF. |
| 2 | FLARE | Add a flare to the light origin. |
| 4 | NORESIZE | |
| 8 | DYNAMIC | Also cast light on models. |
Keys
| Key | Description |
|---|---|
| light | light radius (default=300) |
| targetname | This entity's ID, can be toggled on and off |
| _cone | Defines spotlights size (default=10) |
| _color | Defines the color in scalar R G B values (default=1 1 1) |
| movedir | Defines the color in scalar R G B values of the flare |
| health | Diameter of the flare (default=24) |
| dmg | Flare type (0=white, 1=sun, 2=amber, 3=red, 4=blue, 5=green) (default=0) |
| _mangle | Yaw and pitch spot direction -- 0 to 360, -90 to 90, or you can use _spotvector |
| _spotvector | Spot direction set by vector X Y Z, or you can use _spotpoint |
| _spotpoint | Spot direction set by coordinate X Y Z |
| _focus | Cone attenuation for spotlights |
| _falloff | Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1) |
| _wait | light distance attenuation |
| _angwait | light angle attenuation |
| style | light frequency (0=normal, various flicker, strobe effects, etc.) |