mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add UDB config
This commit is contained in:
parent
8850962810
commit
1d7e830bdc
8 changed files with 6159 additions and 0 deletions
77
extras/conf/Includes/Game_SRB222.cfg
Normal file
77
extras/conf/Includes/Game_SRB222.cfg
Normal file
|
|
@ -0,0 +1,77 @@
|
||||||
|
// Default lump name for new map
|
||||||
|
defaultlumpname = "MAP01";
|
||||||
|
//GZDB specific. Don't try to load lumps that don't exist.
|
||||||
|
basegame = "Doom";
|
||||||
|
|
||||||
|
//Sky textures for vanilla maps
|
||||||
|
defaultskytextures
|
||||||
|
{
|
||||||
|
SKY1 = "MAP01,MAP02,MAP03,MAP33,MAP50,MAP60,MAPF0,MAPM0";
|
||||||
|
SKY2 = "MAPM7,MAPMB";
|
||||||
|
SKY4 = "MAP04,MAP06,MAP61,MAPF6,MAPM1";
|
||||||
|
SKY6 = "MAP05,MAP51,MAPMA";
|
||||||
|
SKY7 = "MAPM2,MAPM5";
|
||||||
|
SKY8 = "MAP07,MAP08,MAP09,MAP52,MAP62,MAPF1";
|
||||||
|
SKY10 = "MAP10,MAP12,MAP53,MAP63,MAPM3";
|
||||||
|
SKY11 = "MAP11,MAPF7";
|
||||||
|
SKY13 = "MAP13,MAP64";
|
||||||
|
SKY14 = "MAP14";
|
||||||
|
SKY15 = "MAP15,MAP54";
|
||||||
|
SKY17 = "MAP70";
|
||||||
|
SKY20 = "MAP32,MAP55,MAP65,MAPF2,MAPF5";
|
||||||
|
SKY21 = "MAPM4";
|
||||||
|
SKY22 = "MAP22,MAP23,MAP25,MAP26,MAP27,MAP56,MAP66,MAPF4,MAPM6";
|
||||||
|
SKY30 = "MAP30";
|
||||||
|
SKY31 = "MAP31";
|
||||||
|
SKY35 = "MAP42";
|
||||||
|
SKY40 = "MAP41,MAP71,MAPM9";
|
||||||
|
SKY55 = "MAPF3,MAPM8";
|
||||||
|
SKY68 = "MAPF8";
|
||||||
|
SKY99 = "MAP57,MAPZ0";
|
||||||
|
SKY159 = "MAP16";
|
||||||
|
SKY172 = "MAP40";
|
||||||
|
SKY300 = "MAP72";
|
||||||
|
SKY301 = "MAP73";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Skill levels
|
||||||
|
skills
|
||||||
|
{
|
||||||
|
1 = "Normal";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Skins
|
||||||
|
skins
|
||||||
|
{
|
||||||
|
Sonic;
|
||||||
|
Tails;
|
||||||
|
Knuckles;
|
||||||
|
Amy;
|
||||||
|
Fang;
|
||||||
|
Metalsonic;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gametypes
|
||||||
|
gametypes
|
||||||
|
{
|
||||||
|
-1 = "Single Player";
|
||||||
|
0 = "Co-op";
|
||||||
|
1 = "Competition";
|
||||||
|
2 = "Race";
|
||||||
|
3 = "Match";
|
||||||
|
4 = "Team Match";
|
||||||
|
5 = "Tag";
|
||||||
|
6 = "Hide and Seek";
|
||||||
|
7 = "CTF";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Texture loading options
|
||||||
|
defaultwalltexture = "GFZROCK";
|
||||||
|
defaultfloortexture = "GFZFLR01";
|
||||||
|
defaultceilingtexture = "F_SKY1";
|
||||||
|
|
||||||
|
// Default texture sets
|
||||||
|
// (these are not required, but useful for new users)
|
||||||
|
texturesets
|
||||||
|
{
|
||||||
|
}
|
||||||
297
extras/conf/Includes/SRB222_common.cfg
Normal file
297
extras/conf/Includes/SRB222_common.cfg
Normal file
|
|
@ -0,0 +1,297 @@
|
||||||
|
common
|
||||||
|
{
|
||||||
|
// Simulate Doom brightness levels (turn this off for linear lighting)
|
||||||
|
doomlightlevels = true;
|
||||||
|
|
||||||
|
// Enables support for long (> 8 chars) texture names
|
||||||
|
// WARNING: this should only be enabled for UDMF game configurations!
|
||||||
|
// WARNING: enabling this will make maps incompatible with Doom Builder 2 and can lead to problems in Slade 3!
|
||||||
|
longtexturenames = false;
|
||||||
|
|
||||||
|
// These directory names are ignored when loading PK3/PK7/Directory resources
|
||||||
|
ignoreddirectories = ".svn .git";
|
||||||
|
|
||||||
|
// Files with these extensions are ignored when loading PK3/PK7/Directory resources
|
||||||
|
ignoredextensions = "wad pk3 pk7 bak backup1 backup2 backup3 zip rar 7z";
|
||||||
|
|
||||||
|
// Default testing parameters
|
||||||
|
testparameters = "-file \"%AP\" \"%F\" -warp %L";
|
||||||
|
testshortpaths = true;
|
||||||
|
|
||||||
|
// Action special help
|
||||||
|
actionspecialhelp = "https://wiki.srb2.org/wiki/Linedef_type_%K";
|
||||||
|
|
||||||
|
// Generalized actions
|
||||||
|
generalizedlinedefs = false;
|
||||||
|
generalizedsectors = true;
|
||||||
|
|
||||||
|
// Maximum safe map size check (0 means skip check)
|
||||||
|
safeboundary = 1;
|
||||||
|
|
||||||
|
// Map boundaries. Map objects can only be placed within these boundaries
|
||||||
|
leftboundary = -32768;
|
||||||
|
rightboundary = 32767;
|
||||||
|
topboundary = 32767;
|
||||||
|
bottomboundary = -32768;
|
||||||
|
|
||||||
|
// Texture loading options
|
||||||
|
mixtexturesflats = true;
|
||||||
|
defaulttexturescale = 1.0f;
|
||||||
|
defaultflatscale = 1.0f;
|
||||||
|
scaledtextureoffsets = true;
|
||||||
|
|
||||||
|
// Thing number for start position in 3D Mode
|
||||||
|
start3dmode = 3328;
|
||||||
|
|
||||||
|
// Texture sources
|
||||||
|
textures
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "textures");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Patch sources
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "patches");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sprite sources
|
||||||
|
sprites
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "sprites");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Flat sources
|
||||||
|
flats
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "flats");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mapformat_doom
|
||||||
|
{
|
||||||
|
// The format interface handles the map data format
|
||||||
|
formatinterface = "DoomMapSetIO";
|
||||||
|
|
||||||
|
// Default nodebuilder configurations
|
||||||
|
defaultsavecompiler = "zennode_normal";
|
||||||
|
defaulttestcompiler = "zennode_fast";
|
||||||
|
|
||||||
|
/*
|
||||||
|
GAME DETECT PATTERN
|
||||||
|
Used to guess the game for which a WAD file is made.
|
||||||
|
|
||||||
|
1 = One of these lumps must exist
|
||||||
|
2 = None of these lumps must exist
|
||||||
|
3 = All of these lumps must exist
|
||||||
|
*/
|
||||||
|
|
||||||
|
gamedetect
|
||||||
|
{
|
||||||
|
EXTENDED = 2;
|
||||||
|
|
||||||
|
|
||||||
|
BEHAVIOR = 2;
|
||||||
|
|
||||||
|
E#M# = 2;
|
||||||
|
|
||||||
|
MAP?? = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
MAP LUMP NAMES
|
||||||
|
Map lumps are loaded with the map as long as they are right after each other. When the editor
|
||||||
|
meets a lump which is not defined in this list it will ignore the map if not satisfied.
|
||||||
|
The order of items defines the order in which lumps will be written to WAD file on save.
|
||||||
|
To indicate the map header lump, use ~MAP
|
||||||
|
|
||||||
|
Legenda:
|
||||||
|
required = Lump is required to exist.
|
||||||
|
blindcopy = Lump will be copied along with the map blindly. (usefull for lumps Doom Builder doesn't use)
|
||||||
|
nodebuild = The nodebuilder generates this lump.
|
||||||
|
allowempty = The nodebuilder is allowed to leave this lump empty.
|
||||||
|
script = This lump is a text-based script. Specify the filename of the script configuration to use.
|
||||||
|
*/
|
||||||
|
|
||||||
|
maplumpnames
|
||||||
|
{
|
||||||
|
include("SRB222_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("SRB222_misc.cfg", "speciallinedefs");
|
||||||
|
|
||||||
|
// Default flags for first new thing
|
||||||
|
defaultthingflags
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
||||||
|
sectorbrightness
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "sectorbrightness");
|
||||||
|
}
|
||||||
|
|
||||||
|
// SECTOR TYPES
|
||||||
|
sectortypes
|
||||||
|
{
|
||||||
|
include("SRB222_sectors.cfg", "sectortypes");
|
||||||
|
}
|
||||||
|
|
||||||
|
// GENERALISED SECTOR TYPES
|
||||||
|
gen_sectortypes
|
||||||
|
{
|
||||||
|
include("SRB222_sectors.cfg", "gen_sectortypes");
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF FLAGS
|
||||||
|
linedefflags
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "linedefflags");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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("SRB222_misc.cfg", "linedefflagstranslation");
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF ACTIVATIONS
|
||||||
|
linedefactivations
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF TYPES
|
||||||
|
linedeftypes
|
||||||
|
{
|
||||||
|
include("SRB222_linedefs.cfg", "doom");
|
||||||
|
}
|
||||||
|
|
||||||
|
// THING FLAGS
|
||||||
|
thingflags
|
||||||
|
{
|
||||||
|
include("SRB222_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("SRB222_misc.cfg", "thingflagstranslation");
|
||||||
|
}
|
||||||
|
|
||||||
|
// THING FLAGS ERROR MASK
|
||||||
|
// Mask for the thing flags which indicates the options
|
||||||
|
// that make the same thing appear in the same modes
|
||||||
|
thingflagsmask1 = 7; // 1 + 2 + 4
|
||||||
|
thingflagsmask2 = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
mapformat_udmf
|
||||||
|
{
|
||||||
|
// The format interface handles the map data format
|
||||||
|
formatinterface = "UniversalMapSetIO";
|
||||||
|
|
||||||
|
// Default nodebuilder configurations
|
||||||
|
defaultsavecompiler = "zdbsp_udmf_normal";
|
||||||
|
defaulttestcompiler = "zdbsp_udmf_fast";
|
||||||
|
|
||||||
|
// Determines the textmap namespace
|
||||||
|
engine = "srb2";
|
||||||
|
|
||||||
|
maplumpnames
|
||||||
|
{
|
||||||
|
include("UDMF_misc.cfg", "udmfmaplumpnames_begin");
|
||||||
|
include("SRB222_misc.cfg", "udmfmaplumpnames");
|
||||||
|
include("UDMF_misc.cfg", "udmfmaplumpnames_end");
|
||||||
|
}
|
||||||
|
|
||||||
|
universalfields
|
||||||
|
{
|
||||||
|
include("SRB222_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("SRB222_misc.cfg", "speciallinedefs_udmf");
|
||||||
|
|
||||||
|
// Default flags for first new thing
|
||||||
|
defaultthingflags
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// SECTOR FLAGS
|
||||||
|
sectorflags
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "sectorflags");
|
||||||
|
}
|
||||||
|
|
||||||
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
||||||
|
sectorbrightness
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "sectorbrightness");
|
||||||
|
}
|
||||||
|
|
||||||
|
// SECTOR TYPES
|
||||||
|
sectortypes
|
||||||
|
{
|
||||||
|
include("SRB222_sectors.cfg", "sectortypes");
|
||||||
|
}
|
||||||
|
|
||||||
|
// GENERALISED SECTOR TYPES
|
||||||
|
gen_sectortypes
|
||||||
|
{
|
||||||
|
include("SRB222_sectors.cfg", "gen_sectortypes");
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF FLAGS
|
||||||
|
linedefflags
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "linedefflags_udmf");
|
||||||
|
}
|
||||||
|
|
||||||
|
linedefflagstranslation
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "linedefflagstranslation");
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF RENDERSTYLES
|
||||||
|
/*linedefrenderstyles
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "linedefrenderstyles");
|
||||||
|
}*/
|
||||||
|
|
||||||
|
// THING FLAGS
|
||||||
|
thingflags
|
||||||
|
{
|
||||||
|
include("SRB222_misc.cfg", "thingflags_udmf");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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("SRB222_misc.cfg", "thingflagstranslation");
|
||||||
|
}
|
||||||
|
|
||||||
|
// How to compare thing flags (for the stuck things error checker)
|
||||||
|
thingflagscompare
|
||||||
|
{
|
||||||
|
include("UDMF_misc.cfg", "thingflagscompare");
|
||||||
|
}
|
||||||
|
|
||||||
|
// LINEDEF TYPES
|
||||||
|
linedeftypes
|
||||||
|
{
|
||||||
|
include("SRB222_linedefs.cfg", "udmf");
|
||||||
|
}
|
||||||
|
}
|
||||||
1831
extras/conf/Includes/SRB222_linedefs.cfg
Normal file
1831
extras/conf/Includes/SRB222_linedefs.cfg
Normal file
File diff suppressed because it is too large
Load diff
620
extras/conf/Includes/SRB222_misc.cfg
Normal file
620
extras/conf/Includes/SRB222_misc.cfg
Normal file
|
|
@ -0,0 +1,620 @@
|
||||||
|
linedefflags
|
||||||
|
{
|
||||||
|
1 = "[0] Impassable";
|
||||||
|
2 = "[1] Block Enemies";
|
||||||
|
4 = "[2] Double-Sided";
|
||||||
|
8 = "[3] Upper Unpegged";
|
||||||
|
16 = "[4] Lower Unpegged";
|
||||||
|
32 = "[5] Slope Skew (E1)";
|
||||||
|
64 = "[6] Not Climbable";
|
||||||
|
128 = "[7] No Midtexture Skew (E2)";
|
||||||
|
256 = "[8] Peg Midtexture (E3)";
|
||||||
|
512 = "[9] Solid Midtexture (E4)";
|
||||||
|
1024 = "[10] Repeat Midtexture (E5)";
|
||||||
|
2048 = "[11] Netgame Only";
|
||||||
|
4096 = "[12] No Netgame";
|
||||||
|
8192 = "[13] Effect 6";
|
||||||
|
16384 = "[14] Bouncy Wall";
|
||||||
|
32768 = "[15] Transfer Line";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 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
|
||||||
|
{
|
||||||
|
1 = "blocking";
|
||||||
|
2 = "blockmonsters";
|
||||||
|
4 = "twosided";
|
||||||
|
8 = "dontpegtop";
|
||||||
|
16 = "dontpegbottom";
|
||||||
|
32 = "skewtd";
|
||||||
|
64 = "noclimb";
|
||||||
|
128 = "noskew";
|
||||||
|
256 = "midpeg";
|
||||||
|
512 = "midsolid";
|
||||||
|
1024 = "wrapmidtex";
|
||||||
|
2048 = "netonly";
|
||||||
|
4096 = "nonet";
|
||||||
|
8192 = "effect6";
|
||||||
|
16384 = "bouncy";
|
||||||
|
32768 = "transfer";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
linedefflags_udmf
|
||||||
|
{
|
||||||
|
blocking = "Impassable";
|
||||||
|
blockmonsters = "Block Enemies";
|
||||||
|
twosided = "Double-Sided";
|
||||||
|
dontpegtop = "Upper Unpegged";
|
||||||
|
dontpegbottom = "Lower Unpegged";
|
||||||
|
skewtd = "Slope Skew";
|
||||||
|
noclimb = "Not Climbable";
|
||||||
|
noskew = "No Midtexture Skew";
|
||||||
|
midpeg = "Peg Midtexture";
|
||||||
|
midsolid = "Solid Midtexture";
|
||||||
|
wrapmidtex = "Repeat Midtexture";
|
||||||
|
netonly = "Netgame Only";
|
||||||
|
nonet = "No Netgame";
|
||||||
|
effect6 = "Effect 6";
|
||||||
|
bouncy = "Bouncy Wall";
|
||||||
|
transfer = "Transfer Line";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*linedefrenderstyles
|
||||||
|
{
|
||||||
|
translucent = "Translucent";
|
||||||
|
fog = "Fog";
|
||||||
|
}*/
|
||||||
|
|
||||||
|
sectorflags
|
||||||
|
{
|
||||||
|
colormapfog = "Fog Planes in Colormap";
|
||||||
|
colormapfadesprites = "Fade Fullbright in Colormap";
|
||||||
|
colormapprotected = "Protected Colormap";
|
||||||
|
}
|
||||||
|
|
||||||
|
thingflags
|
||||||
|
{
|
||||||
|
1 = "[1] Extra";
|
||||||
|
2 = "[2] Flip";
|
||||||
|
4 = "[4] Special";
|
||||||
|
8 = "[8] Ambush";
|
||||||
|
}
|
||||||
|
|
||||||
|
// THING FLAGS
|
||||||
|
thingflags_udmf
|
||||||
|
{
|
||||||
|
extra = "Extra";
|
||||||
|
flip = "Flip";
|
||||||
|
special = "Special";
|
||||||
|
ambush = "Ambush";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 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
|
||||||
|
{
|
||||||
|
1 = "extra";
|
||||||
|
2 = "flip";
|
||||||
|
4 = "special";
|
||||||
|
8 = "ambush";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
||||||
|
sectorbrightness
|
||||||
|
{
|
||||||
|
255;
|
||||||
|
248;
|
||||||
|
240;
|
||||||
|
232;
|
||||||
|
224;
|
||||||
|
216;
|
||||||
|
208;
|
||||||
|
200;
|
||||||
|
192;
|
||||||
|
184;
|
||||||
|
176;
|
||||||
|
168;
|
||||||
|
160;
|
||||||
|
152;
|
||||||
|
144;
|
||||||
|
136;
|
||||||
|
128;
|
||||||
|
120;
|
||||||
|
112;
|
||||||
|
104;
|
||||||
|
96;
|
||||||
|
88;
|
||||||
|
80;
|
||||||
|
72;
|
||||||
|
64;
|
||||||
|
56;
|
||||||
|
48;
|
||||||
|
40;
|
||||||
|
32;
|
||||||
|
24;
|
||||||
|
16;
|
||||||
|
8;
|
||||||
|
0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
TEXTURES AND FLAT SOURCES
|
||||||
|
This tells Doom Builder where to find the information for textures
|
||||||
|
and flats in the IWAD file, Addition WAD file and Map WAD file.
|
||||||
|
|
||||||
|
Start and end lumps must be given in a structure (of which the
|
||||||
|
key name doesnt matter) and any textures or flats in between them
|
||||||
|
are loaded in either the textures category or flats category.
|
||||||
|
|
||||||
|
For textures: PNAMES, TEXTURE1 and TEXTURE2 are loaded by default.
|
||||||
|
*/
|
||||||
|
textures
|
||||||
|
{
|
||||||
|
zdoom1
|
||||||
|
{
|
||||||
|
start = "TX_START";
|
||||||
|
end = "TX_END";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
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 = linedef action (integer) *
|
||||||
|
5 = sector effect (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)
|
||||||
|
22 = byte angle (integer)
|
||||||
|
*/
|
||||||
|
universalfields
|
||||||
|
{
|
||||||
|
sector
|
||||||
|
{
|
||||||
|
lightalpha
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 25;
|
||||||
|
}
|
||||||
|
|
||||||
|
fadealpha
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 25;
|
||||||
|
}
|
||||||
|
|
||||||
|
fadestart
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
fadeend
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 33;
|
||||||
|
}
|
||||||
|
|
||||||
|
foglighting
|
||||||
|
{
|
||||||
|
type = 3;
|
||||||
|
default = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
linedef
|
||||||
|
{
|
||||||
|
arg5
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 0;
|
||||||
|
}
|
||||||
|
stringarg0
|
||||||
|
{
|
||||||
|
type = 2;
|
||||||
|
default = "";
|
||||||
|
}
|
||||||
|
stringarg1
|
||||||
|
{
|
||||||
|
type = 2;
|
||||||
|
default = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sidedef
|
||||||
|
{
|
||||||
|
repeatcnt
|
||||||
|
{
|
||||||
|
type = 0;
|
||||||
|
default = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
thing
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
MAP LUMP NAMES
|
||||||
|
Map lumps are loaded with the map as long as they are right after each other. When the editor
|
||||||
|
meets a lump which is not defined in this list it will ignore the map if not satisfied.
|
||||||
|
The order of items defines the order in which lumps will be written to WAD file on save.
|
||||||
|
To indicate the map header lump, use ~MAP
|
||||||
|
|
||||||
|
Legenda:
|
||||||
|
required = Lump is required to exist.
|
||||||
|
blindcopy = Lump will be copied along with the map blindly. (useful for lumps Doom Builder doesn't use)
|
||||||
|
nodebuild = The nodebuilder generates this lump.
|
||||||
|
allowempty = The nodebuilder is allowed to leave this lump empty.
|
||||||
|
scriptbuild = This lump is a text-based script, which should be compiled using current script compiler;
|
||||||
|
script = This lump is a text-based script. Specify the filename of the script configuration to use.
|
||||||
|
*/
|
||||||
|
|
||||||
|
doommaplumpnames
|
||||||
|
{
|
||||||
|
~MAP
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
blindcopy = true;
|
||||||
|
nodebuild = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
THINGS
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
LINEDEFS
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
SIDEDEFS
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
VERTEXES
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
SEGS
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
SSECTORS
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
NODES
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECTORS
|
||||||
|
{
|
||||||
|
required = true;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
REJECT
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
BLOCKMAP
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
udmfmaplumpnames
|
||||||
|
{
|
||||||
|
ZNODES
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
REJECT
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
BLOCKMAP
|
||||||
|
{
|
||||||
|
required = false;
|
||||||
|
nodebuild = true;
|
||||||
|
allowempty = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ENUMERATIONS
|
||||||
|
// These are enumerated lists for linedef types and UDMF fields.
|
||||||
|
// Reserved names are: angledeg, anglerad, color, texture, flat
|
||||||
|
enums
|
||||||
|
{
|
||||||
|
falsetrue
|
||||||
|
{
|
||||||
|
0 = "False";
|
||||||
|
1 = "True";
|
||||||
|
}
|
||||||
|
|
||||||
|
yesno
|
||||||
|
{
|
||||||
|
0 = "Yes";
|
||||||
|
1 = "No";
|
||||||
|
}
|
||||||
|
|
||||||
|
noyes
|
||||||
|
{
|
||||||
|
0 = "No";
|
||||||
|
1 = "Yes";
|
||||||
|
}
|
||||||
|
|
||||||
|
onoff
|
||||||
|
{
|
||||||
|
0 = "On";
|
||||||
|
1 = "Off";
|
||||||
|
}
|
||||||
|
|
||||||
|
offon
|
||||||
|
{
|
||||||
|
0 = "Off";
|
||||||
|
1 = "On";
|
||||||
|
}
|
||||||
|
|
||||||
|
updown
|
||||||
|
{
|
||||||
|
0 = "Up";
|
||||||
|
1 = "Down";
|
||||||
|
}
|
||||||
|
|
||||||
|
downup
|
||||||
|
{
|
||||||
|
0 = "Down";
|
||||||
|
1 = "Up";
|
||||||
|
}
|
||||||
|
|
||||||
|
frontback
|
||||||
|
{
|
||||||
|
0 = "None";
|
||||||
|
1 = "Front";
|
||||||
|
2 = "Back";
|
||||||
|
}
|
||||||
|
|
||||||
|
tangibility
|
||||||
|
{
|
||||||
|
1 = "Intangible from top";
|
||||||
|
2 = "Intangible from bottom";
|
||||||
|
4 = "Don't block players";
|
||||||
|
8 = "Don't block non-players";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//Default things filters
|
||||||
|
thingsfilters
|
||||||
|
{
|
||||||
|
|
||||||
|
filter0
|
||||||
|
{
|
||||||
|
name = "Player starts";
|
||||||
|
category = "starts";
|
||||||
|
type = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
filter1
|
||||||
|
{
|
||||||
|
name = "Enemies";
|
||||||
|
category = "enemies";
|
||||||
|
type = -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
filter2
|
||||||
|
{
|
||||||
|
name = "NiGHTS Track";
|
||||||
|
category = "nightstrk";
|
||||||
|
type = -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
filter3
|
||||||
|
{
|
||||||
|
name = "Normal Gravity";
|
||||||
|
category = "";
|
||||||
|
type = -1;
|
||||||
|
|
||||||
|
fields
|
||||||
|
{
|
||||||
|
2 = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
filter4
|
||||||
|
{
|
||||||
|
name = "Reverse Gravity";
|
||||||
|
category = "";
|
||||||
|
type = -1;
|
||||||
|
|
||||||
|
fields
|
||||||
|
{
|
||||||
|
2 = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Special linedefs
|
||||||
|
speciallinedefs
|
||||||
|
{
|
||||||
|
soundlinedefflag = 64; // See linedefflags
|
||||||
|
singlesidedflag = 1; // See linedefflags
|
||||||
|
doublesidedflag = 4; // See linedefflags
|
||||||
|
impassableflag = 1;
|
||||||
|
upperunpeggedflag = 8;
|
||||||
|
lowerunpeggedflag = 16;
|
||||||
|
repeatmidtextureflag = 1024;
|
||||||
|
pegmidtextureflag = 256;
|
||||||
|
}
|
||||||
|
|
||||||
|
speciallinedefs_udmf
|
||||||
|
{
|
||||||
|
soundlinedefflag = "noclimb";
|
||||||
|
singlesidedflag = "blocking";
|
||||||
|
doublesidedflag = "twosided";
|
||||||
|
impassableflag = "blocking";
|
||||||
|
upperunpeggedflag = "dontpegtop";
|
||||||
|
lowerunpeggedflag = "dontpegbottom";
|
||||||
|
repeatmidtextureflag = "wrapmidtex";
|
||||||
|
pegmidtextureflag = "midpeg";
|
||||||
|
}
|
||||||
|
|
||||||
|
scriptlumpnames
|
||||||
|
{
|
||||||
|
MAINCFG
|
||||||
|
{
|
||||||
|
script = "SOC.cfg";
|
||||||
|
}
|
||||||
|
|
||||||
|
OBJCTCFG
|
||||||
|
{
|
||||||
|
script = "SOC.cfg";
|
||||||
|
}
|
||||||
|
|
||||||
|
SOC_
|
||||||
|
{
|
||||||
|
script = "SOC.cfg";
|
||||||
|
isprefix = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
LUA_
|
||||||
|
{
|
||||||
|
script = "Lua.cfg";
|
||||||
|
isprefix = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Texture sources
|
||||||
|
textures
|
||||||
|
{
|
||||||
|
zdoom1
|
||||||
|
{
|
||||||
|
start = "TX_START";
|
||||||
|
end = "TX_END";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Patch sources
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
standard1
|
||||||
|
{
|
||||||
|
start = "P_START";
|
||||||
|
end = "P_END";
|
||||||
|
}
|
||||||
|
|
||||||
|
standard2
|
||||||
|
{
|
||||||
|
start = "PP_START";
|
||||||
|
end = "PP_END";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sprite sources
|
||||||
|
sprites
|
||||||
|
{
|
||||||
|
standard1
|
||||||
|
{
|
||||||
|
start = "S_START";
|
||||||
|
end = "S_END";
|
||||||
|
}
|
||||||
|
|
||||||
|
standard2
|
||||||
|
{
|
||||||
|
start = "SS_START";
|
||||||
|
end = "SS_END";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Flat sources
|
||||||
|
flats
|
||||||
|
{
|
||||||
|
standard1
|
||||||
|
{
|
||||||
|
start = "F_START";
|
||||||
|
end = "F_END";
|
||||||
|
}
|
||||||
|
|
||||||
|
standard2
|
||||||
|
{
|
||||||
|
start = "FF_START";
|
||||||
|
end = "FF_END";
|
||||||
|
}
|
||||||
|
|
||||||
|
standard3
|
||||||
|
{
|
||||||
|
start = "FF_START";
|
||||||
|
end = "F_END";
|
||||||
|
}
|
||||||
|
|
||||||
|
standard4
|
||||||
|
{
|
||||||
|
start = "F_START";
|
||||||
|
end = "FF_END";
|
||||||
|
}
|
||||||
|
}
|
||||||
109
extras/conf/Includes/SRB222_sectors.cfg
Normal file
109
extras/conf/Includes/SRB222_sectors.cfg
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
sectortypes
|
||||||
|
{
|
||||||
|
0 = "Normal";
|
||||||
|
1 = "Damage";
|
||||||
|
2 = "Damage (Water)";
|
||||||
|
3 = "Damage (Fire)";
|
||||||
|
4 = "Damage (Electrical)";
|
||||||
|
5 = "Spikes";
|
||||||
|
6 = "Death Pit (Camera Tilt)";
|
||||||
|
7 = "Death Pit (No Camera Tilt)";
|
||||||
|
8 = "Instant Kill";
|
||||||
|
9 = "Ring Drainer (Floor Touch)";
|
||||||
|
10 = "Ring Drainer (Anywhere in Sector)";
|
||||||
|
11 = "Special Stage Damage";
|
||||||
|
12 = "Space Countdown";
|
||||||
|
13 = "Ramp Sector (double step-up/down)";
|
||||||
|
14 = "Non-Ramp Sector (no step-down)";
|
||||||
|
15 = "Bouncy FOF";
|
||||||
|
16 = "Trigger Line Ex. (Pushable Objects)";
|
||||||
|
32 = "Trigger Line Ex. (Anywhere, All Players)";
|
||||||
|
48 = "Trigger Line Ex. (Floor Touch, All Players)";
|
||||||
|
64 = "Trigger Line Ex. (Anywhere in Sector)";
|
||||||
|
80 = "Trigger Line Ex. (Floor Touch)";
|
||||||
|
96 = "Trigger Line Ex. (Emerald Check)";
|
||||||
|
112 = "Trigger Line Ex. (NiGHTS Mare)";
|
||||||
|
128 = "Check for Linedef Executor on FOFs";
|
||||||
|
144 = "Egg Capsule";
|
||||||
|
160 = "Special Stage Time/Spheres Parameters";
|
||||||
|
176 = "Custom Global Gravity";
|
||||||
|
512 = "Wind/Current";
|
||||||
|
1024 = "Conveyor Belt";
|
||||||
|
1280 = "Speed Pad";
|
||||||
|
4096 = "Star Post Activator";
|
||||||
|
8192 = "Exit/Special Stage Pit/Return Flag";
|
||||||
|
12288 = "CTF Red Team Base";
|
||||||
|
16384 = "CTF Blue Team Base";
|
||||||
|
20480 = "Fan Sector";
|
||||||
|
24576 = "Super Sonic Transform";
|
||||||
|
28672 = "Force Spin";
|
||||||
|
32768 = "Zoom Tube Start";
|
||||||
|
36864 = "Zoom Tube End";
|
||||||
|
40960 = "Circuit Finish Line";
|
||||||
|
45056 = "Rope Hang";
|
||||||
|
49152 = "Intangible to the Camera";
|
||||||
|
}
|
||||||
|
|
||||||
|
gen_sectortypes
|
||||||
|
{
|
||||||
|
first
|
||||||
|
{
|
||||||
|
0 = "Normal";
|
||||||
|
1 = "Damage";
|
||||||
|
2 = "Damage (Water)";
|
||||||
|
3 = "Damage (Fire)";
|
||||||
|
4 = "Damage (Electrical)";
|
||||||
|
5 = "Spikes";
|
||||||
|
6 = "Death Pit (Camera Tilt)";
|
||||||
|
7 = "Death Pit (No Camera Tilt)";
|
||||||
|
8 = "Instant Kill";
|
||||||
|
9 = "Ring Drainer (Floor Touch)";
|
||||||
|
10 = "Ring Drainer (Anywhere in Sector)";
|
||||||
|
11 = "Special Stage Damage";
|
||||||
|
12 = "Space Countdown";
|
||||||
|
13 = "Ramp Sector (double step-up/down)";
|
||||||
|
14 = "Non-Ramp Sector (no step-down)";
|
||||||
|
15 = "Bouncy FOF";
|
||||||
|
}
|
||||||
|
|
||||||
|
second
|
||||||
|
{
|
||||||
|
0 = "Normal";
|
||||||
|
16 = "Trigger Line Ex. (Pushable Objects)";
|
||||||
|
32 = "Trigger Line Ex. (Anywhere, All Players)";
|
||||||
|
48 = "Trigger Line Ex. (Floor Touch, All Players)";
|
||||||
|
64 = "Trigger Line Ex. (Anywhere in Sector)";
|
||||||
|
80 = "Trigger Line Ex. (Floor Touch)";
|
||||||
|
96 = "Trigger Line Ex. (Emerald Check)";
|
||||||
|
112 = "Trigger Line Ex. (NiGHTS Mare)";
|
||||||
|
128 = "Check for Linedef Executor on FOFs";
|
||||||
|
144 = "Egg Capsule";
|
||||||
|
160 = "Special Stage Time/Spheres Parameters";
|
||||||
|
176 = "Custom Global Gravity";
|
||||||
|
}
|
||||||
|
|
||||||
|
third
|
||||||
|
{
|
||||||
|
0 = "Normal";
|
||||||
|
512 = "Wind/Current";
|
||||||
|
1024 = "Conveyor Belt";
|
||||||
|
1280 = "Speed Pad";
|
||||||
|
}
|
||||||
|
|
||||||
|
fourth
|
||||||
|
{
|
||||||
|
0 = "Normal";
|
||||||
|
4096 = "Star Post Activator";
|
||||||
|
8192 = "Exit/Special Stage Pit/Return Flag";
|
||||||
|
12288 = "CTF Red Team Base";
|
||||||
|
16384 = "CTF Blue Team Base";
|
||||||
|
20480 = "Fan Sector";
|
||||||
|
24576 = "Super Sonic Transform";
|
||||||
|
28672 = "Force Spin";
|
||||||
|
32768 = "Zoom Tube Start";
|
||||||
|
36864 = "Zoom Tube End";
|
||||||
|
40960 = "Circuit Finish Line";
|
||||||
|
45056 = "Rope Hang";
|
||||||
|
49152 = "Intangible to the Camera";
|
||||||
|
}
|
||||||
|
}
|
||||||
3140
extras/conf/Includes/SRB222_things.cfg
Normal file
3140
extras/conf/Includes/SRB222_things.cfg
Normal file
File diff suppressed because it is too large
Load diff
38
extras/conf/SRB2_22Doom.cfg
Normal file
38
extras/conf/SRB2_22Doom.cfg
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
/************************************************************************\
|
||||||
|
Ultimate Doom Builder Game Configuration for Sonic Robo Blast 2 Version 2.2
|
||||||
|
\************************************************************************/
|
||||||
|
|
||||||
|
// This is required to prevent accidental use of a different configuration
|
||||||
|
type = "Doom Builder 2 Game Configuration";
|
||||||
|
|
||||||
|
// This is the title to show for this game
|
||||||
|
game = "Sonic Robo Blast 2 - 2.2 (Doom format)";
|
||||||
|
|
||||||
|
// This is the simplified game engine/sourceport name
|
||||||
|
engine = "zdoom";
|
||||||
|
|
||||||
|
// Settings common to all games and all map formats
|
||||||
|
include("Includes\\SRB222_common.cfg", "common");
|
||||||
|
|
||||||
|
// Settings common to Doom map format
|
||||||
|
include("Includes\\SRB222_common.cfg", "mapformat_doom");
|
||||||
|
|
||||||
|
include("Includes\\Game_SRB222.cfg");
|
||||||
|
|
||||||
|
// Script lumps detection
|
||||||
|
scriptlumpnames
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_misc.cfg", "scriptlumpnames");
|
||||||
|
}
|
||||||
|
|
||||||
|
// THING TYPES
|
||||||
|
thingtypes
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_things.cfg");
|
||||||
|
}
|
||||||
|
|
||||||
|
//Default things filters
|
||||||
|
thingsfilters
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_misc.cfg", "thingsfilters");
|
||||||
|
}
|
||||||
47
extras/conf/SRB2_22UDMF.cfg
Normal file
47
extras/conf/SRB2_22UDMF.cfg
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
/************************************************************************\
|
||||||
|
Ultimate Doom Builder Game Configuration for Sonic Robo Blast 2 Version 2.2
|
||||||
|
\************************************************************************/
|
||||||
|
|
||||||
|
// This is required to prevent accidental use of a different configuration
|
||||||
|
type = "Doom Builder 2 Game Configuration";
|
||||||
|
|
||||||
|
// This is the title to show for this game
|
||||||
|
game = "Sonic Robo Blast 2 - 2.2 (UDMF)";
|
||||||
|
|
||||||
|
// This is the simplified game engine/sourceport name
|
||||||
|
engine = "zdoom";
|
||||||
|
|
||||||
|
// Settings common to all games and all map formats
|
||||||
|
include("Includes\\SRB222_common.cfg", "common");
|
||||||
|
|
||||||
|
// Settings common to text map format
|
||||||
|
include("Includes\\SRB222_common.cfg", "mapformat_udmf");
|
||||||
|
|
||||||
|
include("Includes\\Game_SRB222.cfg");
|
||||||
|
|
||||||
|
// Script lumps detection
|
||||||
|
scriptlumpnames
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_misc.cfg", "scriptlumpnames");
|
||||||
|
}
|
||||||
|
|
||||||
|
// THING TYPES
|
||||||
|
thingtypes
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_things.cfg");
|
||||||
|
}
|
||||||
|
|
||||||
|
//Default things filters
|
||||||
|
thingsfilters
|
||||||
|
{
|
||||||
|
include("Includes\\SRB222_misc.cfg", "thingsfilters");
|
||||||
|
}
|
||||||
|
|
||||||
|
// ENUMERATIONS
|
||||||
|
// Each engine has its own additional thing types
|
||||||
|
// These are enumerated lists for linedef types and UDMF fields.
|
||||||
|
enums
|
||||||
|
{
|
||||||
|
// Basic game enums
|
||||||
|
include("Includes\\SRB222_misc.cfg", "enums");
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue