Point viewcontrol survivor

From Valve Developer Community
Revision as of 21:37, 28 May 2009 by EvolvedAnt (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle This point-based entity is available in Left 4 Dead.

Stub

This article or section is a stub. You can help by expanding it.

Entity description

A survivor specific camera, that can be used to zoom the camera in from a 3rd person view begining at the cameras location, automatically towards the survivors head ending with a 1st person view. Useful when used in conjuction with a point_viewcontrol_multiplayer for professional looking campaign intro scenes.

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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
  • Field of view fov <float>
Player FOV (if Set FOV spawnflag is set)
  • Seconds to reach FOV target fov_rate <float>
Amount of time it should take to reach the specified FOV
  • spawnflags spawnflags <flags>

Inputs

  • Kill
Removes the entity from the world.
  • KillHierarchy
Removes this entity and all its children from the world.
  • AddOutput
<string>
  • FireUser1
Causes this entity's OnUser1 output to be fired.
  • FireUser2
Causes this entity's OnUser2 output to be fired.
  • FireUser3
Causes this entity's OnUser3 output to be fired.
  • FireUser4
Causes this entity's OnUser4 output to be fired.
  • SetParent
<string> Changes the entity's parent in the movement hierarchy.
  • SetParentAttachment
<string> Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
  • SetParentAttachmentMaintainOffset
<string> Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
  • ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.
  • Enable
Enable the point_viewcontrol, and start controlling the player's view.
  • Disable
Disable the point_viewcontrol, and stop controlling the player's view.
  • StartMovement
Start the movement to first-person view.