- Every enclosed polygon has a ceiling height and a floor height
That's it.
- The table in the middle of the room? It's just a polygon with a higher floor. The room around it has a comparatively lower floor.
- A door is just a polygon with a ceiling height that matches the floor height. When you use the door, the ceiling raises. Combined with the textures being pinned, this makes the door seem like it's going up.
Super simple. Also: play my wad, it's awesome. I did most of the level design on my 386, my buddy stitched them together on his 486:
Screenshots: http://mikemaccana.com/images/work/screenshots/doom-the-path... http://mikemaccana.com/images/work/screenshots/doom-the-path... http://mikemaccana.com/images/work/screenshots/doom-the-path... http://mikemaccana.com/images/work/screenshots/doom-the-path...
(yes, that's a working toilet)
Download: https://www.doomworld.com/idgames/levels/doom2/s-u/thepath