WEAP

From OpenMW Wiki
Jump to: navigation, search

WEAP, Weapon definition.

NAME = Variable length, string. Item ID.
MODL = Variable length, string. Model filename.
FNAM = Variable length, string. Item name.
WPDT = 32 bytes, Weapon Data as described.
    4 bytes, float. Weight.
    4 bytes, integer. Value.
    2 bytes, short. Type as described:
      -- 0 = ShortBladeOneHand,
      -- 1 = LongBladeOneHand,
      -- 2 = LongBladeTwoClose,
      -- 3 = BluntOneHand,
      -- 4 = BluntTwoClose,
      -- 5 = BluntTwoWide,
      -- 6 = SpearTwoWide,
      -- 7 = AxeOneHand,
      -- 8 = AxeTwoHand,
      -- 9 = MarksmanBow,
      -- 10 = MarksmanCrossbow,
      -- 11 = MarksmanThrown,
      -- 12 = Arrow,
      -- 13 = Bolt.
    2 bytes, short. Health.
    4 bytes, float. Speed.
    4 bytes, float. Reach.
    2 bytes, short. Enchant Points.
    1 byte, byte. ChopMin.
    1 byte, byte. ChopMax
    1 byte, byte. SlashMin
    1 byte, byte. SlashMax
    1 byte, byte. ThrustMin
    1 byte, byte. ThrustMax
    4 bytes, integer. Flags (0 or 1).
      -- 0 = ?
      -- 1 = Ignore Normal Weapon Resistance?
ITEX = Variable length, string. Inventory icon filename.
ENAM = Variable length, string. Enchantment ID.
SCRI = Variable length, string. Script ID.

Go back to main esx page.