SkyrimSE:ENBSeries INI Reference/Timeofday: Difference between revisions
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) |
||
Line 49: | Line 49: | ||
# Now all the values are determined to solve for the ''Durations'': | # Now all the values are determined to solve for the ''Durations'': | ||
#: <code>({{fc|green|SunriseTime}} - ''DawnDuration'') = {{fc|chartr|DawnStart}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>({{fc|green|7}} - ''DawnDuration'') = {{fc|chartr|5}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>''DawnDuration'' = 2</code> | #: <code>({{fc|green|SunriseTime}} - ''DawnDuration'') = {{fc|chartr|DawnStart}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>({{fc|green|7}} - ''DawnDuration'') = {{fc|chartr|5}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>''DawnDuration'' = 2</code> | ||
#: <code>({{fc|orange|SunsetTime}} - ''DuskDuration'') = {{fc|salmon|DuskStart}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>({{fc|orange|19}} - ''DuskDuration'') = {{fc|salmon| | #: <code>({{fc|orange|SunsetTime}} - ''DuskDuration'') = {{fc|salmon|DuskStart}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>({{fc|orange|19}} - ''DuskDuration'') = {{fc|salmon|17}}</code> <i class="fas fa-grip-lines-vertical px-2"></i> <code>''DuskDuration'' = 2</code> | ||
#: <p class="mpcode">DawnDuration=2.0<br>SunriseTime=7.0<br>DayTime=9.0<br>SunsetTime=15.0<br>DuskDuration=2.0<br>NightTime=21.0</p> | #: <p class="mpcode">DawnDuration=2.0<br>SunriseTime=7.0<br>DayTime=9.0<br>SunsetTime=15.0<br>DuskDuration=2.0<br>NightTime=21.0</p> |
Revision as of 13:01, July 29, 2021
The time of day (TOD) parameters allow for precise control of when dawn, sunrise, day, sunset, dusk, and night start using the game's time data. These parameters control when specific TOD related settings are applied, thus, they should match the in-game settings (which could be vanilla or altered by a mod). All values use a floating point number based on a twenty-four hour day (0.0...23.9).
DawnDuration
DawnDuration=(0.0...23.9)
This parameter controls the length of time the fade from from NightTime to Sunrise values takes in game hours (when the sky starts to light but before the sun can be seen).
SunriseTime
SunriseTime=(0.0...23.9)
This setting is the time that the sunrise occurs in game.
DayTime
DayTime=(0.0...23.9)
This setting is the time that the middle of the day occurs in game.
SunsetTime
SunsetTime=(0.0...23.9)
This setting is the time that the sunset occurs in game.
DuskDuration
DuskDuration=(0.0...23.9)
This parameter is the duration that the transition from sunset settings fades to night settings in game hours. Basically this is the time from when the sun sets and can't be seen (SunsetTime) to the time set for NightTime.
NightTime
NightTime=(0.0...23.9)
This setting is the time that the middle of the night occurs in game.
Understanding the Durations
The two Duration settings can be confusing to understand. They are essentially timers for the fade effect between two sets of parameters (Reference).
Math
- DawnDuration:
(SunriseTime - DawnDuration) = DawnStart
Dawn ends at SunriseTime - DuskDuration:
(SunsetTime - DuskDuration) = DuskStart
Dusk ends at SunsetTime - Example
-
- DawnDuration=2 and SunriseTime=7
(7 - 2) = 5
- NightTime values will start to transition to Sunrise values at 5am and will complete at 7am.
- DawnDuration=2 and SunriseTime=7
Game Times
So how do you translate this from the game times? The game times are set within the Climate records under TNAM - Timing, but there are only Begin and End times for Sunrise and Sunset. From these times a few values for the TOD formulas can be found. The only real way to get the Sunrise and Sunset times needed for the formula is by watching for the the moment the Sun becomes visible (Sunrise) and the moment it disappears (Sunset). From there, the Durations can be calculated.
Using Cathedral Weathers as an example (current at the time of posting) the process can be walked through as such:
- Open CW plugin to see the following times set:
- Sunrise
Begin = 5:00:00 AM
DawnStartEnd = 9:00:00 AM
DayTime
- Sunset
Begin = 5:00:00 PM
DuskStartEnd = 9:00:00 PM
NightTime
- Sunrise
- Loading the game and using the Wait Menu, one can determine the sun peaks into view at 7AM (SunriseTime)
- Continuing this method it can be seen the sun disappears from view at 7PM (SunsetTime)
- Now all the values are determined to solve for the Durations:
(SunriseTime - DawnDuration) = DawnStart
(7 - DawnDuration) = 5
DawnDuration = 2
(SunsetTime - DuskDuration) = DuskStart
(19 - DuskDuration) = 17
DuskDuration = 2
DawnDuration=2.0
SunriseTime=7.0
DayTime=9.0
SunsetTime=15.0
DuskDuration=2.0
NightTime=21.0