CREA

From OpenMW Wiki
Jump to: navigation, search

CREA, Creature description.

NAME = Various length, string. Creature ID.
MODL = Various length, string. NIF Model name.
FNAM = Various length, string. Creature name.
NPDT = 96 bytes, Creature data as described.
    4 bytes, integer. Type:
       -- 0 = Creature
       -- 1 = Daedra
       -- 2 = Undead
       -- 3 = Humanoid
    4 bytes, integer. Level.
    4 bytes, integer. Strength.
    4 bytes, integer. Intelligence.
    4 bytes, integer. Willpower.
    4 bytes, integer. Agility.
    4 bytes, integer. Speed.
    4 bytes, integer. Endurance.
    4 bytes, integer. Personality.
    4 bytes, integer. Luck.
    4 bytes, integer. Health.
    4 bytes, integer. SpellPts.
    4 bytes, integer. Fatigue.
    4 bytes, integer. Soul.
    4 bytes, integer. Combat.
    4 bytes, integer. Magic.
    4 bytes, integer. Stealth.
    4 bytes, integer. AttackMin1.
    4 bytes, integer. AttackMax1.
    4 bytes, integer. AttackMin2.
    4 bytes, integer. AttackMax2.
    4 bytes, integer. AttackMin3.
    4 bytes, integer. AttackMax3.
    4 bytes, integer. Gold.
FLAG = 4 bytes, integer. Creature Flags:
      -- 0x0001 = Biped.
      -- 0x0002 = Respawn.
      -- 0x0004 = Weapon and shield.
      -- 0x0008 = None.
      -- 0x0010 = Swims.
      -- 0x0020 = Flies.
      -- 0x0040 = Walks.
      -- 0x0048 = Default flags.
      -- 0x0080 = Essential.
      -- 0x0400 = Skeleton Blood.
      -- 0x0800 = Metal Blood.
SCRI = Various length, string. Script name.
NPCO = 36 bytes. Item in the inventory.
    4 bytes, integer. Count of the item.
    32 bytes, string. The ID of the item.
      -- NPCO can appear 0 or multiple time.
AIDT = 12 bytes, unknown. AI data.
AI_W = 14 bytes, AI Wander as described.
    2 bytes, short. Distance.
    1 byte, byte. Duration.
    1 byte, byte. TimeOfDay.
    10 byte, byte[10]. Idle chance.
AI_T = 16 bytes, unknown. AI Travel?
AI_F = 48 bytes, unknown. AI Follow?
AI_E = 16 bytes?, unknown. AI Escort?
      -- AI_E appears only once in bloodmoon.esm.
AI_A = unknown, unknown. AI Activate?
      -- AI_A does not appear in either morrowind, tribunal, or bloodmoon
      -- esm files.
XSCL = 4 bytes, float. Scale.
      -- XSCL is optional, it appears only if the scale is not 1.0.

Go back to main esx page.