Mapinfo (DEF): Difference between revisions
No edit summary |
Doom64hunter (talk | contribs) Document the command and add mapart token |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<span {{code}}>'''mapinfo''' { [...] }</span> | |||
The mapinfo declaration can be used to specify a title, maphack and mapart definition for the specified map file. | |||
== Tokens == | == Tokens == | ||
'''mapfile''' <filename> | <span {{code}}>'''mapfile''' <filename></span> | ||
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. | |||
'''maptitle''' <text> | <span {{code}}>'''maptitle''' <text></span> | ||
The title of the level, shown in the automap and during intermissions. | |||
''' | <span {{code}}>'''mhkfile''' <filename></span> | ||
Path to a maphack file that can make minor positioning changes to the map, see [[Maphack_Language| maphack language]]. | |||
''' | <span {{code}}>'''mapart''' <filename>_XX.ART </span> | ||
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]]. | ||
[[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.