MAPINFO/Automap definition

From ZDoom Wiki
Jump to: navigation, search

(New from 2.8.1)

An automap definition begins with the keyword automap for regular mode or automap_overlay for overlay mode. This changes mod-specific automap settings such as the map colors.

Automap commands

automap { properties }

Defines an automap block for regular mode.

automap_overlay { properties }

Defines an automap block for overlay mode.

Automap properties

The following properties are supported within an Automap definition:


Property Description
base = "<game>" Defines the base color set that will be used by the automap. If a new color for any line type is not defined in this block, the base game's color definition for that type of line will be used. Valid presets are 'Doom', 'Strife', or 'Raven'.


showlocks = "<bool>" Determines whether locked doors are displayed with a separate color on the automap. This property defaults to false.

Automap color properties

Property Description
Background = "<color>" The color of the automap background.
YourColor = "<color>" The color of the arrow representing the player in single player games.
WallColor = "<color>" The color of one-sided and secret walls in the automap.
TwoSidedWallColor = "<color>" The color of two-sided lines that don't have any difference in floor or ceiling heights on either side. Only seen using map cheat.
FloorDiffWallColor = "<color>" The color of two-sided lines that have a different floor height on each side.
CeilingDiffWallColor = "<color>" The color of two-sided lines that have a different ceiling height on each side.
ExtraFloorWallColor = "<color>" The color of 3D floor boundaries.
ThingColor = "<color>" The default color of things revealed with the map cheat.
ThingColor_Item = "<color>" The color of items revealed with the map cheat
ThingColor_CountItem = "<color>" The color of count items revealed with the map cheat.
ThingColor_Monster = "<color>" The color of hostile monsters revealed with the map cheat.
ThingColor_NocountMonster = "<color>" The color of non-counted, non-friendly monsters revealed with the map cheat.
ThingColor_Friend = "<color>" The color of allied players and friendly monsters revealed with the map cheat.
SpecialWallColor = "<color>" The color of lines with a triggerable, non-door action special.
SecretWallColor = "<color>" The color of lines that are marked secret when you are using am_cheat. When you aren't using the automap cheat, secret walls are drawn the same color as one-sided lines.
GridColor = "<color>" The color of the automap grid.
XHairColor = "<color>" The color of the "crosshair" dot in the center of the automap.
NotSeenColor = "<color>" The color of lines on the automap that haven't yet been seen. Visible with a computer area map.
LockedColor = "<color>" The color of lines that open locked doors, provided the lock does not have a color defined in LOCKDEFS.
IntraTeleportColor = "<color>" The color of intra-level teleporters. These are teleporters that teleport you to a different location on the same map.
InterTeleportColor = "<color>" The color of inter-level teleporters. These are teleporters that teleport you to a different map.
SecretSectorColor = "<color>" The color of secret sector boundary lines on the automap.
AlmostBackgroundColor = "<color>" The color used for invisible and partially invisible players

Examples

Automap
{
    Base = "Raven"
    ShowLocks = True
    Background = "00 49 49"
    YourColor = "00 33 33"
    WallColor = "00 66 66"
    TwoSidedWallColor = "66 66 66"
    FloorDiffWallColor = "66 66 66"
    CeilingDiffWallColor = "66 66 66"
    ExtraFloorWallColor = "66 66 66"
    ThingColor = "88 88 88"
    ThingColor_Item = "20 9c fc"
    ThingColor_CountItem = "fc f4 20"
    ThingColor_Monster = "fc 00 00"
    ThingColor_Friend = "00 33 33"
    SpecialWallColor = "00 77 77"
    SecretWallColor = "00 aa aa"
    GridColor = "00 88 88"
    XHairColor = "00 00 00"
    NotSeenColor = "00 50 50"
    LockedColor = "00 00 00"
    IntraTeleportColor = "00 00 00"
    InterTeleportColor = "00 00 00"
    SecretSectorColor = "00 00 00"
    AlmostBackgroundColor = "00 50 50"
}