mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 14:12:16 +00:00
5cb573d938
Enhanced scripting workflow. Thing and linedef arguments can now have default value in configuration files. Fixed laggy visual camera movement on systems with big uptime. Fixed incorrect alignment of Things with "hangs" flag in GZDoom Visual mode. Fixed Editor crash when nodebuilder fails to build map. A window with error description will be shown instead. Doom light levels were used even in maps in non-doom map format. Tag Explorer plugin: Elements list wasn't updated when map element was deleted. Pugin wasn't disposed properly, which may led to Doom Builder 2 crash on map close. Fixed plugin crash after opening another map. Fixed unresponsive text entry in Filter text box. Fixed plugin crash when Doom Builder can't determmine thing category ("UNKNOWN" category will be used instead).
682 lines
17 KiB
INI
682 lines
17 KiB
INI
// ***********************************************************
|
|
// * *
|
|
// * These values are the same for Doom format, Hexen format *
|
|
// * and UDMF; as well as for ZDoom, GZDoom and Skulltag *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
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");
|
|
}
|
|
|
|
// 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");
|
|
}
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
sectorbrightness
|
|
{
|
|
include("Doom_misc.cfg", "sectorbrightness");
|
|
}
|
|
|
|
// 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";
|
|
|
|
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
|
|
include("ZDoom_misc.cfg", "doormaking_hexenudmf");
|
|
|
|
// Generalized actions
|
|
generalizedlinedefs = false;
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
sectorbrightness
|
|
{
|
|
include("ZDoom_misc.cfg", "sectorbrightness");
|
|
}
|
|
|
|
// 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
|
|
formatinterface = "UniversalMapSetIO";
|
|
|
|
// Default nodebuilder configurations
|
|
defaultsavecompiler = "zdbsp_udmf_normal";
|
|
defaulttestcompiler = "zdbsp_udmf_fast";
|
|
|
|
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
|
|
include("ZDoom_misc.cfg", "doormaking_hexenudmf");
|
|
|
|
// Generalized actions
|
|
generalizedlinedefs = false;
|
|
|
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
sectorbrightness
|
|
{
|
|
include("ZDoom_misc.cfg", "sectorbrightness");
|
|
}
|
|
|
|
// SECTOR TYPES
|
|
sectortypes
|
|
{
|
|
include("ZDoom_sectors.cfg", "zdoom");
|
|
}
|
|
|
|
// 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");
|
|
}
|
|
|
|
// THING FLAGS
|
|
thingflags
|
|
{
|
|
include("UDMF_misc.cfg", "thingflags");
|
|
include("ZDoom_misc.cfg", "thingflags_udmf");
|
|
}
|
|
|
|
// 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");
|
|
}
|
|
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Doom: Ultimate Doom, Hell on Earth, Final Doom *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_doom
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
basegame = 0; //mxd: 0 - DOOM, 1 - HERETIC, 2 - HEXEN, 3 - STRIFE, 4 - UNKNOWN
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "doom";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Doom_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "DOORTRAK";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Doom_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Heretic: Shadow of the Serpent Riders *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_heretic
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
basegame = 1;
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "heretic raven";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Heretic_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "METL2";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Heretic_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Hexen: Beyond Heretic *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_hexen
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
skyflatname = "F_SKY";
|
|
basegame = 2;
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "hexen raven";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Hexen_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "D_END2";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Hexen_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Hexen_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Strife: Quest for the Sigil *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_strife
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
skyflatname = "F_SKY001";
|
|
basegame = 3;
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "strife";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Strife_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "DORTRK01";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Strife_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Strife_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Chex Quest game *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_chex
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "chex";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Chex_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "COMPSTA1";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Chex_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Chex Quest 3 game *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_chex3
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "chex";
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Chex_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "COMPSTA1";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Chex3_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Harmony game *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_harmony
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "harmony"; // Doesn't actually exist, but used to prevent loading Doom actors when loading zdoom.pk3
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Harmony_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "DOORTRAK";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Harmony_texturesets.cfg");
|
|
}
|
|
}
|
|
|
|
// ***********************************************************
|
|
// * *
|
|
// * Action Doom 2: Urban Brawl game *
|
|
// * *
|
|
// ***********************************************************
|
|
|
|
game_action2
|
|
{
|
|
// Default lump name for new map
|
|
defaultlumpname = "MAP01";
|
|
|
|
// Decorate actors to include depending on actor game property
|
|
decorategames = "action2"; // Doesn't actually exist, but used to prevent loading Doom actors when loading zdoom.pk3
|
|
|
|
// Skill levels
|
|
skills
|
|
{
|
|
include("Action2_misc.cfg", "skills");
|
|
}
|
|
|
|
// Door making
|
|
makedoortrack = "BLACK";
|
|
|
|
// Default thing filters
|
|
// (these are not required, just useful for new users)
|
|
thingsfilters
|
|
{
|
|
include("Doom_misc.cfg", "thingsfilters");
|
|
}
|
|
|
|
// Default texture sets
|
|
// (these are not required, but useful for new users)
|
|
texturesets
|
|
{
|
|
include("Action2_texturesets.cfg");
|
|
}
|
|
}
|