Portal race checkpoint: Difference between revisions
Jump to navigation
Jump to search

Nanoman2525 (talk | contribs) (Created page with "{{LanguageBar}} {{CD|???|base=CBaseAnimating}} {{this is a|model entity|name=portal_race_checkpoint|game=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== {{KV Targetname}} {{KV|Area Portal Window Name|intn=AreaPortalWindow|target_destination|The name of an area portal window that is controlled by the door.}} }}") |
Nanoman2525 (talk | contribs) m (Previously pushed page creation accidentally from using prop_testchamber_door as a template. Updated to accurate info.) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV| | {{KV|Checkpoint Duration|intn=ResetTime|float|How much time until the checkpoint resets to the inactive state again.}} | ||
}} | |||
== Inputs == | |||
{{I|Activate|Switches the state of the entity to become activated.}} | |||
{{I|CancelActivate|Switches the state of the entity to become deactivated. ''(Note: This will not fire the '''OnCheckpointReset''' output!)''}} | |||
{{I|Lock|Locking will prevent players from activating the checkpoint and stop the entity from spinning.}} | |||
{{I|Unlock|Unlocking will allow players to activate the checkpoint.}} | |||
== Outputs == | |||
{{O|OnCheckpointActivated|Called when the checkpoint has been triggered by a player.}} | |||
{{O|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. |
Latest revision as of 00:11, 8 October 2025


![]() |
---|
??? |
portal_race_checkpoint
is a model entity available in 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
ortarget
).
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.