Prop door rotating checkpoint: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{CD|CPropDoorRotatingCheckpoint}} | {{CD|CPropDoorRotatingCheckpoint}} | ||
{{ | {{This is a|point entity|name=prop_door_rotating_checkpoint|series=Left 4 Dead}} It is a special variant of {{ent|prop_door_rotating}} for checkpoint doors in the world. | ||
It's used by {{ent|info_changelevel}} to determine when to start the transition to the next map when all | It's used by {{ent|info_changelevel}} to determine when to start the transition to the next map when all survivors stand inside. Usually only 1 door is used for ending checkpoint but the exact condition for a transition to begin is that all the checkpoint doors that belong to it need to be closed, which means it can also be 0 doors so transition starts right away as survivors are inside or 10 doors and all of them need to be closed. | ||
In Versus mode, the starting checkpoint door cannot be closed and | In Versus mode, the starting checkpoint door cannot be closed after it's been opened and it opens automatically if it remains closed for the amount of seconds specified in <code>versus_force_start_time</code>. | ||
{{Note|Notices and information how to set up doors on <code>prop_door_rotating</code> page also applies here}} | {{Note|Notices and information how to set up doors on <code>prop_door_rotating</code> page also applies here}} | ||
Line 11: | Line 11: | ||
{{Note|The sound that plays for the metal bar being removed is hardcoded. It can only be changed by editing the level_sound script for each map. More info on how to do so can be found [[L4D Level Design/Checkpoints#"Last Stand" Saferoom Door|here]]}} | {{Note|The sound that plays for the metal bar being removed is hardcoded. It can only be changed by editing the level_sound script for each map. More info on how to do so can be found [[L4D Level Design/Checkpoints#"Last Stand" Saferoom Door|here]]}} | ||
== Gallery == | |||
==Gallery== | |||
Models used in official maps. 'Exit' and 'Dead End' signs should be usually facing inside of the saferoom. The models {{code|0x}} and {{code|-0x}} differ by having hinge on the opposite side. For each of these models there's also static version with {{code|_static}} at the end which are usable as {{ent|prop_static}}. | Models used in official maps. 'Exit' and 'Dead End' signs should be usually facing inside of the saferoom. The models {{code|0x}} and {{code|-0x}} differ by having hinge on the opposite side. For each of these models there's also static version with {{code|_static}} at the end which are usable as {{ent|prop_static}}. | ||
<gallery mode=nolines widths=400px heights=350px> | <gallery mode=nolines widths=400px heights=350px> | ||
Line 24: | Line 18: | ||
</gallery> | </gallery> | ||
==See also== | == Convars == | ||
{{varcom|start}} | |||
{{varcom|z_checkpoint_debug|0|boolean|Shows detected checkpoints and checkpoint doors and areas associated with them.}} | |||
{{varcom|versus_force_start_time|90|seconds|Starts versus game after this amount of time, even if survivors are still inside the safe room}} | |||
{{varcom|end}} | |||
== See also == | |||
* {{ent|prop_door_rotating}} | * {{ent|prop_door_rotating}} | ||
* [[Door creation]] | * [[Door creation]] |
Revision as of 17:54, 4 April 2025


![]() |
---|
CPropDoorRotatingCheckpoint |
prop_door_rotating_checkpoint
is a point entity available in Left 4 Dead series. It is a special variant of prop_door_rotating for checkpoint doors in the world.
It's used by info_changelevel to determine when to start the transition to the next map when all survivors stand inside. Usually only 1 door is used for ending checkpoint but the exact condition for a transition to begin is that all the checkpoint doors that belong to it need to be closed, which means it can also be 0 doors so transition starts right away as survivors are inside or 10 doors and all of them need to be closed.
In Versus mode, the starting checkpoint door cannot be closed after it's been opened and it opens automatically if it remains closed for the amount of seconds specified in versus_force_start_time
.

prop_door_rotating
page also applies here
Keyvalues / Inputs / Outputs
are same as prop_door_rotating.
Gallery
Models used in official maps. 'Exit' and 'Dead End' signs should be usually facing inside of the saferoom. The models 0x and -0x differ by having hinge on the opposite side. For each of these models there's also static version with _static at the end which are usable as prop_static.
Convars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
z_checkpoint_debug | 0 | boolean | Shows detected checkpoints and checkpoint doors and areas associated with them. |
versus_force_start_time | 90 | seconds | Starts versus game after this amount of time, even if survivors are still inside the safe room |
See also
- prop_door_rotating
- Door creation
- WiseDoor - example use and illustration of doors.