SkyrimSE:ENBSeries INI Reference/Timeofday: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
Line 74: Line 74:
NightTime = 1.00</pre>
NightTime = 1.00</pre>


== Current ENB Effect Times ==
=== Cathedral Weathers ENB Effect Times ===
{| class="wikitable" style="width:65%; float:left;"
! Time
! Period
! Notes
|-
! style="color:#aa88e8; text-align:left;"| 1
| style="color:#aa88e8; text-align:left;"| night
|
|-
! style="color:#aa88e8; text-align:left;"| 2
| style="color:#aa88e8; text-align:left;"| night
|
! style="color:#aa88e8; text-align:left;"| 3
| style="color:#aa88e8; text-align:left;"| night
|
! style="color:#aa88e8; text-align:left;"| 4
| style="color:#aa88e8; text-align:left;"| night
| #4bb073
|-
! style="color:#4bb073; text-align:left;"| 5
| style="color:#4bb073; text-align:left;"| night/dawn
| style="color:#4bb073; text-align:left;"| begin night fade out, begin dawn fade in
|-
! style="color:#4bb073; text-align:left;"| 6
| style="color:#4bb073; text-align:left;"| dawn/sunrise
| style="color:#4bb073; text-align:left;"| night end, begin dawn fade out, begin sunrise fade in
|-
! style="color:#9ead48; text-align:left;"| 7
| style="color:#9ead48; text-align:left;"| sunrise/day
| style="color:#9ead48; text-align:left;"| dawn end, begin day fade in
|-
! style="color:#9ead48; text-align:left;"| 8
| style="color:#9ead48; text-align:left;"| sunrise/day
|
|-
! style="color:#9ead48; text-align:left;"| 9
| style="color:#9ead48; text-align:left;"| sunrise/day
| style="color:#9ead48; text-align:left;"| begin sunrise fade out
|-
! style="color:#e0b438; text-align:left;"| 10
| style="color:#e0b438; text-align:left;"| sunrise/day
|
|-
! style="color:#e0b438; text-align:left;"| 11
| style="color:#e0b438; text-align:left;"| sunrise/day
|
|-
! style="color:#e0b438; text-align:left;"| 12
| style="color:#e0b438; text-align:left;"| day
| style="color:#e0b438; text-align:left;"| sunrise end
|-
! style="color:#f09047; text-align:left;"| 13
| style="color:#f09047; text-align:left;"| day/sunset
| style="color:#f09047; text-align:left;"| begin day fade out, begin sunset fade in
|-
! style="color:#f09047; text-align:left;"| 14
| style="color:#f09047; text-align:left;"| day/sunset
|
|-
! style="color:#f09047; text-align:left;"| 15
| style="color:#f09047; text-align:left;"| day/sunset
|
|-
! style="color:#ff7077; text-align:left;"| 16
| style="color:#ff7077; text-align:left;"| day/sunset
| style="color:#ff7077; text-align:left;"| begin sunset fade out
|-
! style="color:#ff7077; text-align:left;"| 17
| style="color:#ff7077; text-align:left;"| day/sunset
|
|-
! style="color:#ff7077; text-align:left;"| 18
| style="color:#ff7077; text-align:left;"| day/sunset
|
|-
! style="color:#d96dc9; text-align:left;"| 19
| style="color:#d96dc9; text-align:left;"| sunset/dusk
| style="color:#d96dc9; text-align:left;"| day end, begin sunset fade out, begin dusk fade in
|-
! style="color:#d96dc9; text-align:left;"| 20
| style="color:#d96dc9; text-align:left;"| dusk/night
| style="color:#d96dc9; text-align:left;"| sunset end, begin dusk fade out, begin night fade in
|-
! style="color:#aa88e8; text-align:left;"| 21
| style="color:#aa88e8; text-align:left;"| night
| style="color:#aa88e8; text-align:left;"| end dusk
|-
! style="color:#aa88e8; text-align:left;"| 22
| style="color:#aa88e8; text-align:left;"| night
|
|-
! style="color:#aa88e8; text-align:left;"| 23
| style="color:#aa88e8; text-align:left;"| night
|
|-
! style="color:#aa88e8; text-align:left;"| 24
| style="color:#aa88e8; text-align:left;"| night
|
|}
1 night
2 night
3 night
4 night
5 night/dawn begin night fade out, begin dawn fade in
6 dawn/sunrise night end, begin dawn fade out, begin sunrise fade in
7 sunrise/day dawn end, begin day fade in
8 sunrise/day
9 sunrise/day begin sunrise fade out
10 sunrise/day
11 sunrise/day
12 day sunrise end
13 day/sunset begin day fade out, begin sunset fade in
14 day/sunset
15 day/sunset
16 day/sunset begin sunset fade out
17 day/sunset
18 day/sunset
19 sunset/dusk day end, begin sunset fade out, begin dusk fade in
20 dusk/night sunset end, begin dusk fade out, begin night fade in
21 night dusk end
22 night
23 night
24 night


-- dawn settings work between 5 (dawn start) and 7 (dawn end)
-- sunrise settings work between 6 (sunrise start) and 9 (sunrise end)
-- sunset settings work between 2 (sunset begin) and 5  (sunset end)
-- dusk settings work between 4 (dusk start) and 6 (dusk end)





