portal_race_checkpoint

From Valve Developer Community
Revision as of 00:11, 8 October 2025 by Nanoman2525 (talk | contribs) (Previously pushed page creation accidentally from using prop_testchamber_door as a template. Updated to accurate info.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
???
CBaseAnimating
CBaseEntity

portal_race_checkpoint is a model entity available in Portal 2 Portal 2. This is a hologram entity that functions as a trigger for players. It can spin, change colors, and play timer sound effects depending on the state it is in.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Checkpoint Duration (ResetTime) <float>
How much time until the checkpoint resets to the inactive state again.

Inputs

Activate
Switches the state of the entity to become activated.
CancelActivate
Switches the state of the entity to become deactivated. (Note: This will not fire the OnCheckpointReset output!)
Lock
Locking will prevent players from activating the checkpoint and stop the entity from spinning.
Unlock
Unlocking will allow players to activate the checkpoint.

Outputs

OnCheckpointActivated
Called when the checkpoint has been triggered by a player.
OnCheckpointReset
Called when the timer threshold has been reached.

Additional Information

The scale of the entity model itself can be changed through the sv_portal_race_checkpoint_model_scale ConVar.

Modifying the sv_debug_portal_race_checkpoint ConVar appears to not do anything, but may have been used for some unknown functionality.