fuaZandroX modding reference

Boom and MBF mapsets

Availability

ZandroX only among Zandronum versions; ported from UZDoom, which reads the same lumps and cvars.

Works in netgames. The server's compat settings are sent to every client, a late joiner too.

Usage

Most mapsets released today target Boom, MBF or MBF21 (a "complevel 9", "11" or "21" release). Their maps are built and tested in ports that behave like those engines, and some of what they rely on differs from ZDoom's defaults. ZandroX reads what such a mapset ships and has the settings it needs:

  • UMAPINFO sets level names, exits, endings, music, par times and episodes, as in UZDoom. A wad's own MAPINFO or ZMAPINFO takes precedence.
  • COMPLVL (vanilla, boom, mbf or mbf21) turns on that engine's compat flags for every map, the base game's included. The lump holds the name alone; spaces and line breaks around it are ignored.
  • compatmode has a preset for each: 3 (Boom), 5 (MBF), 7 (MBF strict), 8 (MBF21) and 9 (MBF21 strict).

sv_autocompat

sv_autocompat 1 turns on two behaviours Boom-era maps expect, without a compat flag each:

  • Original missile clipping (compat_missileclip) on Doom-format maps in Doom and Chex. Missiles fly over decorations that Doom treated as short, such as lamps, columns and trees, instead of exploding on them. A map whose fights are laid out around such decorations plays as its author tested it.
  • Secrets carried by Boom's transfers (compat_transfersecret) in Doom. A floor changer that copies a model sector's type also copies its secret, so a secret made that way counts and the intermission's secret total can be reached.

It is off by default, where UZDoom's is on, so a server's existing gameplay does not change. Turn it on for a Boom-compatible mapset, as UZDoom players will have played it that way. It changes nothing on UDMF or Hexen-format maps, nor in Heretic, Hexen or Strife.

compat_emulatemikoportals

Vanilla stored heights in 16 bits, so an actor falling below -32768 wrapped round to the top of its sector. Some maps use this as a "mikoportal": a pit that drops the player back in from the ceiling. compat_emulatemikoportals 1 (or the MAPINFO key of the same name) keeps that working. The vanilla and boom COMPLVLs and compatmodes 2, 6 and 9 turn it on.

Vanilla and Boom rules

Each of these is a compat_ setting and a MAPINFO key of the same name, as in UZDoom. The COMPLVLs and compatmodes turn them on where UZDoom's do.

  • compat_nosoulceilbounce: a charging lost soul that hits the ceiling stops rising instead of bouncing down.
  • compat_hitscanswitches: shootable switches answer bullets alone.
  • compat_monsterprojlines: in Doom, a monster's projectile crossing a door, lift or teleport line triggers it, as Doom II's did.
  • compat_infinitemelee: melee attacks reach any height.
  • compat_boomuseblocking: a use stops at any line with a special unless the line has Boom's PassUse flag.
  • compat_boomscrollstrict: scrolling floors carry things by Boom's rule.
  • compat_nocountlost: lost souls do not count towards the level's kills.
  • compat_mbfmonstermove also lets wind, currents and push points move monsters, as MBF did.

Examples

A server hosting a Boom or MBF21 megawad:

sv_autocompat 1

A mapset that needs a stricter preset than its COMPLVL gives can also set compatmode 8 (MBF21) or compatmode 9 (MBF21 strict).

Online

Every setting here is the server's. Clients receive sv_autocompat and the compat flags when they join and whenever they change, since a client predicts its own movement and missiles with them.

Implementation notes