Dh-Dlc
From DoomWiki.org
| This article or section is a stub. Please help the Doom Wiki by adding to it. |
David's Doom Level Compiler, also known as DH-dlc, is a tool for building maps from a text source written by David Hill (DavidPH).
dh-dlc can output both UDMF and traditional binary format WADs.
Language[edit]
The dh-dlc language is a low-level imperative description of the structures that make up a level, such as things, sidedefs, sectors, etc. Object definitions can be written in terms of other objects to inherit their properties.
Example[edit]
VERTEX vert0 { x = 0; y = 0; }
VERTEX vert1 { x = 512; y = 0; }
VERTEX vert2 { x = 512; y = 512; }
VERTEX vert3 { x = 0; y = 512; }
SECTOR sector0
{
heightceiling = 128;
heightfloor = 0;
textureceiling = "FLAT23";
texturefloor = "FLAT23";
}
SIDEDEF side0
{
sector = sector0;
texturebottom = "-";
texturetop = "-";
texturemiddle = "STARTAN3";
}
LINEDEF line0
{
sidefront = side0;
v1 = vert0;
v2 = vert1;
}
LINEDEF line1 : line0 { v1 = vert1; v2 = vert2; }
LINEDEF line2 : line0 { v1 = vert2; v2 = vert3; }
LINEDEF line3 : line0 { v1 = vert3; v2 = vert0; }
THING player1
{
coop = true;
dm = true;
single = true;
skill1 = true;
skill2 = true;
skill3 = true;
skill4 = true;
skill5 = true;
type = 1;
x = 0;
y = 0;
}
