EDF morphtype reference

From Eternity Wiki
Jump to navigationJump to search

Morphtype is similar to damagetype, but it's about magical transformations of monsters or players into other species or classes. This is mainly to support the Morph Ovum from Heretic, and later the Porkalator from Hexen.

The morphtype EDF field is used by inflictors (e.g. projectiles) in a similar way to damagetype, but setting a mod field for example.

The definition of a morphtype is as follows:

morphtype <name>
{
  monsterspecies <name>
  exclude      { <names> }
  playerclass    <name>
}

Explanation of fields[edit]

  • monsterspecies
If specified, this is the thingtype to turn a monster target into. This will not apply for player targets; those will use the thingtype designated by the playerclass. If not specified, this morphtype won't affect monsters.
  • exclude
If specified, this is a comma-separated list of thingtype monsters who will be immune to this morphing. It can also be a thinggroup.
  • playerclass
Name of playerclass to morph player targets into. Players can only be morphed by class, and a class can hold information about thingtype. If unspecified, players won't be morphed by this effect.

Notes[edit]

Right now, the duration of morphing is hardcoded. Also, if players get morphed multiple times, they may get a tome of power effect, if possible. This can become customizable with later versions, depending on demand.