GZDoom Builder will automatically load data from the following lumps if they are present in the map's resources:
DECORATE:
Actor definitions are loaded and used to poulate Things list. Extra parameters can be assigned using
special comments.
DamageTypes are loaded and used in the "Damage Type" drop-down of the Edit Sector window (UDMF only).
TEXTURES:
You can use "
//$GZDB_SKIP" special comment to abort parsing of the current file. Useful if you don't want textures from certain files or parts of files to show up in the
Image Browser or want to increase resource loading speed.
GZDoom Builder adds support for the following TEXTURES parameters:
- FlipX, FlipY, Rotate and Blend (both styles) patch parameters.
- "Add", "Modulate", "Subtract", "ReverseSubtract" and "Translucent" patch Translucency Styles.
(Z)MAPINFO:
Both new and old MAPINFO definition styles are supported.
You can use "
//$GZDB_SKIP" special comment to abort parsing of the current file.
DoomEdNum overrides are supported.
SpawnNums overrides are supported. The values are used to update "
spawnthing" Game Configuration enum.
In addition, following values from (Z)MAPINFO are supported by Visual mode:
- fade;
- outsidefog;
- fogdensity;
- outsidefogdensity;
- vertwallshade;
- horizwallshade;
- evenlighting;
- smoothlighting.
REVERBS:
Sound environment definitions are loaded and can be used in the
Sound Environment Mode.
SNDINFO:
Ambient sound definitions are loaded. The values are used to update the titles of "
Ambient Sound NN" things and to populate "
ambient_sounds" Game Configuration enum.
SNDSEQ:
Sound Sequence and Sound Sequence Group definitions are loaded and can be selected in the "Sound sequence" drop-down of the Edit Sector window (UDMF only).
TERRAIN:
Terrain names are loaded and used in the floor and ceiling "Terrain" drop-downs of the Edit Sector window (UDMF only).
X11R6RGB:
Colors are loaded and used by other text parsers where appropriate.
CVARINFO:
CVARs are loaded. Currently the editor uses them only for "DistanceCheck" DECORATE property support.
MODELDEF:
All relevant MODELDEF properties and flags, except sprite translations are supported.
VOXELDEF:
All relevant VOXELDEF properties and flags are supported.
GLDEFS:
Only glowing flat and dynamic light definitions are currently supported. Brightmaps support may be added in the future.
You can use "
//$GZDB_SKIP" special comment to abort parsing of the current file.
You can reload GLDEFS and MODELDEF by using "
Reload GLDEFS" and "
Reload MODELDEF" actions.
To enable GZDoom's built-in GLDEFS dynamic light definitions, you need to add "
lights.pk3" as a map resource. "
lights.pk3" can be found in GZDoom folder.
Additional info regarding MODELDEF and GLDEFS support:
If you are creating maps for Doom or Doom 2, you probably don't need to read this, since required information is already added for those games.
To load models or dynamic lights defined in GLDEFS for things defined in configuration files:
To display a model instead of a thing sprite, or to attach a light defined in GLDEFS, GZDB needs to know a thing's class name (because that's how overrides are defined in MODELDEF and GLDEFS). Things defined in Doom Builder configuration files don't have this value. So, if you aren't using configs, which came with GZDoom Builder, or you are creating maps for games other than Doom and Doom 2, you'll need to add a new value named "class" to thing definition in game configuration:
3001
{
title = "Imp";
sprite = "TROOA2A8";
class = "DoomImp"; // <- you'll need to add this value
}
You can find all thing class names at
http://www.zdoom.org/wiki/Classes.