DATA

From Morrowind Modding Wiki
Jump to: navigation, search

DATA is a sub-record found within the TES3 File Format.

Parent Records

TES3

8 bytes in size.

  • int64 Master file size

SOUN

3 bytes in size.

  • byte Volume (0 = 0.00, 255 = 1.00)
  • byte MinRange
  • byte MaxRange

LEVI

4 bytes in size.

  • int32 List data:
    • 1 = Calc from all levels <= PC level
    • 2 = Calc for each item

LEVC

4 bytes in size.

  • int32 List data:
    • 1 = Calc from all levels <= PC level

CELL

The DATA sub-record is used twice within the CELL record. The 12-byte version has data for the interior or exterior cell itself. The 24-byte version is for the positional and rotational data for each reference added to the cell.

CELL 12-bytes

  • int32 Flags:
    • 0x01 = Interior?
    • 0x02 = HasWater
    • 0x04 = Illegal to Sleep Here
    • 0x80 = Behave Like Exterior (Added in Tribunal)
  • int32 GridX
  • int32 GridY

CELL 24-bytes

  • float XPos
  • float YPos
  • float ZPos
  • float XRot
  • float YRot
  • float ZRot

PGRD

12 bytes in size.

  • int32 GridX
  • int32 GridY
  • int16 Unknown (This looks suspiciously like the seed used to auto-gen the path grid for the given cell.)
  • int16 Number of points in the grid

LAND

4 bytes in size.

  • int32 Unknown

SNDG

4 bytes in size.

  • int32 Type:
    • 0 = Left Foot
    • 1 = Right Foot
    • 2 = Swim Left
    • 3 = Swim Right
    • 4 = Moan
    • 5 = Roar
    • 6 = Scream
    • 7 = Land

DIAL

A byte in size.

  • byte Type:
    • 0 = Regular Topic
    • 1 = Voice
    • 2 = Greeting
    • 3 = Persuasion
    • 4 = Journal

INFO

12 bytes in size.

  • long Unknown1
  • long Disposition
  • byte Rank (0-10)
  • byte Gender
    • 0xFF = None
    • 0x00 = Male
    • 0x01 = Female
  • byte PCRank
  • byte Unknown2