by Supa » Wed Oct 19, 2005 5:07 pm
(Please excuse me if I'm rambling here, I've been sick for the past week and I'm just starting to come out of it..)
Look in dpextensions.qc, specifically take a look at DP_ENT_GLOW and TENEBRAE_GFX_DLIGHTS. DP_ENT_GLOW should work well enough for basic colored dynamic lights. If you want to manually set the light radius and apply a light style or cubemap you'll need to use TENEBRAE_GFX_DLIGHTS.
Of course, if you're talking about setting light colors in maps you'll need a light utility that features colored lights; off the top of my head and (Actually a full map compiler package) support colored lighting. (I recommend hmap2, but I might just be a little biased.. :P). Once you have a light utility that supports colored lights, you can generally assign the RGB value of a light with the key '"_color" "R G B"'