This post has been marked by the post author as the answer.
@Duch - there are a lot of light references in this shader all over the place, not sure I caught them all and only those relating to the sun - however before I spend any more time, if you'd like could you try the attached one to see if I'm going in the right direction with what you want.
Basically the Surface Sun Factor slider should reduce (turn-off when at zero) the dynamic sunlight on the scene, so only the ambient slider adds general background illumination and dynamic lights. So this should also adjust specular light and shadows from the sun too.
Please keep a back-up of your stock abpr_core.fx and when replaced with the attached you'll have to do the forceloadtestgameshaders=1 in setup.ini for the first use to recompile the shaders.
@Teabone - dynamically moving the sun is a non-trivial task, need to:
work out vectors from the rotation angles
sync the sky box sun position to sun angles
adjust the light direction for all of the shaders, for specular reflections
sync the light ray control angle to sun angle
move the directional shadow camera to move the shadows to sun angle
for day/night - blend sky boxes (DBP code for this is in the source and works when converted, with some shader changes too)
add some lua commands to control it all (the easy bit)
It will arrive at some point via me or someone else if they get there first
Cheers.