Mapinfo (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Document the command and add mapart token
 
Line 1: Line 1:
{{Under construction}}
<span {{code}}>'''mapinfo''' { [...] }</span>
<span {{code}}>'''mapinfo''' { [...] }</span>


DESCRIPTION
The mapinfo declaration can be used to specify a title, maphack and mapart definition for the specified map file.


== Tokens ==
== Tokens ==
Line 9: Line 7:
<span {{code}}>'''mapfile''' <filename></span>
<span {{code}}>'''mapfile''' <filename></span>


DESCRIPTION
The file to specify the definitions for. Required.
 
<span {{code}}>'''mapmd4''' <filename></span>
 
The MD4 hash sum of the map. This is required to distinguish different versions of the same map file. Required.


<span {{code}}>'''maptitle''' <text></span>
<span {{code}}>'''maptitle''' <text></span>


DESCRIPTION
The title of the level, shown in the automap and during intermissions.
 
<span {{code}}>'''mhkfile''' <filename></span>


<span {{code}}>'''mapmd4''' <filename></span>
Path to a maphack file that can make minor positioning changes to the map, see [[Maphack_Language| maphack language]].


DESCRIPTION
<span {{code}}>'''mapart''' <filename>_XX.ART </span>


<span {{code}}>'''mhkfile''' <filename></span>
Path to a range of mapart files, which override a range of tiles when loading that particular map.


DESCRIPTION
The definition must end with the string "_XX.ART", while the files themselves are numbered from "_00.ART" to "_19.ART". See [[mapart]].


[[Category:DEF commands]]
[[Category:DEF commands]]

Latest revision as of 22:53, 3 August 2021

mapinfo { [...] }

The mapinfo declaration can be used to specify a title, maphack and mapart definition for the specified map file.

Tokens

mapfile <filename>

The file to specify the definitions for. Required.

mapmd4 <filename>

The MD4 hash sum of the map. This is required to distinguish different versions of the same map file. Required.

maptitle <text>

The title of the level, shown in the automap and during intermissions.

mhkfile <filename>

Path to a maphack file that can make minor positioning changes to the map, see maphack language.

mapart <filename>_XX.ART

Path to a range of mapart files, which override a range of tiles when loading that particular map.

The definition must end with the string "_XX.ART", while the files themselves are numbered from "_00.ART" to "_19.ART". See mapart.