Swing doors height? help!

Archive of the old editing forum
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.
Locked
User avatar
yuyu3
Posts: 131
Joined: Fri Feb 18, 2011 12:03 pm
Location: In my house

Swing doors height? help!

Post by yuyu3 »

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?
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: Swing doors height? help!

Post by esselfortium »

You lower your ceiling to the height of the door. Polyobjects are 1-sided lines.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Swing doors height? help!

Post by Xaser »

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.
User avatar
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!

Post by NeuralStunner »

Xaser wrote:Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.
IIRC you can make limited-height 2S polyobjects using the height of the containing sector.
User avatar
InsanityBringer
Posts: 3392
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: Swing doors height? help!

Post by InsanityBringer »

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.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: Swing doors height? help!

Post by Amuscaria »

Wasn't this done in the Philex building bathrooms in Action Doom 2?
User avatar
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!

Post by cq75 »

Xaser wrote:[EDIT] Oh shite, we've got 3DMidtex now. Would that work along with two-sided polies? Might be an interesting prospect if so.
It does work, I just tried it. This is great news, I always thought polyobjects had to be void sectors :)

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.


Image
Image
Image
Image
Image

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
Locked

Return to “Editing (Archive)”