2012-04-17 19:13:47 +00:00
|
|
|
// ***********************************************************
|
|
|
|
// * *
|
|
|
|
// * These values are the same for Doom format, Hexen format *
|
2012-11-02 23:11:38 +00:00
|
|
|
// * and UDMF; as well as for ZDoom, GZDoom and Zandronum *
|
2012-04-17 19:13:47 +00:00
|
|
|
// * *
|
|
|
|
// ***********************************************************
|
|
|
|
|
|
|
|
common
|
|
|
|
{
|
|
|
|
// Some common settings
|
|
|
|
include("Common.cfg");
|
|
|
|
|
|
|
|
// Default testing parameters
|
|
|
|
testparameters = "-iwad \"%WP\" -skill \"%S\" -file \"%AP\" \"%F\" +map %L %NM";
|
|
|
|
|
|
|
|
// Default nodebuilder configurations
|
|
|
|
defaultsavecompiler = "zdbsp_normal";
|
|
|
|
defaulttestcompiler = "zdbsp_fast";
|
|
|
|
|
|
|
|
// Generalized actions
|
|
|
|
// generalizedlinedefs is true for Doom format and false for
|
|
|
|
// the other two, so it's not here.
|
|
|
|
generalizedsectors = true;
|
|
|
|
|
|
|
|
// Texture loading options
|
|
|
|
mixtexturesflats = true;
|
|
|
|
defaulttexturescale = 1.0f;
|
|
|
|
defaultflatscale = 1.0f;
|
|
|
|
scaledtextureoffsets = true;
|
|
|
|
|
|
|
|
// Texture sources
|
|
|
|
textures
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "textures");
|
|
|
|
include("ZDoom_misc.cfg", "textures");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Patch sources
|
|
|
|
patches
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "patches");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sprite sources
|
|
|
|
sprites
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "sprites");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flat sources
|
|
|
|
flats
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "flats");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Colormap sources
|
|
|
|
colormaps
|
|
|
|
{
|
|
|
|
include("Boom_misc.cfg", "colormaps");
|
|
|
|
}
|
|
|
|
|
2014-01-08 09:46:57 +00:00
|
|
|
//mxd. Voxel sources
|
|
|
|
voxels
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "voxels");
|
|
|
|
}
|
|
|
|
|
2012-04-17 19:13:47 +00:00
|
|
|
// Generalized sector types
|
|
|
|
gen_sectortypes
|
|
|
|
{
|
|
|
|
include("ZDoom_generalized.cfg", "gen_sectortypes");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ***********************************************************
|
|
|
|
// * *
|
|
|
|
// * Doom map format *
|
|
|
|
// * *
|
|
|
|
// ***********************************************************
|
|
|
|
|
|
|
|
mapformat_doom
|
|
|
|
{
|
|
|
|
// The format interface handles the map data format
|
|
|
|
formatinterface = "DoomMapSetIO";
|
|
|
|
|
|
|
|
maplumpnames
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "doommaplumpnames");
|
|
|
|
include("ZDoom_misc.cfg", "doommaplumpnames");
|
|
|
|
}
|
|
|
|
|
|
|
|
// When this is set to true, sectors with the same tag will light up when a line is highlighted
|
|
|
|
linetagindicatesectors = true;
|
|
|
|
|
|
|
|
// Special linedefs
|
|
|
|
include("ZDoom_misc.cfg", "speciallinedefs_doomhexen");
|
|
|
|
|
|
|
|
// Default flags for first new thing
|
|
|
|
defaultthingflags
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "defaultthingflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Door making
|
|
|
|
include("ZDoom_misc.cfg", "doormaking_doom");
|
|
|
|
|
|
|
|
// Generalized actions
|
|
|
|
generalizedlinedefs = true;
|
|
|
|
|
|
|
|
// GENERALIZED LINEDEF TYPES
|
|
|
|
gen_linedeftypes
|
|
|
|
{
|
|
|
|
include("Boom_generalized.cfg", "gen_linedeftypes");
|
|
|
|
}
|
2012-07-10 10:20:45 +00:00
|
|
|
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
|
|
sectorbrightness
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "sectorbrightness");
|
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// SECTOR TYPES
|
|
|
|
sectortypes
|
|
|
|
{
|
|
|
|
include("Doom_sectors.cfg");
|
|
|
|
include("ZDoom_sectors.cfg", "doom");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF FLAGS
|
|
|
|
linedefflags
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "linedefflags");
|
|
|
|
include("Boom_misc.cfg", "linedefflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF ACTIVATIONS
|
|
|
|
linedefactivations
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// Linedef flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
linedefflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "linedefflagstranslation");
|
|
|
|
include("Boom_misc.cfg", "linedefflagstranslation");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF TYPES
|
|
|
|
linedeftypes
|
|
|
|
{
|
|
|
|
include("Doom_linedefs.cfg");
|
|
|
|
include("Boom_linedefs.cfg");
|
|
|
|
include("ZDoom_linedefs.cfg", "doom");
|
|
|
|
}
|
|
|
|
|
|
|
|
// THING FLAGS
|
|
|
|
thingflags
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "thingflags");
|
|
|
|
include("Boom_misc.cfg", "thingflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Thing flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
thingflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "thingflagstranslation");
|
|
|
|
include("Boom_misc.cfg", "thingflagstranslation");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Things flags masks
|
|
|
|
include("Doom_misc.cfg", "thingflagsmasks");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// ***********************************************************
|
|
|
|
// * *
|
|
|
|
// * Hexen map format *
|
|
|
|
// * *
|
|
|
|
// ***********************************************************
|
|
|
|
|
|
|
|
mapformat_hexen
|
|
|
|
{
|
|
|
|
// The format interface handles the map data format
|
|
|
|
formatinterface = "HexenMapSetIO";
|
|
|
|
|
2014-07-11 10:13:26 +00:00
|
|
|
//mxd. The default script compiler to use
|
|
|
|
defaultscriptcompiler = "zdoom_acs.cfg";
|
|
|
|
|
2012-04-17 19:13:47 +00:00
|
|
|
maplumpnames
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "hexenmaplumpnames");
|
|
|
|
include("ZDoom_misc.cfg", "hexenmaplumpnames");
|
|
|
|
}
|
|
|
|
|
|
|
|
// When this is set to true, sectors with the same tag will light up when a line is highlighted
|
|
|
|
linetagindicatesectors = false;
|
|
|
|
|
|
|
|
// Special linedefs
|
|
|
|
include("ZDoom_misc.cfg", "speciallinedefs_doomhexen");
|
|
|
|
|
|
|
|
// Default flags for first new thing
|
|
|
|
defaultthingflags
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "defaultthingflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Door making
|
2014-03-05 12:26:09 +00:00
|
|
|
include("ZDoom_misc.cfg", "doormaking_hexen");
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// Generalized actions
|
|
|
|
generalizedlinedefs = false;
|
2012-07-10 10:20:45 +00:00
|
|
|
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
|
|
sectorbrightness
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "sectorbrightness");
|
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// SECTOR TYPES
|
|
|
|
sectortypes
|
|
|
|
{
|
|
|
|
include("ZDoom_sectors.cfg", "zdoom");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF FLAGS
|
|
|
|
linedefflags
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "linedefflags");
|
|
|
|
include("Hexen_misc.cfg", "linedefflags");
|
|
|
|
include("ZDoom_misc.cfg", "linedefflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Activations filter for Hexen type activations
|
|
|
|
// This filters the activation bits from the flags
|
|
|
|
linedefactivationsfilter = 7168;
|
|
|
|
|
|
|
|
// LINEDEF ACTIVATIONS
|
|
|
|
// Make sure these are in order from lowest value to highest value
|
|
|
|
linedefactivations
|
|
|
|
{
|
|
|
|
include("Hexen_misc.cfg", "linedefactivations");
|
|
|
|
include("ZDoom_misc.cfg", "linedefactivations");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Linedef flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
linedefflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "linedefflagstranslation");
|
|
|
|
include("Hexen_misc.cfg", "linedefflagstranslation");
|
|
|
|
include("ZDoom_misc.cfg", "linedefflagstranslation");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF TYPES
|
|
|
|
linedeftypes
|
|
|
|
{
|
|
|
|
include("Hexen_linedefs.cfg");
|
|
|
|
include("ZDoom_linedefs.cfg", "zdoom");
|
|
|
|
include("ZDoom_linedefs.cfg", "hexen");
|
|
|
|
}
|
|
|
|
|
|
|
|
// THING FLAGS
|
|
|
|
thingflags
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "thingflags");
|
|
|
|
include("Hexen_misc.cfg", "thingflags");
|
|
|
|
include("ZDoom_misc.cfg", "thingflags");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Thing flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
thingflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "thingflagstranslation");
|
|
|
|
include("Hexen_misc.cfg", "thingflagstranslation");
|
|
|
|
include("ZDoom_misc.cfg", "thingflagstranslation");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Things flags masks
|
|
|
|
include("Hexen_misc.cfg", "thingflagsmasks");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// ***********************************************************
|
|
|
|
// * *
|
|
|
|
// * Text map format *
|
|
|
|
// * *
|
|
|
|
// ***********************************************************
|
|
|
|
|
|
|
|
mapformat_udmf
|
|
|
|
{
|
|
|
|
// The format interface handles the map data format
|
2014-05-19 13:33:38 +00:00
|
|
|
formatinterface = "UniversalMapSetIO";
|
|
|
|
|
2014-07-11 10:13:26 +00:00
|
|
|
//mxd. The default script compiler to use
|
|
|
|
defaultscriptcompiler = "zdoom_acs.cfg";
|
|
|
|
|
2014-05-19 13:33:38 +00:00
|
|
|
// Maximum length of texture name length in characters (0 for unlimited)
|
|
|
|
// WARNING: changing this may destroy your WAD file. Only change it when
|
|
|
|
// you know what you're doing!
|
|
|
|
maxtexturenamelength = 2048;
|
2012-04-17 19:13:47 +00:00
|
|
|
|
2012-07-02 23:20:56 +00:00
|
|
|
// Default nodebuilder configurations
|
|
|
|
defaultsavecompiler = "zdbsp_udmf_normal";
|
|
|
|
defaulttestcompiler = "zdbsp_udmf_fast";
|
|
|
|
|
2012-04-17 19:13:47 +00:00
|
|
|
engine = "zdoom"; // override that so that DB2 uses the correct namespace
|
|
|
|
|
|
|
|
maplumpnames
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "udmfmaplumpnames_begin");
|
|
|
|
include("ZDoom_misc.cfg", "udmfmaplumpnames");
|
|
|
|
include("UDMF_misc.cfg", "udmfmaplumpnames_end");
|
|
|
|
}
|
|
|
|
|
|
|
|
universalfields
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "universalfields");
|
|
|
|
}
|
|
|
|
|
|
|
|
// When this is set to true, sectors with the same tag will light up when a line is highlighted
|
|
|
|
linetagindicatesectors = false;
|
|
|
|
|
|
|
|
// Special linedefs
|
|
|
|
include("ZDoom_misc.cfg", "speciallinedefs_udmf");
|
|
|
|
|
|
|
|
// Default flags for first new thing
|
|
|
|
defaultthingflags
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "defaultthingflags_udmf");
|
|
|
|
}
|
|
|
|
|
|
|
|
// Door making
|
2014-03-05 12:26:09 +00:00
|
|
|
include("ZDoom_misc.cfg", "doormaking_udmf");
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// Generalized actions
|
|
|
|
generalizedlinedefs = false;
|
2013-07-10 08:59:17 +00:00
|
|
|
|
|
|
|
// SECTOR FLAGS
|
|
|
|
sectorflags
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "sectorflags");
|
|
|
|
}
|
2012-07-10 10:20:45 +00:00
|
|
|
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
|
|
sectorbrightness
|
|
|
|
{
|
|
|
|
include("ZDoom_misc.cfg", "sectorbrightness");
|
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// SECTOR TYPES
|
|
|
|
sectortypes
|
|
|
|
{
|
|
|
|
include("ZDoom_sectors.cfg", "zdoom");
|
|
|
|
}
|
|
|
|
|
2014-05-05 14:24:57 +00:00
|
|
|
// SECTOR RENSERSTYLES
|
|
|
|
sectorrenderstyles
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "sectorrenderstyles");
|
|
|
|
}
|
|
|
|
|
2012-04-17 19:13:47 +00:00
|
|
|
// LINEDEF FLAGS
|
|
|
|
linedefflags
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "linedefflags");
|
|
|
|
include("ZDoom_misc.cfg", "linedefflags_udmf");
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF ACTIVATIONS
|
|
|
|
linedefactivations
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "linedefactivations");
|
|
|
|
include("ZDoom_misc.cfg", "linedefactivations_udmf");
|
|
|
|
}
|
2013-05-27 12:20:15 +00:00
|
|
|
|
|
|
|
//mxd. Linedef flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
linedefflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "linedefflagstranslation");
|
|
|
|
include("Hexen_misc.cfg", "linedefflagstranslation");
|
|
|
|
include("ZDoom_misc.cfg", "linedefflagstranslation");
|
2014-05-05 14:24:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// LINEDEF RENSERSTYLES
|
|
|
|
linedefrenderstyles
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "linedefrenderstyles");
|
2013-05-27 12:20:15 +00:00
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
2013-07-19 15:30:58 +00:00
|
|
|
//SIDEDEF FLAGS
|
|
|
|
sidedefflags
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "sidedefflags");
|
|
|
|
}
|
|
|
|
|
2012-04-17 19:13:47 +00:00
|
|
|
// THING FLAGS
|
|
|
|
thingflags
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "thingflags");
|
|
|
|
include("ZDoom_misc.cfg", "thingflags_udmf");
|
|
|
|
}
|
2012-08-27 11:39:14 +00:00
|
|
|
|
2014-05-05 14:24:57 +00:00
|
|
|
// THING RENSERSTYLES
|
|
|
|
thingrenderstyles
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "thingrenderstyles");
|
|
|
|
}
|
2012-08-27 11:39:14 +00:00
|
|
|
|
2013-06-03 11:32:29 +00:00
|
|
|
// How to compare thing flags (for the stuck things error checker)
|
|
|
|
thingflagscompare
|
|
|
|
{
|
|
|
|
include("UDMF_misc.cfg", "thingflagscompare");
|
|
|
|
include("ZDoom_misc.cfg", "thingflagscompare_udmf");
|
|
|
|
}
|
|
|
|
|
|
|
|
//mxd. Thing flags UDMF translation table
|
|
|
|
// This is needed for copy/paste and prefabs to work properly
|
|
|
|
// When the UDMF field name is prefixed with ! it is inverted
|
|
|
|
thingflagstranslation
|
|
|
|
{
|
|
|
|
include("Doom_misc.cfg", "thingflagstranslation");
|
|
|
|
include("Hexen_misc.cfg", "thingflagstranslation");
|
|
|
|
include("ZDoom_misc.cfg", "thingflagstranslation");
|
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
// Things flags masks
|
|
|
|
include("Hexen_misc.cfg", "thingflagsmasks");
|
|
|
|
|
|
|
|
// LINEDEF TYPES
|
|
|
|
linedeftypes
|
|
|
|
{
|
|
|
|
include("Hexen_linedefs.cfg");
|
|
|
|
include("ZDoom_linedefs.cfg", "zdoom");
|
|
|
|
include("ZDoom_linedefs.cfg", "udmf");
|
|
|
|
}
|
|
|
|
|
2013-07-10 08:59:17 +00:00
|
|
|
}
|