Swing doors height? help!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Swing doors height? help!
Hello!, can anyone help me with swing doors? i made one that works fine, but the height of the door reach the top of the map, how can i set height to a poliobj door?
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Swing doors height? help!
You lower your ceiling to the height of the door. Polyobjects are 1-sided lines.
Re: Swing doors height? help!
It's possible to make the polyobject two-sided (+still impassible) and use midtextures for the sides, but keep in mind that it'll still block from floor to ceiling anyway.
[EDIT] Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.
[EDIT] Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Swing doors height? help!
IIRC you can make limited-height 2S polyobjects using the height of the containing sector.Xaser wrote:Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.
- InsanityBringer
- Posts: 3392
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Swing doors height? help!
I vaguely remember it being done in the first level of Zoom... I still have that wad stashed somewhere so I could take a look.
Re: Swing doors height? help!
Wasn't this done in the Philex building bathrooms in Action Doom 2?
- cq75
- Posts: 1212
- Joined: Sun Dec 27, 2009 9:28 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Just beyond the line horizon
Re: Swing doors height? help!
It does work, I just tried it. This is great news, I always thought polyobjects had to be void sectorsXaser wrote:[EDIT] Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.

BUT - the ceiling height of the polyobject control sector must be the same height as the room you put it in, or you'll find a weird invisible wall above the object at the ceiling height of the control sector.
NOTE - the polyobjects have no "top" or "bottom", it's like making a midtexture out of a door
EDIT2 - if you use the upper texture, and lower the ceiling, you can do weird stuff like this (the upper texture moves with the control sector):
If you don't assign an upper texture, it's invisible and serves as a barrier.





I posted this wad in the attachments. Note how you can travel between the middle texture and the upper texture (you'll have to turn on fly and crouch to do it). That's the effect of walkable midtexture.
If you set nothing, you can walk right through the polyobject's midtexture, if you set impassible, it blocks floor to ceiling when the door is closed.
This will come in handy for midtexture (see through) gates that slide open, like fence gates at guard stations.
EDIT 3 - you can even make the midtexture polyobject really complicated, you can put as many midtextures as you want, not just on the edge of the polyobject.
- Attachments
-
midpolytest.wad
- The wad I used in the screenshots
- (14.2 KiB) Downloaded 103 times