Point viewcontrol survivor: Difference between revisions
Jump to navigation
Jump to search
Note:Certain effects such as rain from a func_precipitation and the survivors flashlights do not display while cameras are in use. To get around the rain not appearing, use an info_particle_system set to rain_intro above the cameras view, disable it once your intro is finished.
Warning:Do not use the enable input of this entity, or it will function as a global camera that effects every survivor.
(-intn, notoc, input desc) |
(-related inputs) |
||
Line 11: | Line 11: | ||
{{KV|Field of view|intn=fov|float|Player FOV (if Set FOV spawnflag is set)}} | {{KV|Field of view|intn=fov|float|Player FOV (if Set FOV spawnflag is set)}} | ||
{{KV|Seconds to reach FOV target|intn=fov_rate|float|Amount of time it should take to reach the specified FOV}} | {{KV|Seconds to reach FOV target|intn=fov_rate|float|Amount of time it should take to reach the specified FOV}} | ||
{{KV Angles | {{KV|Pitch Yaw Roll (Y Z X)|intn=Angles|angles|View angles player will have when this camera controls their view.}} | ||
== Flags == | == Flags == | ||
Line 22: | Line 21: | ||
{{IO|Disable|Disable the point_viewcontrol_survivor, and stop controlling all players' views.}} | {{IO|Disable|Disable the point_viewcontrol_survivor, and stop controlling all players' views.}} | ||
{{IO|StartMovement|Start the movement to first-person view.}} | {{IO|StartMovement|Start the movement to first-person view.}} | ||
{{ | === Related inputs of [[info_survivor_position]] === | ||
{{IO|SetViewControl|If a survivor is assigned to this position, set his view to targetted point_viewcontrol_survivor|param=target}} | |||
== See also == | == See also == | ||
* [[point_viewcontrol_multiplayer]] | * [[point_viewcontrol_multiplayer]] |
Revision as of 18:03, 2 September 2023
![]() |
---|
CSurvivorCamera |
Template:Entity
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.


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
- 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
- Disable when move finished : [1]
- Set FOV : [2]
Inputs
- Enable
- Enable the point_viewcontrol_survivor, and start controlling all players' views.
- Disable
- Disable the point_viewcontrol_survivor, and 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_survivor