A file is a valid Yadex game definition file if its first
line contains exactly the following characters :
"# Yadex game definition file version 2
"
(without the double quotes).
The contents are pretty self explanatory. Some things worth noting :
ldt
file has changed.
ldtgroup
level_format
Value | Meaning |
---|---|
alpha
| Doom alpha format, 7 directory entries per level (label,
FLATNAME , POINTS ,
LINES , SECTORS and
THINGS ).
|
doom
| Normal Doom format, 11 directory entries per level (label,
THINGS , LINEDEFS ,
SIDEDEFS , VERTEXES ,
SEGS , SSECTORS , NODES ,
SECTORS , REJECT and
BLOCKMAP ).
|
hexen
| Hexen format, 12 directory entries per level (same as for
doom then BEHAVIOR ).
|
Reading is supported for all formats but writing is not
supported for hexen
. For alpha
,
writing is done in doom
format.
This directive is mandatory. If there are several
level_format
directives, it's the last one that
counts.
level_name
EnMn
or of the form
MAPnm
. There is only one argument. It
can have the following values :
Value | Meaning |
---|---|
e1m1
| EnMm (Doom, Doom
press release and Heretic).
|
e1m10
| EnMm or
EiMjk (Doom alpha only)
|
map01
| MAPnm (Doom II, Hexen and
Strife).
|
The influence of this directive on the behaviour of Yadex is
in the choice of the default name for new levels and the way
shorthand arguments to the edit
and
create
commands are interpreted.
This directive is mandatory. If there are several
level_name
directives, it's the last one that
counts.
picture_format
Value | Meaning |
---|---|
alpha
| The obsolete format used in Doom alpha 0.2, 0.4 and 0.5. |
pr
| The obsolete format used in the Doom press release pre-beta. |
normal
| The normal format used by all other iwads. |
This directive is optional. If it's missing, the default is
normal
. If it's repeated, it's the last occurrence
that counts.
st
texture_format
Value | Meaning |
---|---|
nameless
| The obsolete format used in Doom alpha 0.4 (no texture names). |
strife11
| The format used by Strife 1.1 and later. Note that
Strife 1.0 uses the regular format (normal ).
|
normal
| The normal format used by all other iwads. |
This directive is optional. If it's missing, the default is
normal
. If it's repeated, it's the last occurrence
that counts.
texture_lumps
Value | Meaning |
---|---|
textures
| There is only one lump and it's called
TEXTURES (Doom alpha 0.4 and 0.5).
|
none
| There is no textures lump (Doom alpha 0.2) |
normal
| There is TEXTURE1 and optionally
TEXTURE2 (all other iwads).
|
This directive is optional. If it's missing, the default is
normal
. If it's repeated, it's the last occurrence
that counts.
thing
flags
" field can be either "s
" for
things that have a spectral look (that is spectres) and
"-
" for the others.
thinggroup
thing
directive must belong to a thing group. The
thinggroup
directive is used to define a thing
group.