Tes5Mod:Mod File Format/STAT

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

STAT records contain information on static objects.

Record header flags:

0x00000040 - Has Tree LOD
0x00000200 - not On Local Map
0x00008000 - Has Distant LOD
0x00020000 - Uses High-Detail LOD Texture
0x00080000 - Has Currents
0x00800000 - Is Marker
0x02000000 - Obstacle
0x10000000 - Show in world map

NavMesh Import Options (mutually exclusive, defaults to Collision Geometry)

0x04000000 - Filter
0x08000000 - Bounding Box
0x40000000 - Ground
C SubRecord Name Type/Size Info
+ EDID editorId zstring Editor id
+ OBND object bounds OBND Object Bounds
- MODL model MODL Includes Fields MODT, MODS
+ DNAM data struct 8 byte structure
float MaxAngle 30-120 degrees
formID Directional Material - MATO formID
- MNAM LOD Data struct 1040 byte structur present if the "HasDistanceLOD" flag is set. There is a lot of "junk" data after nul terminated strings (this seems to be confirmed by manually setting all data between strings to 0x00). The first empty string represents the lowest level detail model (i.e., if LODModel2 is empty then 3/4 should be as well).
char[260] LODModel1 HighDetail
char[260] LODModel2
char[260] LODModel3
char[260] LODModel4 LowDetail