Tes4Mod:Mod File Format/MGEF
The UESPWiki – Your source for The Elder Scrolls since 1995
An MGEF record defines a magic effect. The magic effect names are fixed and new magic effects cannot be defined in the Construction Set. The 4-character editor ID is used instead of the form ID to refer to a magic effect.
| Subrecord | Type | Info |
|---|---|---|
| EDID | zstring | Effect editor ID |
| FULL | zstring | Effect name |
| DESC | zstring | Description |
| ICON | zstring | ICON filename |
| MODL | zstring | Effects NIF |
| MODB | unknown | Follows MODL subrecord |
| DATA | struct | Sounds/Effects/Flags |
| ESCE | string[*] | Counter Effects. This is an array of 4-byte effect names. |
[edit] DATA Subrecord
The DATA subrecord defines the sounds, effects and flags for a magic effect.
| Type | Info |
|---|---|
| ulong | Flags
|
| float | Base cost |
| long | Unknown |
| long | Magic school. See Magic Schools for more information. |
| long | Resist value.
|
| ubyte[4] | Unknown |
| formid | Light |
| float | Projectile speed |
| formid | Effect shader |
| formid | Enchant effect |
| formid | Casting sound |
| formid | Bolt sound |
| formid | Hit sound |
| formid | Area sound |
| float | Constant Effect enchantment factor |
| float | Constant Effect barter factor |
![[Content is available under Attribution-ShareAlike]](http://www.uesp.net/w/images/4/4d/Somerights.png)