Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

How to edit real-time lights in FTEQW?

From Quake Wiki

Revision as of 20:47, 8 November 2022 by 109.100.152.227 (talk)

To generate a custom coloreld light around an edict (self) use:

self.pflags = 2 (for glow on edict and models around it) or 128 (for glow on edict and all around it, models and brushes); self.color = 'R G B'; self.light_lev = intensity/radius;

If you want the glow to vary, set

self.style = n;

For a custom variation choose n > 11 to not override lower values, which are already in use, and assign to n the variation you want by calling lightstyle(n, [string]); characters in the string encode luminosity in ascending order, 'a' being no luminosity, 'm' being default luminosity, and 'z' being max luminosity.