Skip to content

Commit

Permalink
Add udb config
Browse files Browse the repository at this point in the history
  • Loading branch information
kraflab committed Oct 21, 2023
1 parent 780a8a0 commit 24c8710
Show file tree
Hide file tree
Showing 4 changed files with 4,164 additions and 0 deletions.
263 changes: 263 additions & 0 deletions udb/DSDADoom_DoomUDMF.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
/*************************************************************\
Doom Builder 2 Game Configuration for ZDoom-compatible port
\*************************************************************/

// 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 = "DSDADoom: Doom 2 (UDMF)";

// This is the simplified game engine/sourceport name
engine = "dsda";

// Should this configuration be initially available?
enabledbydefault = true;

// Some common settings
include("Includes\\Common.cfg");

// Default testing parameters
include("Includes\\Test_params.cfg", "vanilla_mapxx");

// Action special help (mxd)
actionspecialhelp = "http://www.zdoom.org/wiki/index.php?title=%K";

// Thing class help (mxd)
thingclasshelp = "http://www.zdoom.org/wiki/Classes:%K";

// Default nodebuilder configurations
defaultsavecompiler = "zdbsp_udmf_normal";
defaulttestcompiler = "zdbsp_udmf_fast";

// Generalized actions
generalizedsectors = true;
generalizedlinedefs = false;

//mxd. Maximum safe map size check (0 means skip check)
safeboundary = 0;

// Texture loading options
mixtexturesflats = false;
defaulttexturescale = 1.0f;
defaultflatscale = 1.0f;
scaledtextureoffsets = true;

//mxd. Sidedefs compression
sidedefcompressionignoresaction = true;

// Texture sources
textures
{
include("Includes\\Doom_misc.cfg", "textures");
}

// Patch sources
patches
{
include("Includes\\Doom_misc.cfg", "patches");
}

// Sprite sources
sprites
{
include("Includes\\Doom_misc.cfg", "sprites");
}

// Flat sources
flats
{
include("Includes\\Doom_misc.cfg", "flats");
}

// Colormap sources
colormaps
{
include("Includes\\Boom_misc.cfg", "colormaps");
}

// Generalized sector types
gen_sectortypes
{
include("Includes\\ZDoom_generalized.cfg", "gen_sectortypes");
}

damagetypes = "";
internalsoundnames = "";

compatibility
{
fixnegativepatchoffsets = true;
fixmaskedpatchoffsets = true;
}

// The format interface handles the map data format
formatinterface = "UniversalMapSetIO";

//mxd. The default script compiler to use
defaultscriptcompiler = "";

// Enables support for individual offsets of upper/middle/lower sidedef textures
localsidedeftextureoffsets = true;

// Enables setting brightness for floor, ceiling, and walls independently from each other
distinctfloorandceilingbrightness = true;
distinctwallbrightness = true;

// Enabled setting brightness for upper, middle, and lower sidedef independently from each other
distinctsidedefpartbrightness = true;

// Enables multiple tags on sectors
sectormultitag = true;

// When this is set to true, sectors with the same tag will light up when a line is highlighted
linetagindicatesectors = false;

// Special linedefs
singlesidedflag = "blocking";
doublesidedflag = "twosided";
impassableflag = "blocking";
upperunpeggedflag = "dontpegtop";
lowerunpeggedflag = "dontpegbottom";
defaultlinedefactivation = "playercross"; //mxd. Used when translating a map to UDMF

// Door making
makedooraction = 202; // See linedeftypes
makedoorflags { playeruse; repeatspecial; }
makedoorarg0 = 0;
makedoorarg1 = 16;
makedoorarg2 = 0;
makedoorarg3 = 34;
makedoorarg4 = 0;

// SECTOR FLAGS
sectorflags
{
silent = "Silent";
hidden = "Not shown on textured automap";
damagehazard = "Strife damage model";
noattack = "Monsters in this sector do not attack";
}

