Skyrim Mod talk:Mod File Format/WTHR

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

DATA Struct[edit]

Some observations:

  • The DATA struct, though it is listed as variable length, always seems to be size 19 (in my observation)
  • The 12th nibble in the DATA struct is always the Weather Classification, and has the following values: 00 = None, 01 = Pleasant, 02 = Cloudy, 04 = Rainy, 08 = Snowy.

Not sure how this needs to be represented on the table on the page. Chesko (talk) 12:35, 10 September 2012 (EDT)

Edit: Here is a more complete (but still not finished) decode of DATA. The addresses are the offsets from the start of DATA; I'm not sure what the standard convention for writing hex addresses is.

0x00 ?

0x01 ?

0x02 ?

0x03 ?

0x04 ?

0x05 ?

0x06 Precipitation - Begin Fade In (0-255)

0x07 Precipitation - End Fade Out (0-255)

0x08 Thunder / Lightning - Begin Fade In (0-255)

0x09 Thunder / Lightning - End Fade Out (0-255)

0x10 Thunder / Lightning - Frequency, ranges from (255 (Low) to 140 (High)

0x11 Weather Classification (00 = None, 01 = Pleasant, 02 = Cloudy, 04 = Rainy, 08 = Snowy)

0x12 Lighting Color: Red (0-255)

0x13 Lighting Color: Green (0-255)

0x14 Lighting COlor: Blue (0-255)

0x15 ?

0x16 ?

0x17 ?

0x18 ?