Skyrim Mod:Mod File Format/NPC_
The UESPWiki – Your source for The Elder Scrolls since 1995
NPC_ records describe Non Player Characters.
Note: set of 4 at the bottom are optional but must come together if present and repeat often.
C | SubRecord | Name | Type/Size | Info |
---|---|---|---|---|
+ | EDID | Editor ID | zstring | Editor ID |
- | VMAD | Script Info | struct | Script info |
+ | OBND | Object Bounds | struct | Always 12 bytes, even if 0 |
+ | ACBS | Character Base Stats | struct | 24-byte struct
|
* | SNAM | Faction | struct | 8-byte struct
|
- | INAM | Death Item | formid | Death Item (LVLI) |
- | VTCK | Voice Type | formid | Voice Type (VTYP) |
- | TPLT | Template | formid | Base Template (NPC_ or LVLN) |
+ | RNAM | Race | formid | Race (RACE) |
- | DEST | Destruction Data | struct | Destructible object data |
- | SPCT | Spell Count | uint32 | Spell Count |
* | SPLO | Spell | formid | Spell (SPEL) or shout (SHOU) |
- | WNAM | Worn Armor | formid | Skin (e.g., SkinAtronachFrost, SkinDragonPriest) (ARMO) |
- | ANAM | Away Model Name | formid | Far away model skin (ARMO) |
- | ATKR | Attack Race | formid | Override from Behavior Graph (creatures mostly but some nords etc - prob for unarmed) (RACE) |
* | ATKD | Attack Data | struct | 44-byte struct (same structure as RACE record): override racial attack data for a given attack event
|
* | ATKE | Attack Event | zstring | event name |
- | SPOR | Spectator Override | formid | Spectator Override Package List (FLST) of (PACKs) |
- | OCOR | Observe Corpse | formid | Observe Dead Body Override Package List (FLST) of (PACKs) |
- | GWOR | Guard Warn Override | formid | Guard Warn Override Package List (FLST) of (PACKs) |
- | ECOR | Combat Override | formid | Combat Override Package List (FLST) of (PACKs) |
- | PRKZ | Perk Count | uint32 | Count of PRKR records |
* | PRKR | Perk Record | struct | 8-byte struct
|
+ | COCT | Count of Container | uint32 | Start of inventory - number of inventory "container" structures |
* |
|
Container Object | struct | 8-byte struct
|
- |
|
Owner | COED | See COED documentation |
+ | AIDT | AI Data | struct | 20 byte struct
|
* | PKID | AI Package | formid | AI package (PACK) |
- | KSIZ | Keyword Count | uint32 | Count of keywords |
- | KWDA | Keyword Data | formid[KSIZ] | Keywords |
+ | CNAM | Class | formid | Class (CLAS) |
- | FULL | Full Name | lstring | Full (in-game) name |
- | SHRT | Short Alias | lstring | if present used in Alias=? |
+ | DATA | Marker | 0-length | 0-length, presumably to mark DNAM position |
+ | DNAM | Skill/Stat Data | struct | 52-byte struct
|
* | PNAM | Head Parts | formid | Head Part addons (hair, eyes, scars, etc) from HDPT |
- | HCLF | Hair Color | formid | Hair color (CLFM) |
- | ZNAM | Combat Style | formid | Combat style (CSTY) |
- | GNAM | Gift Filter | formid | Gifts (FLST) |
+ | NAM5 | Unknown | short | flags or marker, "always" FF-00 |
+ | NAM6 | Height | float | NPC Height Multiplier |
+ | NAM7 | Weight | float | NPC Weight Multiplier |
+ | NAM8 | Sound Level | uint32 | enum
|
* | CSDT | Sound Type | uint32 | enum
|
* |
|
Sound | formid | Reference to the sound to play. Tied to the latest CSDT. |
* |
|
Sound Chance | uint8 | Always follows a CSDI record. Chance (0-100) that the sound will play on the triggering event. |
- | CSCR | Audio Template | formid | Inherit Sound From: (NPC_) to use as an audio template |
- | DOFT | Default Outfit | formid | Default Outfit (OTFT) |
- | SOFT | Sleep Outfit | formid | Sleeping Outfit (OTFT) |
- | DPLT | Default Package List | formid | Default Package List (FLST) |
- | CRIF | Crime Faction | formid | Crime faction (FACT) |
- | FTST | Face Texture Set | formid | Face complexion (TXST) |
- | QNAM | Skin Tone | struct | 12-byte struct
|
- | NAM9 | Face Morph Values | struct | 76-byte struct - 18 floats + 1 unknown. Listed below in order: |
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
float |
|
||
|
4 Bytes |
|
||
* | NAMA | Face Parts | struct | Face part presets (numeric, starting from 0) |
|
int32 |
|
||
|
int32? |
|
||
|
int32 |
|
||
|
int32 |
|
||
* | TINI | Tint Item | uint16 | Face Tint Layer (enumeration, values from 1 - 69) |
- | TINC | Tint Color | uint8[4] rgba | Face Tinting Color - one after each TINI. Unclear if last byte is alpha. 00 in most records, FF in some. |
- | TINV | Tint Value | int32 | 100 * Interpolation Value - one after each TINC |
- | TIAS | Unknown | int16 | Unknown - one after each TINV (values from -1 - 1234) |