Jump to content

Entities Light: Difference between revisions

From Kingpin Wiki
Created page with "== junior == '''Map Entity Color:''' (0 1 0) (<span style="color:#00FF00;">COLOR PREVIEW</span>) '''Dimensions:''' (-8 -8 -8) (8 8 8) Used for dynamic lighting of characters and alias models. '''Spawnflags''' {| class="wikitable" |- ! Flag !! Name !! Description |- | 1 || START_OFF || Set default state to OFF. |} '''Keys''' {| class="wikitable" |- ! Key !! Description |- | targetname || This entity's ID, can be toggled on and off |- | [[Entities_Light#light|light]..."
 
No edit summary
 
Line 20: Line 20:
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| _color || Defines the color in scalar R G B values (default=0 0 0)
| _color || Defines the color in scalar R G B values (default=0 0 0)
Line 29: Line 29:
'''Dimensions:''' (-8 -8 -8) (8 8 8)   
'''Dimensions:''' (-8 -8 -8) (8 8 8)   


Non-displayed [[Entities_Light#light|light]], used during lightning compilation.
Non-displayed light, used during lightning compilation.


'''Spawnflags'''
'''Spawnflags'''
Line 38: Line 38:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 50: Line 50:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 74: Line 74:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (various predefined styles, 32-62 assigned programmatically for switchable lights)
| style || [[Light_Styles|light frequency]] (various predefined styles, 32-62 assigned programmatically for switchable lights)
|}
|}


Line 85: Line 85:
'''Dimensions:''' (-2 -2 -5) (2 2 5)   
'''Dimensions:''' (-2 -2 -5) (2 2 5)   


A bulb that outputs [[Entities_Light#light|light]].
A bulb that outputs light.


'''Spawnflags'''
'''Spawnflags'''
Line 94: Line 94:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 106: Line 106:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 130: Line 130:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (various predefined styles, 32-62 assigned programmatically for switchable lights)
| style || [[Light_Styles|light frequency]] (various predefined styles, 32-62 assigned programmatically for switchable lights)
|}
|}


Line 150: Line 150:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 162: Line 162:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 186: Line 186:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (various predefined styles, 32-62 assigned programmatically for switchable lights)
| style || [[Light_Styles|light frequency]] (various predefined styles, 32-62 assigned programmatically for switchable lights)
|}
|}
== light_deco_sconce ==
== light_deco_sconce ==
Line 205: Line 205:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 217: Line 217:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 241: Line 241:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker styles, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker styles, strobe effects, etc.)
|}
|}


Line 259: Line 259:
! Flag !! Name !! Description
! Flag !! Name !! Description
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 269: Line 269:
| alphalevel || Opacity level -- 1 to 10 (default=5)
| alphalevel || Opacity level -- 1 to 10 (default=5)
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| _cone || Defines spotlights size (default=10)
| _cone || Defines spotlights size (default=10)
Line 291: Line 291:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (various predefined styles)
| style || [[Light_Styles|light frequency]] (various predefined styles)
|}
|}


Line 309: Line 309:
! Flag !! Name !! Description
! Flag !! Name !! Description
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}
== light_fire_lg ==
== light_fire_lg ==
Line 322: Line 322:
! Flag !! Name !! Description
! Flag !! Name !! Description
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 332: Line 332:
| alphalevel || Opacity level -- 1 to 10 (default=5)
| alphalevel || Opacity level -- 1 to 10 (default=5)
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| _cone || Defines spotlights size (default=10)
| _cone || Defines spotlights size (default=10)
Line 354: Line 354:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}


Line 372: Line 372:
! Flag !! Name !! Description
! Flag !! Name !! Description
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 382: Line 382:
| alphalevel || Opacity level -- 1 to 10 (default=5)
| alphalevel || Opacity level -- 1 to 10 (default=5)
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| _cone || Defines spotlights size (default=10)
| _cone || Defines spotlights size (default=10)
Line 404: Line 404:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}


Line 422: Line 422:
! Flag !! Name !! Description
! Flag !! Name !! Description
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 432: Line 432:
| alphalevel || Opacity level -- 1 to 10 (default=5)
| alphalevel || Opacity level -- 1 to 10 (default=5)
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| _cone || Defines spotlights size (default=10)
| _cone || Defines spotlights size (default=10)
Line 454: Line 454:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}


Line 465: Line 465:
'''Dimensions:''' (-16 -16 -4) (16 16 4)   
'''Dimensions:''' (-16 -16 -4) (16 16 4)   


A pendant [[Entities_Light#light|light]].
A pendant light.


'''Spawnflags'''
'''Spawnflags'''
Line 474: Line 474:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 486: Line 486:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 510: Line 510:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}
== light_sconce ==
== light_sconce ==
Line 520: Line 520:
'''Dimensions:''' (-4 -4 -8) (4 4 8)   
'''Dimensions:''' (-4 -4 -8) (4 4 8)   


A cage [[Entities_Light#light|light]] model, set correct skin with spawnflags (default skin: white).
A cage light model, set correct skin with spawnflags (default skin: white).


'''Spawnflags'''
'''Spawnflags'''
Line 529: Line 529:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|-
|-
| 16 || BLUE_MODEL ||  
| 16 || BLUE_MODEL ||  
Line 549: Line 549:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 573: Line 573:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}


Line 584: Line 584:
'''Dimensions:''' (-2 -2 -2) (2 2 2)   
'''Dimensions:''' (-2 -2 -2) (2 2 2)   


Non-displayed [[Entities_Light#light|light]].
Non-displayed light.


'''Spawnflags'''
'''Spawnflags'''
Line 593: Line 593:
| 1 || START_OFF || Set default state to OFF.
| 1 || START_OFF || Set default state to OFF.
|-
|-
| 2 || FLARE || Add a flare to the [[Entities_Light#light|light]] origin.
| 2 || FLARE || Add a flare to the light origin.
|-
|-
| 4 || NORESIZE ||  
| 4 || NORESIZE ||  
|-
|-
| 8 || DYNAMIC || Also cast [[Entities_Light#light|light]] on models.
| 8 || DYNAMIC || Also cast light on models.
|}
|}


Line 605: Line 605:
! Key !! Description
! Key !! Description
|-
|-
| [[Entities_Light#light|light]] || [[Entities_Light#light|light]] radius (default=300)
| light || light radius (default=300)
|-
|-
| targetname || This entity's ID, can be toggled on and off
| targetname || This entity's ID, can be toggled on and off
Line 629: Line 629:
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
| _falloff || Fall-off style -- 0=linear, 1=inverse, 2=inverse square (default=1)
|-
|-
| _wait || [[Entities_Light#light|light]] distance attenuation
| _wait || light distance attenuation
|-
|-
| _angwait || [[Entities_Light#light|light]] angle attenuation
| _angwait || light angle attenuation
|-
|-
| style || [[Entities_Light#light|light]] frequency (0=normal, various flicker, strobe effects, etc.)
| style || [[Light_Styles|light frequency]] (0=normal, various flicker, strobe effects, etc.)
|}
|}

Latest revision as of 22:31, 17 March 2025

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.)