Oblivion Mod:Mod File Format/NPC

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

NPC_ records describes Non Player Characters.

  • In Progress. May contain incomplete/inaccurate data.
C SubRecord Name Type/Size Info
+ EDID editorId zstring Editor id
+ FULL fullName zstring Full name
+ MODL model zstring Skeletal nif model
+ MODB model?? float  ??
+ ACBS config struct Configuration
flags
ulong Flags
Flag Meaning
0x000001 Female
0x000002 Essential
0x000008 Respawn
0x000010 Auto-calc stats
0x000080 PC Level Offset
0x000200 No Low Level Processing
0x002000 No Rumors
0x004000 Summonable
0x008000 No Persuasion
0x100000 Can Corpse Check
baseSpell
ushort Base spell points
fatigue
ushort Fatigue
barterGold
ushort Barter gold
level
short Level/Offset level
calcMin
ushort Calc Min
calcMax
ushort Calc Max
* SNAM faction struct Faction
id
formid FACT
rank
byte Rank
flag
ubyte[3] ?Always '0x0DB'? Some sort of faction flag?
- INAM deathItem formid Death item
+ RNAM race formid Race
* SPLO spell formid Spells
- SCRI script formid Script
* CNTO items struct Inventory items
id
formid Item
count
long Count
+ AIDT aiData struct AI Data
aggression
ubyte Aggression
confidence
ubyte Confidence
energyLevel
ubyte Energy Level
responsibility
ubyte Responsibility
aiFlags
ulong Flags
Flag Meaning
0x000001 Weapons
0x000002 Armor
0x000004 Clothing
0x000008 Books
0x000010 Ingredients
0x000080 Lights
0x000100 Apparatus
0x000400 Miscellaneous
0x000800 Spells
0x001000 Magic Items
0x002000 Potions
0x004000 Training
0x010000 Recharge
0x020000 Repair
trainSkill
ubyte Training skill
trainLevel
ubyte Training level
  • Value is same as index into skills array below.
aiUnknown
ushort Unused?
* PKID aiPackages formid AI package
+ CNAM class formid Class
+ DATA stats struct Stats.
skills
ubyte[21]
Index Value
0 Armorer
1 Athletics
2 Blade
3 Block
4 Blunt
5 Hand to Hand
6 Heavy Armor
7 Alchemy
8 Alteration
9 Conjuration
10 Destruction
11 Illusion
12 Mysticism
13 Restoration
14 Acrobatics
15 Light Armor
16 Marksman
17 Mercantile
18 Security
19 Sneak
20 Speechcraft
health
ulong Health. (Fatigue and Base Spell Points are stored in ACBS.)
attributes
ubyte[8]
Index Value
0 Strength
1 Intelligence
2 Willpower
3 Agility
4 Speed
5 Endurance
6 Personality
7 Luck
+ HNAM hair formid Hair
- LNAM hairLength float Hair length
- ENAM eyes formid Eyes
+ HCLR hairColor struct Hair color
red ubyte
green ubyte
blue ubyte
custom ubyte ?Custom color flag?
- ZNAM combatStyle formid Combat style
+ FGGS fgGeoSym ubyte[200] FaceGen Geometry-Symmetric
+ FGGA fgGeoAsym ubyte[120] FaceGen Geometry-Asymmetric
+ FGTS fgTexSym ubyte[200] FaceGen Texture-Symmetic
+ FNAM faceRace ushort Unknown, but is a fixed value for every race. Does not get updated unless you visit the face tab in the editor.