See map definition for full list of properties and examples. You can also specify standard characteristics for later map definitions by using the keyword “ defaultmap” or “ adddefaultmap” instead: See episode definition for full list of properties and examples.Ī map definition begins with the keyword “ map”. See cluster definition for full list of properties and examples.Īn episode definition begins with the keyword “ episode”. For purposes of ZDoom, clusters are used to displays messages when moving between maps and to optionally group different levels into a hub. Only the most important notions are described on this page, for examples and complete listing of all commands and properties, refer to each definition's subpage.Ī cluster definition begins with the keyword “ cluster”. MAPINFO/ZMAPINFO lumps can include others with the include keyword. In addition, all string parameters must be enclosed within quotation marks (as shown). If a property is specified with no parameters, only the property name (no equals sign) is needed. A parameter that is enclosed in neither type of bracket is a literal value that must be typed exactly as shown in order to work. Within this article, parameters that are required are enclosed in, while optional parameters are enclosed in.
Properties may take zero or more parameters and are specified in the following format: map E2M4) followed by a block of properties enclosed in curly-braces which affect the newly-created element. MAPINFO contains six types of entries: game information, episode definitions, map definitions, cluster definitions, skill definitions, and intermission definitions, which are indicated by the keywords “ gameinfo”, “ episode”, “ map”, “ cluster”, “ skill”, and “ intermission” respectively.Īfter the above keyword, the name or number of the defined element is specified (e.g. Note that if a ZMAPINFO is present, MAPINFO will not be parsed at all.
The ZMAPINFO lump has to use the new format while the MAPINFO can use the old syntax or the Hexen one, if the mod is for Hexen. If you create a mod compatible with other source ports, but wish to use some ZDoom-specific MAPINFO options when played in ZDoom, it is advised to create a ZMAPINFO lump for ZDoom, and a different MAPINFO lump for other ports.