Template:Fl Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated to use Template:Fl.)
(Feels weird adding a bug to a template, but idk what else I would do. Something I've encountered in gmod. Maybe not a bug? Not sure...)
Line 7: Line 7:
{{fl|256|[[Use]] Opens}}
{{fl|256|[[Use]] Opens}}
{{fl|512|NPCs Can't|NPCs can't open this door.}}
{{fl|512|NPCs Can't|NPCs can't open this door.}}
{{fl|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|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|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|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|65536|New Use rules|Door can only be used if it's not moving, is closing, or when it's open.|nofgd=1}}

Revision as of 09:46, 24 December 2023

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  [todo tested in ?]
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.