Veitikka -> RE: defaults.xml terrain and temperature values? (11/29/2019 8:36:41 AM)
|
This is how I've calculated them. 1. Go to https://suncalc.org and find your location. For each month, select the 21st day. 2. Copy the 'Dawn', 'Sunrise', and 'Sunset' values. Round them up or down to the closest full minute. Calculate the number of seconds (hours*3600+minutes*60). For example: Dawn 5:31:24 -> 5:31 -> 19860 Sunrise 6:13:33 -> 6:14 -> 22440 Sunset 18:30:59 -> 18:31 -> 66660 3. Calculate the defaults.xml 'twilightLength', 'dayLength', and 'sunriseTime' values. For example: twilightLength = Sunrise - Dawn = 2580 dayLength = Sunset - Sunrise = 44220 sunriseTime = Dawn = 19860
|
|
|
|