WiseOneWayPropDoor: One-way Prop door

From Valve Developer Community
Revision as of 16:43, 20 July 2018 by Pinsplash (talk | contribs) (Created page with "{{DISPLAYTITLE:WiseOneWayPropDoor: One-way Prop door}} {{wisemxport|~~~~}} {{note|This project is an extension of WiseDoor.}} ==Introduction== One of the nice features of...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This tutorial was originally created by wisemx.

Ported from SDKnuts.net to VDC by: Pinsplash (talk) 16:43, 20 July 2018 (UTC)

Note:This project is an extension of WiseDoor.


One of the nice features of prop_door_rotating is that it opens away from the player. This is a problem when you absolutely need the door to one in one direction only. What I have done in this project is create an invisible wall on one side of the door. For this I’ve used func_brush.


I’ve textured it with tools/toolsinvisible. On one side we need a trigger_multiple to disable it temporarily. The player will start on one side of this door and when it is opened the door will not open away from the player now. It will be blocked by the invisible brush.

When the door fully closes it will enable the invisible brush. Here’s how they look in Hammer:

WiseOneWayPropDoor overview.png

Settings for prop_door_rotating:

  • World Model: models/props_c17/door01_left.mdl
  • Skin: 4
  • Disable Shadows: Yes
  • Hardware Type: Lever
  • Rotation Distance: 89
  • Speed: 80
  • Fully Open Sound: Doors.FullOpen4
  • Fully Closed Sound: Doors.FullClose4
  • Moving Sound: Doors.Move3
  • Delay before reset: 30
  • Damage inflicted when blocked: 10
  • Health: 0
  • Locked Sound: DoorHandles.Locked1
  • Unlocked Sound: DoorHandles.Unlocked1
  • Force Closed: No
  • Flags: Use Closes
  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnFullyClosed InvisDoor Enable 0.00 No
Io11.png OnOpen InvisDoor Disable 0.00 No

Settings for the func_brush:

  • Name: InvisDoor
  • Start Disabled: No
  • Solidity: Toggle
  • Solid BSP: No
  • Start Disabled: No
  • Delay before reset: 1
  • Flags: Clients
  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnStartTouch InvisDoor Disable 0.00 No