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
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
Description.
<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>


Description.
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>


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


'''mapmd4''' <filename>
<span {{code}}>'''mhkfile''' <filename></span>


Description.
Path to a maphack file that can make minor positioning changes to the map, see [[Maphack_Language| maphack language]].


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


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


[[Category:WIP pages]]
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.