Opening doors by pushing them backwards

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
SweatyDevil
Posts: 7
Joined: Thu Aug 28, 2025 3:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Opening doors by pushing them backwards

Post by SweatyDevil »

I’m wondering if and how this might be possible? When you press the door to open it, it doesn’t go up, down, or sideways. Instead, it gets pushed back. Could something like this be created with a 3D floor or maybe polyobject in the map?
User avatar
Enjay
 
 
Posts: 27089
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Opening doors by pushing them backwards

Post by Enjay »

You mean like the secret walls in the original Wolfenstein3D behave?

If so, PolyObjects would probably be the best way to go.
User avatar
SweatyDevil
Posts: 7
Joined: Thu Aug 28, 2025 3:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Re: Opening doors by pushing them backwards

Post by SweatyDevil »

Enjay wrote: Sun Sep 07, 2025 7:02 am You mean like the secret walls in the original Wolfenstein3D behave?

If so, PolyObjects would probably be the best way to go.
yes, exactly something like that. How would I go about it to set it up, please?
User avatar
Enjay
 
 
Posts: 27089
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Opening doors by pushing them backwards

Post by Enjay »

There is quite a thorough explanation on the Wiki:
https://zdoom.org/wiki/PolyObjects

You might also find the PolyObjects section of the knowledge base useful:
https://www.zdoom.org/zdkb/zdoomindex.html
User avatar
SweatyDevil
Posts: 7
Joined: Thu Aug 28, 2025 3:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Re: Opening doors by pushing them backwards

Post by SweatyDevil »

Thank you so much, Enjay! :) It took me some time, but by referring to the wiki link you provided and this link (https://zdoom.org/zdkb/zdoom1.html), I was able to make it work after a while. Thanks again.
User avatar
Kappes Buur
 
 
Posts: 4182
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Opening doors by pushing them backwards

Post by Kappes Buur »

Just a quick followup: :D
Normal polyobjects are as tall as the ceiling.
If you want to prevent that then a 2-sided control sector is needed.
See this Thread with an example,

or perhaps something like this example.
Attachments
3D_MOVE_DOORE_poly.7z
(23.09 KiB) Downloaded 2 times
User avatar
SweatyDevil
Posts: 7
Joined: Thu Aug 28, 2025 3:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Re: Opening doors by pushing them backwards

Post by SweatyDevil »

Kappes Buur wrote: Mon Sep 08, 2025 12:58 pm Just a quick followup: :D
Normal polyobjects are as tall as the ceiling.
If you want to prevent that then a 2-sided control sector is needed.
See this Thread with an example,

or perhaps something like this example.
Thank you for the information! It's nice to know this in case I want to create something smaller in the future. I honestly struggled with making the polyobject work, not realizing it was bit wider, not just higher.
Post Reply

Return to “Mapping”