I can't seem to find many(any) details on changing spring engine settings with lua, but I'm sure there's a much much better way for turning dynamicsun on and off through map options.Spring.SendCommands{"dynamicsun"}
Any advice?
PS: It would be cool if this was a map option instead of an engine option as some maps bake in shading/shadows, hence fairly map dependent.