Spotlight Tower by Drew 'BZ' Davidson A spotlight tower. When a player is in the tower, he emits a spotlight. Great for prison models or something. :-) Perhaps some cool CTF model? ENTITIES: func_spotlight WHAT TO DO: Put a func_spotlight entity in your map, and compile spotlite.qc in your progs code. There are no changes to any other QuakeC files. When a player is within 150 units of that entity, they emit the spotlight. The spotlight checks once per half second for players in/out of range and turns itself on/off. OPTIONS/NOTES: No options. The spotlight is not a physically correct light. It doesn't light up all points from the player to the end point, but rather only lights up the end point. Oh well. This could be improved by making more light entities. The spotlight has a small dot in it (bubble sprite). Is there any way to make an entity emit light but not have a model? Could include a null sprite but that would require client-side changes. Edit the code to change the spotlight active range, or change EF_DIMLIGHT to EF_BRIGHTLIGHT to make spotlight brighter (too bright IMHO). Or change EF_DIMLIGHT to EF_BRIGHTFIELD to make some weird yellow particle field spotlight. :-)