point_deathfall_camera

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CDeathFallCamera
CBaseEntity

point_deathfall_camera is a point entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is a camera entity that players falling to their deaths look through.
The only things needed for this entity to work is a trigger_hurt brush with damage type set to "Fall" and damage set to 5000 at the bottom of your pit, along with any amount of point_deathfall_camera entities to capture the fall.
No need to set up any I/O for the entities, as game will automatically pick whichever camera is closest to the falling player.

Make sure the camera points more towards the pit, than the location they fall off of, as the players might be out of view by the time the camera triggers.


Keyvalues

Field of view (fov) <float>
Player FOV
Seconds to reach FOV target (fov_rate) <float>
Amount of time it should take to reach the specified FOV
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.

See also