Supertrace has nothing to do with "Lighting the Scene".
Do you know SCAN_TEXTURE in c_move?

Manual:
Quote:


SCAN_TEXTURE Used to give actors some kind of vision, by retrieving the texture name, flags, brightness and light color of the hit surface. Mutually exclusive with USE_BOX.
The predefined string tex_name and the variables tex_flag1..tex_flag8, tex_light, tex_color and tex_fog are modified according to the hit object (see below). If nothing was hit, tex_name and the other parameters are not set. The texture name can be used to check the kind of floor below an entity. Through the str_cmpi instruction the floor texture name can be determined and some different walking behavior can be set. Another possibility is using tex_light to make a player invisible for his enemies when he hides in the shadows.





If you use Ventilator's MeshPlugin to give your Models a second UV-Set (Lightmapping) then you can get the Pixelcolor under the Player with Supertrace.