point_commentary_node
Jump to navigation
Jump to search
|
This entity is not in the stock FGD files by default.
|

Code classes:
CPointCommentaryNodeCBaseAnimating(models)CBaseEntity(all ents)
point_commentary_node is a point entity present in all Source games. When the map is loaded in commentary mode, this entity will appear and play developer-curated dialogue when activated.
Keyvalues[edit | edit source]
- precommands
<string> - Console commands to fire when this node starts playing.
- postcommands
<string> - Console commands to fire when this node stops playing.
- commentaryfile
<sound> - The sound file to play when this node is activated. Tip: Valve puts a
#in front of theirs to bypass DSP, though this also makes the sound be affected by the user's volume setting. - commentaryfile_nohdr
<sound> - Sound file to play when HDR is not supported or not turned on.
- viewtarget
<target_destination> - While the node is active, shifts the player's view to look at this entity.
- viewposition
<target_destination> - While the node is active, shifts the player's view to be from this entity.
- prevent_movement
<boolean> - Stops the player from moving around while the node is active.
- speakers
<string> - The speaker of this commentary line.
- start_disabled
<boolean> - Makes the node hidden until enabled.
- teleport_origin
<target_destination> - When the player teleports between nodes using alt fire, their view will be changed to the position and angles of this entity.[Confirm]
Inputs[edit | edit source]
- StartCommentary
- Activates the node.
- StartUnstoppableCommentary
- Activates the node and does not allow it to stop.
- Enable
- Unhides the node.
- Disable
- Hides the node.
Outputs[edit | edit source]
- OnCommentaryStarted
- Fires when the node is activated.
- OnCommentaryStopped
- Fires when the node stops playing.