Template:Fl Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Re-adding noinclude tag that got removed in a previous edit)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:Fl Door}} [[Category:Flag Templates|Door]]</noinclude>
{{minititle|BaseDoor}}
{{minititle|BaseDoor}}
*<s>1: Starts Open</s> - Obsolete. Door behaves more like the doors in Half-Life. Some outputs don't work.
{{fl|1|Starts Open|Door behaves more like the doors in {{hl|2}}. Some outputs don't work.|deprecated=1}}
*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.
{{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.}}
*8: Passable - This door is solid to nothing at all.
{{fl|8|Passable|This door is solid to nothing at all.}}
*32: Toggle - Inputs are interpreted as to change between open and shut. That is, 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 overrides the delay before reset (wait) to -1 i.e. never reset.  
{{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.}}
*256: {{ent|Use}} Opens
{{fl|256|[[Use]] Opens}}
*512: NPCs Can't - NPCs can't open this door.
{{fl|512|NPCs Can't|NPCs can't open this door.}}
*1024: Touch Opens - When a player or NPC touches the door, it will count as an attempt to open it.
{{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}}}}
*2048: Starts locked - This door spawns locked and cannot be opened by the player or NPCs (but buttons can still trigger it)
{{fl|2048|Starts locked|This door spawns locked and cannot be opened by the player or NPCs (but buttons can still trigger it).}}
*4096: Door Silent - This door makes no noise.
{{fl|4096|Door Silent|This door makes no noise.}}
*65536: New <code>Use</code> rules {{not in FGD}} - Door can only be used if it's not moving, is closing, or when it's open.
{{fl|65536|New Use rules|Door can only be used if it's not moving, is closing, or when it's open.|nofgd=1}}
<noinclude>
{{fl|131072|Block Infected nav when closed|only={{l4ds}}}}
[[Category:Flag Templates|Door]]
{{fl|262144|Block Survivor nav when closed|Blocking survivor will block flow too|only={{l4ds}}}}
</noinclude>

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