MAPINFO/GameInfo definition
From ZDoom Wiki
(Redirected from GameInfo definition)
A GameInfo definition begins with the keyword "gameinfo". This changes miscellaneous information about the game such as what lump should be used for the title picture. This is not to be confused with the GAMEINFO lump.
GameInfo commands
gameinfo { properties }
- Defines a GameInfo block.
GameInfo properties
The following properties are supported within a GameInfo definition:
| Property | Description |
|---|---|
| advisorytime = <time> | Amount of time in seconds needed to pass in order for the ADVISOR lump to be displayed. If this is set to 0 the ADVISOR lump will never be shown.
|
| border = <preset>
border {{=}} <size>, <offset>, "<tr>", "<t>", "<tl>", "<r>", "<l>", "<br>", "<b>", "<bl>" |
Sets the border graphics used in various places throughout the game. Most notably is the border around the game window when a small screen size is used. Valid presets are
|
| backpacktype = "<actor>" | Sets the backpack given when cheating.
|
| borderflat = "<lump>" | Default lump used for screen border.
|
| chatsound = "<sound>" | SNDINFO entry played when chatting.
|
| creditpage = "<lump>" | Sets the lump used to display the credits.
|
| defaultbloodcolor = "<color>" | Sets the default color for blood decals.
|
| defaultbloodparticlecolor = "<color>" | Sets the default color for blood particles.
|
| drawreadthis = <bool> | Sets if the "Read This" option should appear on the menu.
|
| finaleflat = "<lump>" | Default background for cluster messages.
|
| finalemusic = "<lump>" | Default music for cluster messages.
|
| finalpage = "<lump>", ... | Defines the default end game pictures.
|
| infopage = "<lump>", ... | Defines the help screens. (Accessed by F1 or "Read This".)
|
| intermissioncounter = <bool> | If true, the numbers in the intermission (kills, secrets etc) count up to their totals (normal Doom behavior). If false, the final total for each category simply appears in turn without a count-up.
|
| intermissionmusic = "<lump>" | Sets the default music played during the intermission.
|
| noloopfinalemusic = <bool> | Changes if the finale music should be looped.
|
| pagetime = <time> | Amount of time to display the credit page between demos.
|
| quitsound = "<sound>" | SNDINFO entry played on quit.
|
| skyflatname = "<lump>" | Flat which represents the sky. (Example
|
| statusbar = "<lump>" | Sets the default SBARINFO status bar.
|
| telefogheight = <height> | Changes the height of the teleport fog.
|
| titlemusic = "<lump>" | Sets the lump of the music played with the title picture.
|
| titlepage = "<lump>" | Sets the lump used for the title picture.
|
| titletime = <time> | Sets the time in seconds the title picture is displayed for.
|
| translator = "<lump>" | Sets the default xlat lump to use for Doom format maps.
|
| weaponslot = <slot>, "<weapon>", ... | Sets the default configuration for weapon slot <slot>.
|
| armoricons = "<basic icon lump>", <advanced savepercent value>, "<advanced icon lump>" | Defines the default icon for the standard basic armor, the savepercent (as a floating point number) for the standard advanced armor, and the default icon for the standard advanced armor.
|
| dimcolor = "<color>" | The color to which the screen is dimmed when in menu mode. This is overridden by the dimcolor console variable if dimamount is a positive or null value.
|
| dimamount = <value> | Controls how much the game screen is "dimmed" to the dim color when in menu mode. A value of 0 doesn't change the screen at all, while a value of 1 obscures it entirely behind the dim color. This is overridden by the dimamount console variable if the latter is a positive or null value.
|
| definventorymaxamount = <value> | Maximum amount in an inventory of an item with the inventory.defmaxamount actor property.
|
| defaultrespawntime = <value> | Number of seconds before a monster is respawned in skill settings such as Doom's Nightmare!.
|
| defaultdropstyle = <value> | Manner in which items are dropped, unless overridden by the sv_dropstyle console variable. Valid values are 1 (standard style) or 2 (Strife style). The Strife style generally tosses dropped item farther away.
|
| endoom = "<lump>" | Name to use for the ENDOOM lump.
|
| player5start = <editor number> | Editor number for the player 5 start. Player starts 6 to 8 are assumed to follow directly. (New from 2.5.0)
|
| pickupcolor = "<color>" | Changes the color of the screen tint caused by picking up items. (This effect was historically handled by a palette swap in Doom, but ZDoom has not supported that method for a long time, so this property can be used as a replacement.) (development version r2539+ only)
|
| quitmessages = "<message1>"[, "<message2>"[, ...]] | Lists the various random quit messages. If the first character of a message is a $ sign, it is taken as a reference to a string defined in the LANGUAGE lump. (development version r2768+ only)
|
| menufontcolor_title = "<color>" | Color used for the titles of menu pages. (development version r2768+ only)
|
| menufontcolor_label = "<color>" | Color used for setting labels in menu pages. (development version r2768+ only)
|
| menufontcolor_value = "<color>" | Color used for setting values in menu pages. (development version r2768+ only)
|
| menufontcolor_action = "<color>" | Color used for actions in menu pages. (development version r2768+ only)
|
| menufontcolor_header = "<color>" | Color used for section headers in menu pages. (development version r2768+ only)
|
| menufontcolor_highlight = "<color>" | Color used for highlighted items in menu pages. (development version r2768+ only)
|
| menufontcolor_selection = "<color>" | Color used for selected items in menu pages. (development version r2768+ only)
|
| menubackbutton = "<lump>" | Back button icon optionally used in menu pages. (development version r2768+ only)
|
| playerclasses = "<PlayerPawn class>"[, "<other class>"[, ...]] | Defines which player classes are available in the game. (development version r2832+ only)
|
| pausesign = "<lump>" | Defines which image lump to use for the sign displayed when the game is paused. (development version r2834+ only)
|
| gibfactor = <value> | Defines the negative value, as a factor of a monster's starting health, to which its hit points must be reduced to trigger the extreme death state instead of the normal death state when killed. This only affects monsters who do not have a GibHealth property defined. (development version r2834+ only)
|
| cursorpic = "<lump>" | Chooses the default mouse cursor when using the mouse in menu mode. A cursor must be a graphic no larger than 32x32 pixels in dimensions. (development version r2852+ only)
|
| swapmenu = <bool> | The normal main menu order is "new game, options, load game, save game". If swapmenu is true, this becomes "new game, load game, save game, options". This property defaults to false. (development version r2854+ only)
|
| textscreenx = <value> | Defines the default X offset for intermission text screens. (development version r2911+ only)
|
| textscreeny = <value> | Defines the default Y offset for intermission text screens. (development version r2911+ only)
|
| defaultendsequence = "<name>" | Selects which end sequence is used with the default endgame. The name must correspond to a sequence defined in MAPINFO. (development version r2911+ only)
|
| maparrow = "<lump>"[, "<cheatlump>"] | Defines which map arrow vector graphics is used to represent the player on the automap. (development version r2949+ only) |
Examples
gameinfo
{
titlepage = "TITLEPIC"
creditpage = "CREDIT"
titlemusic = "$MUSIC_DM2TTL"
titletime = 11
advisorytime = 0
pagetime = 5
chatsound = "misc/chat"
finalemusic = "$MUSIC_READ_M"
finaleflat = "SLIME16"
finalepage = "CREDIT"
infopage = "HELP", "CREDIT"
quitsound = "menu/quit2"
borderflat = "GRNROCK"
border = DoomBorder
telefogheight = 0
defkickback = 100
skyflatname = "F_SKY1"
translator = "xlat/doom.txt"
mapinfo = "mapinfo/doom2.txt"
defaultbloodcolor = "68 00 00"
defaultbloodparticlecolor = "ff 00 00"
backpacktype = "Backpack"
armoricons = "ARM1A0", 0.5, "ARM2A0"
statusbar = "sbarinfo/doom.txt"
intermissionmusic = "$MUSIC_DM2INT"
intermissioncounter = true
weaponslot = 1, "Fist", "Chainsaw"
weaponslot = 2, "Pistol"
weaponslot = 3, "Shotgun", "SuperShotgun"
weaponslot = 4, "Chaingun"
weaponslot = 5, "RocketLauncher"
weaponslot = 6, "PlasmaRifle"
weaponslot = 7, "BFG9000"
dimcolor = "ff d7 00"
dimamount = 0.2
definventorymaxamount = 25
defaultrespawntime = 12
defaultdropstyle = 1
endoom = "ENDOOM"
player5start = 4001
pickupcolor = "d6 ba 45"
quitmessages = "$QUITMSG", "$QUITMSG1", "$QUITMSG2", "$QUITMSG3", "$QUITMSG4", "$QUITMSG5", "$QUITMSG6", "$QUITMSG7",
"$QUITMSG8", "$QUITMSG9", "$QUITMSG10", "$QUITMSG11", "$QUITMSG12", "$QUITMSG13", "$QUITMSG14"
menufontcolor_title = "RED"
menufontcolor_label = "UNTRANSLATED"
menufontcolor_value = "GRAY"
menufontcolor_action = "GRAY"
menufontcolor_header = "GOLD"
menufontcolor_highlight = "YELLOW"
menufontcolor_selection = "BRICK"
menubackbutton = "M_BACK_D"
playerclasses = "DoomPlayer"
pausesign = "M_PAUSE"
gibfactor = 1
}