Door's don't open from inside

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.
mad01

Door's don't open from inside

Post by mad01 »

I have 6 doors on a map, but only 3 of them open both ways; the others only open from outside.

https://snipboard.io/it8RyW.jpg

I can open from linedef 1,2; 3,4; 5,6; 8,10,12

But no from 7,9,11 (the 2 rooms from the top and 1 from the right)

Just can't open from the inside.

All the lines have the Action 1 : DR Open Wait Close (also monsters)

https://snipboard.io/R1lqbC.jpg
User avatar
Cherno
Posts: 1290
Joined: Tue Dec 06, 2016 11:25 am

Re: Door's don't open from inside

Post by Cherno »

Check if the linedefs are facing inwards; if so, check if they have the "can activate from the back" flag set.
Moebius
Posts: 53
Joined: Thu Jan 28, 2021 1:45 am

Re: Door's don't open from inside

Post by Moebius »

Are all of your door linedef fronts face outward?
User avatar
Enjay
 
 
Posts: 26430
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Door's don't open from inside

Post by Enjay »

It's a little difficult to tell because the numbers are in the way but it does look, as the others have suggested, that the lines may be facing the wrong way.

To expand: the little tick-mark in the middle of each line sticks out from the front side of the line. If any of these are facing into the door rather than the room, the line needs to be flipped because the line needs to be activated by the player using the front side of the line.

It's easy to do - just highlight the line concerned and press F.
User avatar
Kappes Buur
 
 
Posts: 4035
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada

Re: Door's don't open from inside

Post by Kappes Buur »

From your first screenshot it looks like that you gave each door linedef a tag.
The usual way would be to give the door sector a tag and refer to that tag from
the linedef when you specify the action special and trigger.

However, the easiest way to make a door is by selecting the door sector
and pressing the key combination Shift+D, where you can specify an action
special and/or a tag (the next available tag will be applied) if the door is to
be triggered from elsewhere.



This way all is done properly when the linedefs turn green (default colour).

User avatar
Enjay
 
 
Posts: 26430
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Door's don't open from inside

Post by Enjay »

Kappes Buur wrote: Mon Sep 19, 2022 10:49 am if the door is to be triggered from elsewhere.
This is probably worth emphasising too. If the intention is to just have the doors operated by the player using the doors, and not by any other method (e.g. a remote trigger line) then the doors don't need a tag at all. A door line (and many other functions) will automatically work on the sector behind them if the line tag is 0.

So, in the case of this map, if all the doors are just meant to be simple doors that open when used, none of the door lines or the door sectors need tags.

Return to “Mapping”