I texured the skycube with "skywhite" from the standard wad file and compiled it. Running the script below works with the pan and tilt functions. I see the sky. However changing the brightness via the functions bright_lights() and dim_lights() still gives that irritating error message "empty pointer in bright_lights()...". Basically, these two functions should work, since I defined the skycube as "sky" within WED. Therefore the sky_cube_level pointer should be defined and not NULL. I don't get it.