ZDoom (Doom in UDMF format) game configuration now makes use of included configurations

This commit is contained in:
codeimp 2009-07-31 13:54:36 +00:00
parent 3d37b122f1
commit 708195f164
4 changed files with 595 additions and 8253 deletions

View file

@ -2,20 +2,6 @@
// Basic UDMF stuff. // Basic UDMF stuff.
linedefflags
{
blocking = "Impassable";
blockmonsters = "Block monster";
twosided = "Doublesided";
dontpegtop = "Upper unpegged";
dontpegbottom = "Lower unpegged";
secret = "Secret";
blocksound = "Block sound";
dontdraw = "Hidden";
mapped = "Shown";
}
thingflags thingflags
{ {
skill1 = "Skill 1"; skill1 = "Skill 1";
@ -50,6 +36,20 @@ defaultthingflags
} }
linedefflags
{
blocking = "Impassable";
blockmonsters = "Block monster";
twosided = "Doublesided";
dontpegtop = "Upper unpegged";
dontpegbottom = "Lower unpegged";
secret = "Secret";
blocksound = "Block sound";
dontdraw = "Hidden";
mapped = "Shown";
}
linedefactivations linedefactivations
{ {
playercross = "When player walks over"; playercross = "When player walks over";

View file

@ -1,25 +1,4 @@
thingflags
{
2048 = "Translucent (25%)";
4096 = "Invisible";
8192 = "Friendly";
16384 = "Frozen while inactive";
}
// 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
{
2048 = "translucent";
4096 = "invisible";
8192 = "friend";
16384 = "standing";
}
linedefflags linedefflags
{ {
16384 = "Block Players"; 16384 = "Block Players";
@ -45,6 +24,66 @@ linedefflagstranslation
} }
linedefflags_udmf
{
monsteractivate = "Monster activates";
blockeverything = "Block everything";
blockplayers = "Block players";
blockfloaters = "Block floating";
translucent = "Translucent";
jumpover = "Jump over";
zoneboundary = "Sound zone boundary";
clipmidtex = "Clip middle texture";
wrapmidtex = "Wrap middle texture";
midtex3d = "Walkable middle texture";
blockprojectiles = "Block projectiles";
}
linedefactivations_udmf
{
firstsideonly = "Front side only";
checkswitchrange = "Switch height check";
}
thingflags
{
2048 = "Translucent (25%)";
4096 = "Invisible";
8192 = "Friendly";
16384 = "Frozen while inactive";
}
thingflags_udmf
{
skill6 = "Skill 6";
skill7 = "Skill 7";
skill8 = "Skill 8";
class1 = "Class 1";
class2 = "Class 2";
class3 = "Class 3";
class4 = "Class 4";
class5 = "Class 5";
class6 = "Class 6";
class7 = "Class 7";
class8 = "Class 8";
}
// 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
{
2048 = "translucent";
4096 = "invisible";
8192 = "friend";
16384 = "standing";
}
defaultthingflags defaultthingflags
{ {
1; 1;
@ -59,6 +98,30 @@ defaultthingflags
} }
defaultthingflags_udmf
{
skill1;
skill2;
skill3;
skill4;
skill5;
skill6;
skill7;
skill8;
single;
coop;
dm;
class1;
class2;
class3;
class4;
class5;
class6;
class7;
class8;
}
// Default sector brightness levels // Default sector brightness levels
sectorbrightness sectorbrightness
{ {
@ -67,6 +130,280 @@ sectorbrightness
} }
/*
ADDITIONAL UNIVERSAL DOOM MAP FORMAT FIELD DEFINITIONS
Only add fields here that Doom Builder does not edit with its own user-interface!
The "default" field must match the UDMF specifications!
Field data types:
0 = integer *
1 = float
2 = string
3 = bool
4 = linedeftype (integer) *
5 = sectoreffect (integer) *
6 = texture (string)
7 = flat (string)
8 = angle in degrees (integer)
9 = angle in radians (float)
10 = XXRRGGBB color (integer)
11 = enum option (integer) *
12 = enum bits (integer) *
13 = sector tag (integer) *
14 = thing tag (integer) *
15 = linedef tag (integer) *
16 = enum option (string)
17 = angle in degrees (float)
*/
universalfields
{
linedef
{
comment
{
type = 2;
default = "";
}
alpha
{
type = 1;
default = 1.0f;
}
renderstyle
{
type = 16;
default = "translucent";
enum
{
translucent = "Translucent";
add = "Additive";
}
}
}
sidedef
{
comment
{
type = 2;
default = "";
}
light
{
type = 0;
default = 0;
}
lightabsolute
{
type = 3;
default = false;
}
nofakecontrast
{
type = 3;
default = false;
}
offsetx_top
{
type = 1;
default = 0.0f;
}
offsety_top
{
type = 1;
default = 0.0f;
}
offsetx_mid
{
type = 1;
default = 0.0f;
}
offsety_mid
{
type = 1;
default = 0.0f;
}
offsetx_bottom
{
type = 1;
default = 0.0f;
}
offsety_bottom
{
type = 1;
default = 0.0f;
}
smoothlighting
{
type = 3;
default = false;
}
}
thing
{
comment
{
type = 2;
default = "";
}
}
sector
{
comment
{
type = 2;
default = "";
}
xpanningfloor
{
type = 1;
default = 0.0f;
}
ypanningfloor
{
type = 1;
default = 0.0f;
}
xpanningceiling
{
type = 1;
default = 0.0f;
}
ypanningceiling
{
type = 1;
default = 0.0f;
}
xscalefloor
{
type = 1;
default = 1.0f;
}
yscalefloor
{
type = 1;
default = 1.0f;
}
xscaleceiling
{
type = 1;
default = 1.0f;
}
yscaleceiling
{
type = 1;
default = 1.0f;
}
rotationfloor
{
type = 17;
default = 0.0f;
}
rotationceiling
{
type = 17;
default = 0.0f;
}
lightfloor
{
type = 0;
default = 0.0f;
}
lightceiling
{
type = 0;
default = 0.0f;
}
lightfloorabsolute
{
type = 3;
default = false;
}
lightceilingabsolute
{
type = 3;
default = false;
}
gravity
{
type = 1;
default = 1.0f;
}
lightcolor
{
type = 10;
default = 16777215;
}
fadecolor
{
type = 10;
default = 0;
}
desaturation
{
type = 1;
default = 0.0f;
}
silent
{
type = 3;
default = false;
}
nofallingdamage
{
type = 3;
default = false;
}
dropactors
{
type = 3;
default = false;
}
norespawn
{
type = 3;
default = false;
}
}
}
/* /*
MAP LUMP NAMES MAP LUMP NAMES
Map lumps are loaded with the map as long as they are right after each other. When the editor Map lumps are loaded with the map as long as they are right after each other. When the editor
@ -114,6 +451,52 @@ hexenmaplumpnames
} }
udmfmaplumpnames
{
BEHAVIOR
{
required = false;
nodebuild = false;
blindcopy = true;
}
DIALOGUE
{
required = false;
nodebuild = false;
blindcopy = true;
}
ZNODES
{
required = false;
nodebuild = true;
allowempty = false;
}
BLOCKMAP
{
required = false;
nodebuild = true;
allowempty = true;
}
REJECT
{
required = false;
nodebuild = true;
allowempty = true;
}
SCRIPTS
{
required = false;
nodebuild = false;
script = "ZDoom_ACS.cfg";
}
}
enums enums
{ {
frontback frontback
@ -313,3 +696,130 @@ enums
22 = "Hit"; 22 = "Hit";
} }
} }
// Default thing filters
// (these are not required, just usefull for new users)
thingsfilters_udmf
{
filter0
{
name = "Keys only";
category = "keys";
type = -1;
}
filter2
{
name = "Skill 1";
category = "";
type = -1;
fields
{
skill1 = true;
}
}
filter3
{
name = "Skill 2";
category = "";
type = -1;
fields
{
skill2 = true;
}
}
filter4
{
name = "Skill 3";
category = "";
type = -1;
fields
{
skill3 = true;
}
}
filter5
{
name = "Skill 4";
category = "";
type = -1;
fields
{
skill4 = true;
}
}
filter6
{
name = "Skill 5";
category = "";
type = -1;
fields
{
skill5 = true;
}
}
filter7
{
name = "Skill 6";
category = "";
type = -1;
fields
{
skill6 = true;
}
}
filter8
{
name = "Skill 7";
category = "";
type = -1;
fields
{
skill7 = true;
}
}
filter9
{
name = "Skill 8";
category = "";
type = -1;
fields
{
skill8 = true;
}
}
}

View file

@ -33,9 +33,6 @@ skills
include("Includes\\Doom_misc.cfg", "skills"); include("Includes\\Doom_misc.cfg", "skills");
} }
// Simulate Doom brightness levels (turn this off for linear lighting)
doomlightlevels = true;
// When this is set to true, sectors with the same tag will light up when a line is highlighted // When this is set to true, sectors with the same tag will light up when a line is highlighted
linetagindicatesectors = false; linetagindicatesectors = false;

File diff suppressed because it is too large Load diff