Well don't set the sun to 0 when you want shadows from the sun.

sun_color is a script variable and works always, just set it after level loading.