Map Info (DED)

From Doomsday Wiki
Jump to: navigation, search
Map Info
Attributes: Copy, Mods
Type ReferenceDED Syntax

These definitions specify the properties of a world map.

The focus of this article is to detail how these properties are exposed to mod authors and the specifics of the syntax.

Core concepts

Map Info is a mechanism for defining the metadata and map-global properties of a playable (world) map. During the map authoring process, a map is attributed with an identifier. This identifier is used to associate a Map Info definition with the map, thereby separating the metadata from the map data itself (geometry, spawn-spot information, etc...).


[ Copy ] Map Info [ Mods "ID" ] {


Map identifier. Could be "ExMy" or "MAPxy" depending on the game. Example: if this map info is meant for the first map of the second episode, the ID is "E2M1".

An "*" (asterisk) signifies that this definition should be used for all maps that don't have a definition of their own.


Name of the map. Displayed e.g., in the automap and in the console when the map is loaded.

(1.9.0-beta6.4 ⇒)A Text definition ID may be specified instead, to use the associated string value. For example:

Name = "HUSTR_E1M1"; # Use the string value associated with Text id:'HUSTR_E1M1'


Author of the map. Displayed e.g., in the console when the map is loaded.


Name Description
fog Enable fog in the map.
nointermission (1.9.0-beta6.6 ⇒)Do not show an intermission after leaving this map (note that this does not affect debriefings).
sphere Draw the sky sphere even when sky models have been set up. Only valid when NOT using a linked Sky definition.
Note: In DED version 5 syntax (or earlier), map info flags are prefixed with "mif_"


Gravity in the map.


Identifier of the song to play during this map. Notice that this is the identifier of the Music definition, not the actual MUS lump found in a WAD file.

Par time

Par time of the map, in seconds.

Ambient light

Minimum light level (0-1) for all sectors in the map. Note that this will only change how the map is visualized - the actual sector light levels are unaffected.

Fog color R

Red color component (0-1) of the fog used in the map.

Fog color G

Green color component (0-1) of the fog used in the map.

Fog color B

Blue color component (0-1) of the fog used in the map.

Fog start

(Linear fog) Fog start distance, in world units.

Fog end

(Linear fog) Fog end distance, in world units.

Fog density

Used in exponential(2) fog mode.


(1.9.0-beta6 ⇒)Identifier of the Sky definition to use with this map. If not specified, the sky will be configured using the sky properties of "this" Map Info (for compatibility with older mods).


Console command string to be executed when the map is first started (note, also after loading a save game).

Deprecation Note: As of Version 1.9.0-beta6.9, linking a Sky definition to the Map Info is the preferred method of sky configuration (separating the two allows more flexibility for custom sky add-ons). The following properties are therefore deprecated.

Sky height

Height of the sky sphere (0-1). The real height is an angle determined using Pi/2 * (sky height), which means if the sky height is 1, the sphere covers the whole sky.

Horizon offset

Angle offset to sky vertices, in radians. Negative angles move the horizon downwards.

Sky light color

RGB color. Outdoor areas will be tinted this color.

Sky Layer

Color limit

Specifies how small an intensity (0-1) the sky fadeout color (top line of the texture) can have before the fadeout color is reduced to black.


Name Description
enable Enable layer. By default the layer is disabled and will not be rendered.
mask Layer texture's color zero should be masked.
Note: In DED version 5 syntax (or earlier), sky layer flags are prefixed with "slf_"


A horizontal offset applied to the texture coordinates of the layer.


Name of the texture to use for this layer.

Sky Model

There can be up to 32 Sky Model blocks in a Map Info definition. Each block defines one a sky model.


Identifier of the Model definition that describes the 3D model. If left empty, this sky model will be disabled.


The sky layer this model is associated with. Valid values are 1 and 2. If zero, model does not depend on the sky layers. If set to nonzero, the sky model is hidden when the associated layer is hidden (i.e. not enabled).

Frame interval

The number of seconds between frame changes. Sky model animation is interpolated. The model is animated by going through all its frames one by one.


RGBA color for the model.

Offset factor

The position of the sky model may depend on the coordinates of the camera. The Offset factor key sets a factor for each axis (X, Y, Z) separately. Small factors (< 1.0) can be used to create the illusion that the sky model is larger than it really is. If the factors are zero, the sky model's origin will be positioned at the camera's viewpoint.


Additional rotation around the X and Z axes, respectively (in degrees). These are applied after normal rotation.


Initial rotation around the Y axis (in degrees).

Yaw speed

Angular velocity around the Y axis (in degrees per second).


Console command string to be executed every time the model advances one frame.


Doom's first map, "Hangar" in Map Info form:

Map Info {
  ID = "E1M1";
  Title = "HUSTR_E1M1";
  Title Image = "WILV00";
  Author = "id Software";

  Music = "e1m1";
  Par time = 30;
  Sky = "sky1";