Left 4 Dead 2

Left 4 Dead 2

34 ratings
spectator lights
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
4.308 KB
24 Oct @ 7:32pm
24 Oct @ 9:30pm
2 Change Notes ( view )

Subscribe to download
spectator lights

In 1 collection by Enlisted
l0st spectator
5 items
Description
might be *kinda* expensive to compute and *somewhat* problematic

causes free cam spectators to be a light source, so you can illuminate the path forward for your fellow survivors or fellow infected

changes hue based on your team by default, so infected spectators can leave a blood red light, while survivors leave a sad blue light

includes a customizable ems config file at spectatorlights/options.cfg

// bitfield to control which teams' spectators have lights (1 = spectators, 2 = survivors, 4 = infected) team = 7 // muffle non-free cam lights (i.e. spectating somebody else) muffle = true // should we change the light's hue based on the player's team? hue = true // distance between the spectator's camera and the light itself distance = 0 // max distance the light is allowed to cast radius = 512 // how bright the light should be (between -127 and 127) brightness = 0 // controls the radius of the flashlight (0 to make it omni-directional) cone = 0 // same as above inner_cone = 0
4 Comments
Ænima² 14 hours ago 
WithExtraDip what is the plugin's name ?
withextradip 27 Oct @ 6:57pm 
Someone should add dynamic lights to explosions. I know there's a Sourcemod plugin for that, but that's a lot less convenient to use and setup
dylancares 25 Oct @ 10:21pm 
Thank you, holy moly thank you. This is fantastic.
Jakiy 24 Oct @ 8:20pm 
Becoming a drone after you dead. Reminds me of Level Zero Extraction mechanics. :steamhappy: