Prop door rotating checkpoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No 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 [[prop_door_rotating]] for checkpoint doors in the world. It's used by {{ent|info_changelevel}} to decide when to start the transition to the next map when all survivors stand inside. If the door is closed and all survivors are inside properly set-up checkpoint transition start. If the door is not present transition starts immediately as all survivors enter.
{{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 decide when to start the transition to the next map when all survivors stand inside. If the door is closed and all survivors are inside properly set-up checkpoint transition start. If the door is not present transition starts immediately as all survivors enter.
In versus starting checkpoint door open automatically is survivors haven't opened it in <code>versus_force_start_time</code> seconds.




Line 11: Line 12:
{{varcom|start}}
{{varcom|start}}
{{varcom|z_checkpoint_debug|0|boolean}}
{{varcom|z_checkpoint_debug|0|boolean}}
{{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}}
{{varcom|end}}


== See also ==
== See also ==
* {{ent|func_door}} (sliding, [[brush]]-based)
* {{ent|prop_door_rotating}}
* {{ent|func_door_rotating}} (brush-based)
* [[Door creation]]
* [[Door creation]]
* [[WiseDoor]] - example use and illustration of doors.
* [[WiseDoor]] - example use and illustration of doors.

Revision as of 04:46, 12 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CPropDoorRotatingCheckpoint
CPropDoorRotating
CBasePropDoor
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_door_rotating_checkpoint is a point entity available in Left 4 Dead seriesLeft 4 Dead series 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 decide when to start the transition to the next map when all survivors stand inside. If the door is closed and all survivors are inside properly set-up checkpoint transition start. If the door is not present transition starts immediately as all survivors enter. In versus starting checkpoint door open automatically is survivors haven't opened it in versus_force_start_time seconds.


Note.pngNote:Notices and information how to set up doors on prop_door_rotating page also applies here
Note.pngNote:All Keyvalues / Inputs / Outputs are same as prop_door_rotating.
Note.pngNote: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 here

Convars

Cvar/Command Parameters or default value Descriptor Effect
z_checkpoint_debug 0 boolean
Todo: Effect description.
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