I can understand the deadlines
My company has a Startup Weekend this coming weekend (employees voluntarily come in and try to complete a project by Sunday evening). I like to do something completely different from what I do for work (mainly regulated medical applications), hence the level generator. I was trying to get a good grasp of the mechanics before the weekend so I could focus on more fun things then.
The UWMF I'm generating isn't very big so I've attached it inline. I think I'm packaging it correctly when I try to run it; I used Slade to create a WAD with the following entries:
- MAP01 (empty)
- TEXTMAP (contains the UWMF)
- ENDMAP (empty)
The map is supposed to be a 2x2 room surrounded with walls with a player start.
Code: Select all
namespace = "Wolf3D";
tilesize = 64;
name = "Test Output";
width = 4;
height = 4;
tile
{
texturenorth = "-";
texturesouth = "-";
texturewest = "-";
textureeast = "-";
offsetvertical = false;
offsethorizontal = false;
blockingnorth = false;
blockingsouth = false;
blockingwest = false;
blockingeast = false;
}
tile
{
texturenorth = "GSTONEA1";
texturesouth = "GSTONEA1";
texturewest = "GSTONEA1";
textureeast = "GSTONEA1";
offsetvertical = false;
offsethorizontal = false;
blockingnorth = true;
blockingsouth = true;
blockingwest = true;
blockingeast = true;
}
sector
{
texturefloor = "#FFFFFF";
textureceiling = "#000000";
}
zone
{
}
plane
{
depth = 64;
}
planemap
{
{1,0,-1},
{1,0,-1},
{1,0,-1},
{1,0,-1},
{1,0,-1},
{0,0,0},
{0,0,0},
{1,0,-1},
{1,0,-1},
{0,0,0},
{0,0,0},
{1,0,-1},
{1,0,-1},
{1,0,-1},
{1,0,-1},
{1,0,-1}
}
thing
{
x = 96;
y = 96;
z = 0;
angle = 0;
type = 1;
ambush = false;
patrol = false;
skill1 = true;
skill2 = true;
skill3 = true;
skill4 = true;
}
I made Doom maps aeons ago but I'm totally unfamiliar with Wolf 3D maps so some of the concepts are a bit fuzzy. Am I correct in assuming that in UWMF you manually have to texture a tile with the light/dark versions?
By the way, the lack of a trailing comma on the last entry in planemap is a bit annoying. Is there a reason for it? I mean, it
looks a bit nicer, but it seems a bit needless.