MGEF

From OpenMW Wiki
Jump to navigation Jump to search

MGEF, Magic effect description.

INDX = 4 bytes, integer. The Effect ID.
      -- The Effect is is between 0 to 137 and it is hard-coded.
MEDT = 36 bytes, Effect Data as described.
    4 bytes, integer. SpellSchool.
      -- 0 = Alteration,
      -- 1 = Conjuration,
      -- 2 = Destruction,
      -- 3 = Illusion,
      -- 4 = Mysticism,
      -- 5 = Restoration.
    4 bytes, float. BaseCost.
    4 bytes, integer. Flags.
      -- 0x0200 = Spellmaking,
      -- 0x0400 = Enchanting,
      -- 0x0800 = Negative.
    4 bytes, integer. Red.
    4 bytes, integer. Blue.
    4 bytes, integer. Green.
    4 bytes, float. SpeedX.
    4 bytes, float. SizeX.
    4 bytes, float. SizeCap.
ITEX = Variable length, string. Effect Icon.
PTEX = Variable length, string. Particle texture.
CVFX = Variable length, string. Casting visual.
BVFX = Variable length, string. Bolt visual.
HVFX = Variable length, string. Hit visual.
AVFX = Variable length, string. Area visual.
DESC = Variable length, string. Description.
CSND = Variable length, string. Cast sound.
BSND = Variable length, string. Bolt sound.
HSND = Variable length, string. Hit sound.
ASND = Variable length, string. Area sound.
      -- Cast, Bolt, Hit, and Area sounds are optional.

Go back to main esx page.