Lost Soul limit

To prevent overloading the engine with Lost Souls, a hard-coded Lost Soul limit was added which prevents Pain Elementals from spawning them if there are already 21 Lost Souls in the level. Because Pain Elementals have no other attacks, this has the side effect of rendering them helpless when the limit is reached. A Pain Elemental will still attempt to attack the player, and will follow the typical attack animation, but no Lost Soul will emerge from its mouth and none will appear upon its death.

This limit is removed in some source ports, although various engines allow the user to toggle the limit because some levels with a good number of Pain Elementals may become overpopulated with Lost Souls, especially when playing with the fast monsters setting enabled.

Hell Revealed's MAP19: Everything Dies utilizes the limit to create a trap at the beginning of the level. The player starts inside a room with a megasphere in the middle, and four Pain Elementals, rendered harmless by the presence of three dozen Lost Souls in an inaccessible room. Grabbing the megasphere, however, will cause all of the Lost Souls to be crushed, allowing the Pain Elementals to attack the player. Also in the Doom II level, MAP09: The Pit, Pain Elementals are found near the beginning of the level but they are unable to attack when playing on the Ultra-Violence or Nightmare! skill levels due to the Lost Soul limit already being reached.