Template:Fl Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
* 1 : Starts Open - This door spawns open.
<noinclude>{{lang|Template:Fl Door}} [[Category:Flag Templates|Door]]</noinclude>
* 4 : Non-solid to Player - The player does not collide with this door.
{{minititle|BaseDoor}}
* 8 : Passable - Nothing collides with this door.
{{fl|1|Starts Open|Door behaves more like the doors in {{hl|2}}. Some outputs don't work.|deprecated=1}}
* 32 : Toggle - The door is given an input to change this door between open and shut.
{{fl|4|Non-solid to Player|Sets the [[collision group]] to <code>COLLISION_GROUP_PASSABLE_DOOR</code>, 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.}}
* 256 :Use Opens - The +use key, when in range, triggers this door.
{{fl|8|Passable|This door is solid to nothing at all.}}
* 512 : NPCs Can't - NPCs can't open this door.
{{fl|32|Toggle|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 <code>wait</code>), i.e., the door will never reset.}}
* 1024 : Touch Opens - When a player or NPC collides with this door, it is triggered.
{{fl|256|[[Use]] Opens}}
* 2048 : Starts locked - This door spawns locked and cannot be opened by the player or NPC (but buttons can still trigger it)
{{fl|512|NPCs Can't|NPCs can't open this door.}}
* 4096 : Door Silent - This door makes no noise.
{{fl|1024|Touch Opens|When a player or NPC touches the door, it will count as an attempt to open it.<br>{{bug|hidetested=1|The door will play it's Locked Sound when touched, even if Touch Opens is disabled}}}}
{{fl|2048|Starts locked|This door spawns locked and cannot be opened by the player or NPCs (but buttons can still trigger it).}}
{{fl|4096|Door Silent|This door makes no noise.}}
{{fl|65536|New Use rules|Door can only be used if it's not moving, is closing, or when it's open.|nofgd=1}}
{{fl|131072|Block Infected nav when closed|only={{l4ds}}}}
{{fl|262144|Block Survivor nav when closed|Blocking survivor will block flow too|only={{l4ds}}}}

Latest revision as of 07:08, 20 May 2025

BaseDoor:

Starts Open : [1] Obsolete
Deprecated.
Door behaves more like the doors in Half-Life Half-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.
Icon-Bug.pngBug: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.
Block Infected nav when closed : [131072] (only in Left 4 Dead seriesLeft 4 Dead series)
Block Survivor nav when closed : [262144] (only in Left 4 Dead seriesLeft 4 Dead series)
Blocking survivor will block flow too