Difference between revisions of "MAPINFO/Gameinfo definition"

From ECWolf Wiki
(finalemusic isn't actually for ending intermissions.)
 
(4 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
* <tt>borderflat = "<texture>"</tt>
 
* <tt>borderflat = "<texture>"</tt>
 
:Graphic to use for the background of the border area.
 
:Graphic to use for the background of the border area.
* <tt>creditpage = "<texture>"</tt>
+
* <tt>deathtransition = "fizzle|fade"</tt>
:Graphic to use for the credits screen in the demo loop.
+
: '''TODO'''
 +
* <tt>dialogcolor = "<color>"</tt>
 +
: '''TODO'''
 
* <tt>doorsoundsequence = "<sequence>"</tt>
 
* <tt>doorsoundsequence = "<sequence>"</tt>
 
:Sets the default sound sequence to use for doors. Of little use at the moment.
 
:Sets the default sound sequence to use for doors. Of little use at the moment.
 
* <tt>drawreadthis = <bool></tt>
 
* <tt>drawreadthis = <bool></tt>
 
:Sets if the "read this" option should appear in the menu.
 
:Sets if the "read this" option should appear in the menu.
 +
* <tt>finaleflat = "<lump>"</tt>
 +
: '''TODO'''
 
* <tt>finalemusic = "<lump>"</tt>
 
* <tt>finalemusic = "<lump>"</tt>
:Music to play during ending intermissions.
+
:Music to play during the '''Read This!''' feature.
 +
* <tt>gamecolormap = "<lump>"</tt>
 +
: '''TODO'''
 
* <tt>gamepalette = "<lump>"</tt>
 
* <tt>gamepalette = "<lump>"</tt>
 
:Sets the lump to use for the game palette.
 
:Sets the lump to use for the game palette.
 +
* <tt>gameoverpic = "<lump>"</tt>
 +
:Sets the graphic to use for the Game Over sprite.
 
* <tt>gibfactor = <float></tt>
 
* <tt>gibfactor = <float></tt>
 
:Sets the factor of the spawn health that much be reached for an extreme death to be triggered.
 
:Sets the factor of the spawn health that much be reached for an extreme death to be triggered.
Line 31: Line 39:
 
* <tt>intermissionmusic = "<lump>"</tt>
 
* <tt>intermissionmusic = "<lump>"</tt>
 
:Music to play during normal intermissions.
 
:Music to play during normal intermissions.
* <tt>menucolor = "<border1>", "<border2>", <border3>", "<background>", "<stripe>", "<stripebg>"</tt>
+
* <tt>menucolors = "<border1>", "<border2>", <border3>", "<background>", "<stripe>", "<stripebg>"</tt>
 
:Sets the various colors for use in the menu.
 
:Sets the various colors for use in the menu.
 
* <tt>menufade = "<color>"</tt>
 
* <tt>menufade = "<color>"</tt>
Line 53: Line 61:
 
* <tt>menumusic = "<lump>"</tt>
 
* <tt>menumusic = "<lump>"</tt>
 
:Music to play while the menu is active.
 
:Music to play while the menu is active.
 +
* <tt>menuwindowcolors = "background", "top", "bottom", "index background", "index top", "index bottom"</tt>
 +
: '''TODO'''
 +
* <tt>messagecolors = "background", "top", "bottom"</tt>
 +
: '''TODO'''
 +
* <tt>messagefontcolor = "<color>"</tt>
 +
: '''TODO'''
 
* <tt>pageindexfontcolor = "<textcolor>"</tt>
 
* <tt>pageindexfontcolor = "<textcolor>"</tt>
 
:Color to use for art screen page index.
 
:Color to use for art screen page index.
* <tt>pagetime = <value></tt> - '''Does this actually exist?'''
 
:Sets the amount of time a page is held on screen during the demo loop.
 
 
* <tt>playerclasses = "<class>", ...</tt>
 
* <tt>playerclasses = "<class>", ...</tt>
 
:Sets the selectable player classes.
 
:Sets the selectable player classes.
 +
* <tt>psyched = "<color1>", "<color2>"[, intoffset]</tt>
 +
: '''TODO'''
 
* <tt>pushwallsoundsequence = "<sequence>"</tt>
 
* <tt>pushwallsoundsequence = "<sequence>"</tt>
 
:Sets the default pushwall sound sequence to use. Of little use at the moment.
 
:Sets the default pushwall sound sequence to use. Of little use at the moment.
Line 69: Line 83:
 
* <tt>titlemusic = "<lump>"</tt>
 
* <tt>titlemusic = "<lump>"</tt>
 
:Sets the music to use during the demo loop sequence.
 
:Sets the music to use during the demo loop sequence.
 +
* <tt>titlepage = "<lump>"</tt>
 +
: '''TODO'''
 +
* <tt>titlepalette = "<lump>"</tt>
 +
: '''TODO'''
 
* <tt>titletime = <positive integer></tt>
 
* <tt>titletime = <positive integer></tt>
 
:Sets the amount of time, in seconds, the title screen is displayed during the demo loop.
 
:Sets the amount of time, in seconds, the title screen is displayed during the demo loop.
 +
* <tt>trackhighscores = <bool></tt>
 +
: '''TODO'''
 
* <tt>translator = "<lump>"</tt>
 
* <tt>translator = "<lump>"</tt>
 
:The default [[map translator]] to use for binary format maps.
 
:The default [[map translator]] to use for binary format maps.
 +
* <tt>victorymusic = "<lump>"</tt>
 +
:Sets the music to play after finishing the episode.
 +
* <tt>victorypic = "<lump>"</tt>
 +
:Sets the graphic to be used for completing the episode.

Latest revision as of 09:21, 29 May 2018

The gameinfo section of MAPINFO defines global properties for the game.

Block syntax

gameinfo { properties }

Block properties

  • advisorycolor = "<color>"
Defines the color to use for the background of the advisory (aka PG13) screen.
  • advisorypic = "<picture>"
Defines the texture to use for the advisory screen.
  • border = inset, "<topcolor>", "<bottomcolor>", "<highlightcolor>"
  • border = <offset>, <unused>, "<tl>", "<t>", "<tr>", "<l>", "<r>", "<bl>", "<b>", "<br>"
Sets the border for the play screen. The inset variant uses a thin solid color border. The second variant allows tiled graphics to be used for the border. The unused parameter used to be the size and is kept for ZDoom compatibility.
  • borderflat = "<texture>"
Graphic to use for the background of the border area.
  • deathtransition = "fizzle|fade"
TODO
  • dialogcolor = "<color>"
TODO
  • doorsoundsequence = "<sequence>"
Sets the default sound sequence to use for doors. Of little use at the moment.
  • drawreadthis = <bool>
Sets if the "read this" option should appear in the menu.
  • finaleflat = "<lump>"
TODO
  • finalemusic = "<lump>"
Music to play during the Read This! feature.
  • gamecolormap = "<lump>"
TODO
  • gamepalette = "<lump>"
Sets the lump to use for the game palette.
  • gameoverpic = "<lump>"
Sets the graphic to use for the Game Over sprite.
  • gibfactor = <float>
Sets the factor of the spawn health that much be reached for an extreme death to be triggered.
  • highscoresfont = "<font>"
Font to use for high scores table.
  • highscoresfontcolor = "<textcolor>"
Color to use for high scores table font.
  • intermissionmusic = "<lump>"
Music to play during normal intermissions.
  • menucolors = "<border1>", "<border2>", <border3>", "<background>", "<stripe>", "<stripebg>"
Sets the various colors for use in the menu.
  • menufade = "<color>"
Color to use for the menu fade.
  • menufontcolor_disabled = "<textcolor>"
Color to use for unselectable menu elements.
  • menufontcolor_highlight = "<textcolor>"
Color to use for highlighted menu elements.
  • menufontcolor_highlightselection = "<textcolor>"
Color to use for selected highlighted menu elements.
  • menufontcolor_invalid = "<textcolor>"
Color to use for invalid menu elements (unavailable episodes for example).
  • menufontcolor_invalidselection = "<textcolor>"
Color to use for selected invalid menu elements.
  • menufontcolor_label = "<textcolor>"
Color to use for normal, unselected menu elements.
  • menufontcolor_selection = "<textcolor>"
Color to use for selected menu elements.
  • menufontcolor_title = "<textcolor>"
Color to use for the fonts in menu titles.
  • menumusic = "<lump>"
Music to play while the menu is active.
  • menuwindowcolors = "background", "top", "bottom", "index background", "index top", "index bottom"
TODO
  • messagecolors = "background", "top", "bottom"
TODO
  • messagefontcolor = "<color>"
TODO
  • pageindexfontcolor = "<textcolor>"
Color to use for art screen page index.
  • playerclasses = "<class>", ...
Sets the selectable player classes.
  • psyched = "<color1>", "<color2>"[, intoffset]
TODO
  • pushwallsoundsequence = "<sequence>"
Sets the default pushwall sound sequence to use. Of little use at the moment.
  • quitmessages = "<string>", ...
Sets the messages to display when confirming the quit game action. If preceded by a $ character, it will use strings from LANGUAGE.
  • scoresmusic = "<lump>"
Music to play while displaying the high scores table.
  • signon = "<texture>"
The graphic to use for the background of the sign on screen.
  • titlemusic = "<lump>"
Sets the music to use during the demo loop sequence.
  • titlepage = "<lump>"
TODO
  • titlepalette = "<lump>"
TODO
  • titletime = <positive integer>
Sets the amount of time, in seconds, the title screen is displayed during the demo loop.
  • trackhighscores = <bool>
TODO
  • translator = "<lump>"
The default map translator to use for binary format maps.
  • victorymusic = "<lump>"
Sets the music to play after finishing the episode.
  • victorypic = "<lump>"
Sets the graphic to be used for completing the episode.