LineDef Reference v3.0
by Jim Flynn
LineDef
Types by Function and Number
Doors |
Crushers |
Ceilings |
Lifts |
Stairs |
Floors |
Lighting |
Teleporters |
End
Level | Misc |
Tags
Credits
Special thanks to Matt Fell whose
The Unofficial Doom Specs
provided much new information for this
revision, and [which] has been
invaluable
to WAD writers and DOOMers all along.
Thanks to Dr Sleep (aka John W. Anderson) for
providing early
information on the 1.666 LineDefs and for
advice and encouragement
all along. If you're looking for HERETIC
information you want his
htlndf11.txt file.
Thanks to Neil Bonner for pointing out the 667
sector tag I was
missing and thereby motivating this current
revision.
Legend
Abbreviations
n. =
neighbor
min =
minimum
max =
maximum
inc =
inclusive
exc =
exclusive
A
* appears
on the left of any description line that only
works for DOOM 1.666 engine and above.
LineDef
Description Headers
Example:
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
59 |
5 |
7 |
W1& |
Open/wait
4/close |
T/SEC/DMG |
slow |
(mover) |
# is the
LineDef Function Type number
0-143
u1 and u2 are the number of occurrences of a trigger in
DOOM1 and DOOM2.
Trigger represents the conditions that cause the
function to be activated.
The trigger symbol may start with
n if the
function does not
require a sector tag to operate.
The basic trigger symbol letters are as
follows:
S = switch/door, 1st
SideDef must be used with
spacebar to activate.
W = walkover, only teleport
LineDefs require
approach from 1st SideDef.
M = monster walkover, activated only by monster
walking over line.
G = impact trigger, activated on hit: fists, chain, bullet, shell.
- = no trigger required
(like animated wall).
The next
letter in the trigger symbol is the
repeatability of the function: 1 for once only (per
LineDef) and
R for repeatable.
This may be - if the repeatability does not
apply, as for End Level.
The final letter in the trigger symbol can be
m or
&. The
m
indicates that a monster can activate the
function. The & indicates
that once activated, all other functions on the
sector are locked out even after the
& function is completed.
Brief description attempts to state in English what
the function does.
Qualifier
shows which key is required, crusher attribute,
texture changes.
Speed is
the rough relative up/down velocity involved in the
operation.
Sound is
the name of the sound associated with the action.
Texture Change Descriptions
Texture changes involve copying attributes from
another sector to
the one that is changing. If the sector being
copied is based on
the line triggering the change the description
is prefaced with T: to indicate a trigger model change. This
means that the sector
on the first SideDef of the triggering LineDef
is the one copied in
the change. If the sector being copied is based
on the sector being
changed then it is the sector that is on the
other side of the
lowest numbered two-sided LineDef in the
changing sector. Such a
change is prefaced with
N, for a numeric
model change.
The remainder of the texture change description
lists the attributes copied.
0 means that the changing sector type
is set to 0 and only the floor texture is
copied. SEC means that
the secret attribute of the model sector is
copied. DMG means that
the damage attribute of
the model sector is copied. Floor textures are
ALWAYS copied. Ceiling
textures, lighting attributes and heights are
NEVER copied.
Floor Motion Directions
Floor LineDefs described as
Down to functions
will move the floor
at the speed indicated if the target height is
lower. The height
change is instantaneous if motion is in other
direction. Floor LineDefs described as
Up to act in a similar
fashion but in the
opposite direction.
Door Functions
A door function described using
commas only
works when the door
is stable in the opposite state to the
function. A door function
described using slashes will work anytime to
toggle the
opening/closing state of the door.
LineDef
Types by Function
|
CEILING MOVERS |
DOORS,
CRUSHERS, CEILINGS |
|
DOORS |
MANUAL DOORS
(no Sector Tag required) |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
1 |
281 |
220 |
nSRm |
Open/wait
4/close |
|
med |
(door) |
|
26 |
22 |
14 |
nSR |
Open/wait
4/close |
BLUE KEY |
med |
(door) |
|
27 |
26 |
12 |
nSR |
Open/wait
4/close |
YELLOW KEY |
med |
(door) |
|
28 |
10 |
9 |
nSR |
Open/wait
4/close |
RED KEY |
med |
(door) |
|
117 |
*0 |
47 |
nSR |
Open/wait
4/close |
|
turbo |
(blaze) |
|
31 |
76 |
45 |
nS1 |
Open |
|
med |
(door) |
|
32 |
15 |
40 |
nS1 |
Open |
BLUE KEY |
med |
(door) |
|
34 |
19 |
27 |
nS1 |
Open |
YELLOW KEY |
med |
(door) |
|
33 |
14 |
24 |
nS1 |
Open |
RED KEY |
med |
(door) |
|
118 |
*0 |
8 |
nS1 |
Fast open |
|
turbo |
(blaze) |
|
|
Back to top |
|
CEILING MOVERS |
DOORS, CRUSHERS, CEILINGS |
|
DOORS |
REMOTE DOORS
(Sector Tag required) |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
29 |
1 |
0 |
S1 |
Open/wait
4/close |
|
med |
(door) |
|
63 |
38 |
15 |
SR |
Open/wait
4/close |
|
med |
(door) |
|
4 |
0 |
1 |
W1 |
Open/wait
4/close |
|
med |
(door) |
|
90 |
21 |
17 |
WR |
Open/wait
4/close |
|
med |
(door) |
|
103 |
41 |
32 |
S1 |
Open |
|
med |
(door) |
|
61 |
9 |
36 |
SR |
Open |
|
med |
(door) |
|
2 |
114 |
64 |
W1 |
Open |
|
med |
(door) |
|
86 |
9 |
3 |
WR |
Open |
|
med |
(door) |
|
46 |
13 |
22 |
GR |
Open |
|
med |
(door) |
|
111 |
*0 |
0 |
S1 |
Fast open/wait
4/close |
|
turbo |
(blaze) |
|
114 |
*0 |
51 |
SR |
Fast open/wait
4/close |
|
turbo |
(blaze) |
|
108 |
*0 |
0 |
W1 |
Fast open/wait
4/close |
|
turbo |
(blaze) |
|
105 |
*0 |
23 |
WR |
Fast open/wait
4/close |
|
turbo |
(blaze) |
|
112 |
*0 |
4 |
S1 |
Fast open |
|
turbo |
(blaze) |
|
115 |
*0 |
11 |
SR |
Fast open |
|
turbo |
(blaze) |
|
109 |
*0 |
99 |
W1 |
Fast open |
|
turbo |
(blaze) |
|
106 |
*0 |
6 |
WR |
Fast open |
|
turbo |
(blaze) |
|
133 |
*0 |
0 |
S1 |
Fast open |
BLUE KEY |
turbo |
(blaze) |
|
99 |
*0 |
2 |
SR |
Fast open |
BLUE KEY |
turbo |
(blaze) |
|
135 |
*0 |
16 |
S1 |
Fast open |
RED KEY |
turbo |
(blaze) |
|
134 |
*0 |
4 |
SR |
Fast open |
RED KEY |
turbo |
(blaze) |
|
137 |
*0 |
6 |
S1 |
Fast open |
YELLOW KEY |
turbo |
(blaze) |
|
136 |
*0 |
4 |
SR |
Fast open |
YELLOW KEY |
turbo |
(blaze) |
|
50 |
*0 |
0 |
S1 |
Close |
|
med |
(door) |
|
42 |
6 |
1 |
SR |
Close |
|
med |
(door) |
|
3 |
2 |
9 |
W1 |
Close |
|
med |
(door) |
|
75 |
6 |
0 |
WR |
Close |
|
med |
(door) |
|
113 |
*0 |
0 |
S1 |
Fast close |
|
turbo |
(blaze) |
|
116 |
*0 |
1 |
SR |
Fast close |
|
turbo |
(blaze) |
|
110 |
*0 |
1 |
W1 |
Fast close |
|
turbo |
(blaze) |
|
107 |
*0 |
0 |
WR |
Fast close |
|
turbo |
(blaze) |
|
16 |
3 |
2 |
W1 |
Close/wait
30/open |
|
med |
(door) |
|
76 |
2 |
2 |
WR |
Close/wait
30/open |
|
med |
(door) |
|
|
Back to top |
|
CEILING MOVERS |
DOORS,
CRUSHERS, CEILINGS |
|
CRUSHERS |
CRUSHERS |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
6 |
0 |
0 |
W1& |
Start fast
(non-fatal) |
|
med |
(crush) |
|
77 |
6 |
3 |
WR& |
Start fast
(non-fatal) |
|
med |
(crush) |
|
49 |
0 |
1 |
S1& |
Start slow
(fatal) |
|
slow |
(crush) |
|
25 |
0 |
0 |
W1& |
Start slow
(fatal) |
|
med |
(crush) |
|
73 |
17 |
6 |
WR& |
Start slow
(fatal) |
|
med |
(crush) |
|
141 |
*0 |
1 |
W1& |
Start slow
silent (fatal) |
|
slow |
(quiet) |
|
57 |
0 |
0 |
W1& |
Stop crusher |
|
|
|
|
74 |
24 |
13 |
WR& |
Stop crusher |
|
|
|
|
|
Back to top |
|
CEILING MOVERS |
DOORS,
CRUSHERS, CEILINGS |
|
CEILINGS |
CEILINGS |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
40 |
4 |
0 |
W1 |
Up to max ceil
exc |
|
slow |
(mover) |
|
41 |
0 |
0 |
S1 |
Down to floor |
|
slow |
(mover) |
|
43 |
0 |
0 |
SR |
Down to floor |
|
slow |
(mover) |
|
44 |
1 |
0 |
W1 |
Down to floor
+8 |
|
slow |
(mover) |
|
72 |
0 |
0 |
WR |
Down to floor
+8 |
|
slow |
(mover) |
|
|
Back to top |
|
FLOOR
MOVERS |
LIFTS,
STAIRS, FLOORS |
|
LIFTS |
LIFTS |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
21 |
1 |
0 |
S1 |
Lower/wait
3/raise |
|
fast |
(lift) |
|
62 |
51 |
143 |
SR |
Lower/wait
3/raise |
|
fast |
(lift) |
|
10 |
1 |
0 |
W1 |
Lower/wait
3/raise |
|
fast |
(lift) |
|
88 |
65 |
51 |
WR |
Lower/wait
3/raise |
|
fast |
(lift) |
|
122 |
0 |
0 |
S1 |
Fast
lower/wait 3/raise |
|
turbo |
(lift) |
|
123 |
0 |
162 |
SR |
Fast
lower/wait 3/raise |
|
turbo |
(lift) |
|
121 |
0 |
0 |
W1 |
Fast
lower/wait 3/raise |
|
turbo |
(lift) |
|
120 |
0 |
58 |
WR |
Fast
lower/wait 3/raise |
|
turbo |
(lift) |
|
|
Back to top |
|
FLOOR
MOVERS |
LIFTS,
STAIRS, FLOORS |
|
STAIRS |
STAIRS |
|
# |
u1 |
u2 |
Trigger |
Brief Description |
Qualifier |
Speed |
Sound |
|
7 |
11 |
6 |
S1 |
Raise 8 |
|
slow |
(mover) |
|
8 |
2 |
1 |
W1 |
Raise 8 |
|
slow |
(mover) |
|
127 |
0 |
6 |
S1 |
Fast raise 16 |
CRUSH |