var sun_light = 100;

If you realy use the lite-c language, please delete the -> var <-.

It works with blocklevels, if (!) you add some flat textures to this blocks.

If you are using compiled lightmaps the sun - parameters can't change anything, so nidhogg is right.