Func door: Difference between revisions
Jump to navigation
Jump to search
Note:setting the Starts Open flag will cause some Outputs to not work properly (OnFullyClosed isn't called when the door closes, for example.)
m (categorise - brushmodel entities) |
m (Robot: fixing template case.) |
||
Line 22: | Line 22: | ||
== Flags == | == Flags == | ||
* {{ | * {{Fl Door}} | ||
{{note|setting the ''Starts Open'' flag will cause some Outputs to not work properly (''OnFullyClosed'' isn't called when the door closes, for example.)}} | {{note|setting the ''Starts Open'' flag will cause some Outputs to not work properly (''OnFullyClosed'' isn't called when the door closes, for example.)}} | ||
Revision as of 19:23, 19 January 2009
Template:Wrongtitle Template:Base brush
Entity description
A brush entity that will move like a sliding door. Template:Brushmodel For a door that pivots or rotates, use prop_door_rotating or func_door_rotating instead.
For having a prop based sliding door, make a prop_dynamic from the desired model and make its parent a little nodrawed func_door with a big negative lip.
- See also func_lookdoor, func_door_rotating and prop_door_rotating.
- See also Two-stop elevators.
Keyvalues
- <angle> The direction the door will move, when it opens.
- filtername
- <filterclass> Filter to use to determine entities that block the door. ( Half-Life: Source port only )
Flags
BaseDoor:
Starts Open : [1]- Deprecated.
Door behaves more like the doors inHalf-Life. Some outputs don't work.
- Non-solid to Player : [4]
- Sets the collision group to
COLLISION_GROUP_PASSABLE_DOOR
, so the player cannot collide with it while other things can. This is not compatible with Ignore Debris as that also sets a collision group.
- Passable : [8]
- This door is solid to nothing at all.
- Toggle : [32]
- Inputs are interpreted as to open if the door is closed and to close if open, instead of the default behavior where inputs are always interpreted as to open. This sets the delay before reset to -1 (overriding
wait
), i.e., the door will never reset.
- Use Opens : [256]
- NPCs Can't : [512]
- NPCs can't open this door.
- Touch Opens : [1024]
- When a player or NPC touches the door, it will count as an attempt to open it.
Bug:The door will play it's Locked Sound when touched, even if Touch Opens is disabled
- Starts locked : [2048]
- This door spawns locked and cannot be opened by the player or NPCs (but buttons can still trigger it).
- Door Silent : [4096]
- This door makes no noise.
- New Use rules : [65536] !FGD
- Door can only be used if it's not moving, is closing, or when it's open.
