Source SDK

Source SDK

Jaytues Jun 9, 2015 @ 2:48pm
Hammer Editor - How to fix a blocked door?
I'm making a TTT map from some friends, and I made all of the doors on this map out of brushes (func_door_rotating). However, in private testing in GMod singleplayer that the doors can be easily blocked by a player just standing in the door's path.

Enabling "Force Closed" only makes it so the door doesn't close when a player bumps into it. I've considered enabling blocking damage, but having the map deal damage from something as common as a door might not be the best for a game like TTT since it might trigger RDM.

Any way to set the doors so that they'll push aside any player who's in their way?
< >
Showing 1-5 of 5 comments
Werewolf™ Jun 9, 2015 @ 3:21pm 
There should be a flag for 'Non-solid to Player', which should help a lot. Its only active while the door is in motion, so when its fully open or shut its a normal door again.

Alternatively you could use an point_push. Give the door 2 outputs of:
  1. OnBlockedOpening > [Named point_push] > Enable
  2. OnFullyOpen > [Named point_push] > DIsable
You might want a duplicate set for the Close optons, but thats up to you.
As for the point_push itself, you don't want it to have a large range just high push value. Center it with the door so that if it gets activated it will keep the doorway clear.
Last edited by Werewolf™; Jun 9, 2015 @ 3:22pm
Jaytues Jun 9, 2015 @ 4:37pm 
Thank you, but these solutions don't seem to be working. The "Non-solid to player" flag is constantly active, even when the door is fully open or closed. When I try to make a point_push entity a sprite saying "Obsolete" appears in its place.
Jaytues Jun 9, 2015 @ 6:38pm 
Thank you, but that doesn't work either. For some odd reason the trigger_push entity disappears when I click on something else.
Rectus Jun 10, 2015 @ 1:30am 
Originally posted by Trekie2:
Thank you, but that doesn't work either. For some odd reason the trigger_push entity disappears when I click on something else.
Make sure you have the selection mode in the top right set to Object or Group.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jun 9, 2015 @ 2:48pm
Posts: 5