// SECTOR TYPES
sectortypes
{
0 = "None";
1 = "Light Phased";
2 = "Light Sequence Start";
3 = "Light Sequence Special 1";
4 = "Light Sequence Special 2";
26 = "Stairs Special 1";
27 = "Stairs Special 2";
40 = "Wind East weak";
41 = "Wind East medium";
42 = "Wind East strong";
43 = "Wind North weak";
44 = "Wind North medium";
45 = "Wind North strong";
46 = "Wind South weak";
47 = "Wind South medium";
48 = "Wind South strong";
49 = "Wind West weak";
50 = "Wind West medium";
51 = "Wind West strong";
65 = "Light Flicker";
66 = "Light Strobe Fast";
67 = "Light Strobe Slow";
68 = "Light Strobe Hurt -20% health";
69 = "Damage Hellslime -10% health";
71 = "Damage Nukage -5% health";
72 = "Light Glow";
74 = "Sector Door Close (30 sec)";
75 = "Damage End Level -20% health";
76 = "Light StrobeSlowSync";
77 = "Light StrobeFastSync";
78 = "Sector Door Raise (5 min)";
79 = "Low Friction";
80 = "Damage Super Hellslime -20% health";
81 = "Light Fire Flicker";
82 = "Damage -5% health (no protection)";
83 = "Damage -8% health (no protection)";
84 = "Scroll east + -2 or -5% health (no protection)";
85 = "Damage Sludge -4% health";
104 = "sLight_Strobe_Hurt";
105 = "Delayed damage weak (hazardcount +2/16 per second)";
115 = "Instant death";
116 = "Delayed damage strong (hazardcount +4/16 per second)";
118 = "Carry player by tag";
195 = "Hidden Sector (automap)";
196 = "Healing Sector";
201 = "Scroll North (slow)";
202 = "Scroll North (medium)";
203 = "Scroll North (fast)";
204 = "Scroll East (slow)";
205 = "Scroll East (medium)";
206 = "Scroll East (fast)";
207 = "Scroll South (slow)";
208 = "Scroll South (medium)";
209 = "Scroll South (fast)";
210 = "Scroll West (slow)";
211 = "Scroll West (medium)";
212 = "Scroll West (fast)";
213 = "Scroll NorthWest (slow)";
214 = "Scroll NorthWest (medium)";
215 = "Scroll NorthWest (fast)";
216 = "Scroll NorthEast (slow)";
217 = "Scroll NorthEast (medium)";
218 = "Scroll NorthEast (fast)";
219 = "Scroll SouthEast (slow)";
220 = "Scroll SouthEast (medium)";
221 = "Scroll SouthEast (fast)";
222 = "Scroll SouthWest (slow)";
223 = "Scroll SouthWest (medium)";
224 = "Scroll SouthWest (fast)";
225 = "Carry East Slow";
226 = "Carry East Med.Slow";
227 = "Carry East Medium";
228 = "Carry East Med.Fast";
229 = "Carry East Fast";
230 = "Carry North Slow";
231 = "Carry North Med.Slow";
232 = "Carry North Medium";
233 = "Carry North Med.Fast";
234 = "Carry North Fast";
235 = "Carry South Slow";
236 = "Carry South Med.Slow";
237 = "Carry South Medium";
238 = "Carry South Med.Fast";
239 = "Carry South Fast";
240 = "Carry West Slow";
241 = "Carry West Med.Slow";
242 = "Carry West Medium";
243 = "Carry West Med.Fast";
244 = "Carry West Fast";
}

include("Includes\\DSDADoom_misc.cfg");

// LINEDEF TYPES
linedeftypes
{
include("Includes\\DSDADoom_linedefs.cfg");
}

// Settings common to Doom games
include("Includes\\Game_Doom.cfg");

// THING TYPES
// Each engine has its own additional thing types
// Order should always be 1: Game; 2: ZDoom/game; 3: ZDoom/zdoom
thingtypes
{
// Basic game actors
include("Includes\\Doom_things.cfg");
include("Includes\\Doom2_things.cfg");
include("Includes\\Boom_things.cfg");
include("Includes\\DSDADoom_things.cfg");
}

// Dehacked data
dehacked
{
include("Includes\\Dehacked_Doom.cfg");
}
Loading

0 comments on commit 24c8710

Please sign in to comment.