Revision as of 02:10, March 17, 2022

Delta c.png

ENBSeriesINI - Timeofday

The TIMEOFDAY (ToD) parameters allow for precise control of when ENB effects are applied to the screen based upon Skyrim's weather system. The effect parameters themselves are delineated using dawn, sunrise, day, sunset, dusk, and night variants. The ToD parameters are derived directly from the DefaultClimate [0000015E] and DefaultSkyrim [00000812] TNAM records for Sunrise and Sunset Begin/End times in Skyrim.esm. Calculations for setting ToD parameters for any weather mod --given the plugin record values of the weather system-- follow the parameter descriptions below.

The following ToD definitions apply to the position of the Sun from the perspective of a location at lowest altitude and with East/West horizons visible without land interference (near cow tamriel 0 40). Instead of using datetime format, numeric format is expressed in floating point (0.0000...23.9999) based on the twenty-four hour day and expressed in military time. For brevity, only one decimal place is shown in the examples.

DawnDuration

DawnDuration=(0.0...23.9)

Duration from the time at which light first appears in the sky in the East until the time the sun appears in its entirety over the horizon.

SunriseTime

SunriseTime=(0.0...23.9)

The time at which the bottom arc of the sun appears on the eastern horizon.

DayTime

DayTime=(0.0...23.9)

The time at the midpoint of day (end of DuskDuration minus begin of DawnDuration).

SunsetTime

SunsetTime=(0.0...23.9)

The time at which the bottom arc of the sun reaches the western horizon.

DuskDuration

DuskDuration=(0.0...23.9)

Duration from the time at which light first begins to fade from the sky (SunsetTime) until no sunlight is detectable in the West .

NightTime

NightTime=(0.0...23.9)

The time at the midpoint of night (begin of DuskDuration minus end of DawnDuration).

Derive Correct ToD Settings for Any Weather Mod

Let the following represent the decimal values of the datetime records for Sunrise and Sunset for the weather mod:

IF ...
r0 = Sunrise (DawnDuration) begin time
r1 = Sunrise (DawnDuration) end time
s0 = Sunset (DuskDuration) begin time
s1 = Sunset (DuskDuration) end time
THEN ...
DawnDuration = (r1 - r0) / 2
SunriseTime = r0 + DawnDuration
DayTime = r1 + (s0 - r1) / 2
DuskDuration = (s1 - s0) / 2
SunsetTime = s0 + DuskDuration
NightTime = r0 - (24 - s1 + r0) / 2

Vanilla SSE

Skyrim.esm
  • Sunrise Begin = r0 = 5:30:00 AM
  • Sunrise End = r1 = 10:00:00 AM
  • Sunset Begin = s0 = 4:00:00 PM
  • Sunset End = s1 = 8:30:00 PM
[TIMEOFDAY]
DawnDuration = 2.25
SunriseTime = 7.75
DayTime = 13.00
SunsetTime = 18.25
DuskDuration = 2.25
NightTime = 1.00

Cathedral Weathers

Cathedral Weathers.esp
  • Sunrise Begin = r0 = 5:0:00 AM
  • Sunrise End = r1 = 9:00:00 AM
  • Sunset Begin = s0 = 5:00:00 PM
  • Sunset End = s1 = 9:00:00 PM
[TIMEOFDAY]
DawnDuration = 2.00
SunriseTime = 7.00
DayTime = 13.00
SunsetTime = 19.00
DuskDuration = 2.00
NightTime = 1.00

Cathedral Weathers ENB Effect Times

Time Period Notes
1 night
2 night 3 night 4 night #4bb073
5 night/dawn begin night fade out, begin dawn fade in
6 dawn/sunrise night end, begin dawn fade out, begin sunrise fade in
7 sunrise/day dawn end, begin day fade in
8 sunrise/day
9 sunrise/day begin sunrise fade out
10 sunrise/day
11 sunrise/day
12 day sunrise end
13 day/sunset begin day fade out, begin sunset fade in
14 day/sunset
15 day/sunset
16 day/sunset begin sunset fade out
17 day/sunset
18 day/sunset
19 sunset/dusk day end, begin sunset fade out, begin dusk fade in
20 dusk/night sunset end, begin dusk fade out, begin night fade in
21 night end dusk
22 night
23 night
24 night

1 night 2 night 3 night 4 night 5 night/dawn begin night fade out, begin dawn fade in 6 dawn/sunrise night end, begin dawn fade out, begin sunrise fade in 7 sunrise/day dawn end, begin day fade in 8 sunrise/day 9 sunrise/day begin sunrise fade out 10 sunrise/day 11 sunrise/day 12 day sunrise end 13 day/sunset begin day fade out, begin sunset fade in 14 day/sunset 15 day/sunset 16 day/sunset begin sunset fade out 17 day/sunset 18 day/sunset 19 sunset/dusk day end, begin sunset fade out, begin dusk fade in 20 dusk/night sunset end, begin dusk fade out, begin night fade in 21 night dusk end 22 night 23 night 24 night

-- dawn settings work between 5 (dawn start) and 7 (dawn end) -- sunrise settings work between 6 (sunrise start) and 9 (sunrise end) -- sunset settings work between 2 (sunset begin) and 5 (sunset end) -- dusk settings work between 4 (dusk start) and 6 (dusk end)