Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
point_viewcontrol_survivor
![]() |
---|
CSurvivorCamera |
point_viewcontrol_survivor
is a point entity available in Left 4 Dead series.
It is 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.
Valve used this entity as an "intro" camera for the first map of every campaign, while the camera is a child of a "Ghostanim.mdl" prop_dynamic. This model has an attachment point which all four point_viewcontrol_multiplayer cameras (one for each player) follow.
If you seek a guide on how to use this entity to create an intro just like Valve does, you may find one here, which includes a prefab to animate a path in blender as well.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Warning.png](/w/images/thumb/c/cb/Warning.png/10px-Warning.png)
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- 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
- Pitch Yaw Roll (Y Z X)
(Angles)
<angles> - View angles player will have when this camera controls their view.
Flags
- [
1
] : Disable when move finished
- [
2
] : Set FOV
Inputs
Enable
- Enable the point_viewcontrol_survivor. If the activator is a survivor, then start controlling his view. Otherwise, start controlling all players' views.
Disable
- Disable the point_viewcontrol_survivor. If the activator is a survivor, then stop controlling his view. Otherwise, stop controlling all players' views.
StartMovement
- Start the movement to first-person view.
Related inputs of info_survivor_position
SetViewControl
<targetname>- If a survivor is assigned to this position, set his view to targetted
point_viewcontrol*
entity