Difference between revisions of "Door"

From DoomWiki.org

[unchecked revision][unchecked revision]
m (wikify)
(added more cross references; wiki; gr)
Line 3: Line 3:
 
A closed door is constructed as a thin rectangular [[sector]] whose ceiling and floor are both at the same height as the neighboring sectors' floors.  When the door is opened, its ceiling moves up at a controlled rate to four units below the lowest adjacent ceiling.
 
A closed door is constructed as a thin rectangular [[sector]] whose ceiling and floor are both at the same height as the neighboring sectors' floors.  When the door is opened, its ceiling moves up at a controlled rate to four units below the lowest adjacent ceiling.
  
By convention, doors are 16 units thick. But any thickness will work.
+
By convention, doors are 16 units thick, but any thickness will work.
  
 
The ''doorjambs'' are the [[wall]]s exposed at the sides as the door opens.  They are usually specified with the ''lower [[unpegged]]'' bit, which causes them to be drawn from the floor up rather than from the ceiling down as usual.  When this bit is ''not'' used, the doorjambs move up and down with the door.
 
The ''doorjambs'' are the [[wall]]s exposed at the sides as the door opens.  They are usually specified with the ''lower [[unpegged]]'' bit, which causes them to be drawn from the floor up rather than from the ceiling down as usual.  When this bit is ''not'' used, the doorjambs move up and down with the door.
Line 11: Line 11:
 
The precise behavior of a door is dictated by the [[linedef type|''type'']] field of the [[linedef]] that activates it.
 
The precise behavior of a door is dictated by the [[linedef type|''type'']] field of the [[linedef]] that activates it.
  
Some of these linedef types require a [[key (Doom)|key]], and the corresponding door is thus locked. By convention, locked doors are bordered with a distinctive frame in the appropriate color.
+
Some of these linedef types require a [[keys|key]], and the corresponding door is thus locked. By convention, locked doors are bordered with a distinctive frame in the appropriate color.
  
A door does no damage to the player if it closes upon his or her head; neither does it damage monsters. If however a monster or player is killed in a doorway, a closing door will transform its corpse into "giblets".
+
A door does no damage to the player if it closes upon his or her head; neither does it damage monsters. If however a monster or player is killed in a doorway, a closing door will transform its corpse into a [[Thing types#Decorations|pool of blood]].
  
 
==See also==
 
==See also==
 
* [[Editing:Making a door]]
 
* [[Editing:Making a door]]
 +
* [[Monsters stuck in doortracks, walls or hanging off lifts]]
 +
* [[Ghost monsters]]
  
 
[[Category:Doom engine]]
 
[[Category:Doom engine]]

Revision as of 19:42, 1 October 2005

Doors in Doom only go up and down. This is because the NODES tree is prebuilt and not modified at runtime, and thus all lines must stay in the same place (when the map is viewed from above).

A closed door is constructed as a thin rectangular sector whose ceiling and floor are both at the same height as the neighboring sectors' floors. When the door is opened, its ceiling moves up at a controlled rate to four units below the lowest adjacent ceiling.

By convention, doors are 16 units thick, but any thickness will work.

The doorjambs are the walls exposed at the sides as the door opens. They are usually specified with the lower unpegged bit, which causes them to be drawn from the floor up rather than from the ceiling down as usual. When this bit is not used, the doorjambs move up and down with the door.

There are, of course, many textures designed specifically for doors and doorjambs.

The precise behavior of a door is dictated by the type field of the linedef that activates it.

Some of these linedef types require a key, and the corresponding door is thus locked. By convention, locked doors are bordered with a distinctive frame in the appropriate color.

A door does no damage to the player if it closes upon his or her head; neither does it damage monsters. If however a monster or player is killed in a doorway, a closing door will transform its corpse into a pool of blood.

See also