Point viewcontrol multiplayer: Difference between revisions
Jump to navigation
Jump to search
Note:This entity is not in the FGD by default for
.
(Now in Gmod as of the March 2025 update, though not currently in the FGD. Feel free to remove that tag once its fixed, but it might be better to leave it until the next full update.) |
(Now in the FGD as of the latest hotfix.) |
||
Line 4: | Line 4: | ||
{{CD|CTriggerCameraMultiplayer}} It is an alternate version of {{ent|point_viewcontrol}} which is capable of controlling the view of multiple players at once. While it's active, the players will see out of the camera. Enabling the entity will control all players' views by default, but individual players can be added/removed by using the <code>AddPlayer</code> and <code>RemovePlayer</code> inputs with said player as the {{ent|!activator}}. Starting in Portal 2, it can also be set to only affect players on a specific team. | {{CD|CTriggerCameraMultiplayer}} It is an alternate version of {{ent|point_viewcontrol}} which is capable of controlling the view of multiple players at once. While it's active, the players will see out of the camera. Enabling the entity will control all players' views by default, but individual players can be added/removed by using the <code>AddPlayer</code> and <code>RemovePlayer</code> inputs with said player as the {{ent|!activator}}. Starting in Portal 2, it can also be set to only affect players on a specific team. | ||
{{note|This entity is not in the [[FGD]] by default for {{bms | {{note|This entity is not in the [[FGD]] by default for {{bms}}.}} | ||
== Keyvalues == | == Keyvalues == |
Latest revision as of 13:58, 28 March 2025
point_viewcontrol_multiplayer
is a point entity available in Left 4 Dead series,
Portal 2, and
Counter-Strike: Global Offensive. (also in
).
![]() |
---|
CTriggerCameraMultiplayer |
It is an alternate version of point_viewcontrol which is capable of controlling the view of multiple players at once. While it's active, the players will see out of the camera. Enabling the entity will control all players' views by default, but individual players can be added/removed by using the AddPlayer
and RemovePlayer
inputs with said player as the !activator. Starting in Portal 2, it can also be set to only affect players on a specific team.


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
- Seconds to reach FOV target (fov_rate) <float>
- Amount of time it should take to reach the specified FOV
- Target Entity (target_entity) <targetname>
- Entity to move to. (End of move will match origin and angles).
- Seconds to reach target entity (interp_time) <float>
- Amount of time it should take to reach the target entity's origin and angles.
- Target Team (target_team) <integer> (in all games since
)
- Which team (or all) to take over the camera for.
Flags
- Disable when move finished : [1]
- Set FOV : [2]
Inputs
- Enable <targetname >
- Enable the point_viewcontrol_multiplayer, and start controlling the players' view.
- Disable
- Disable the point_viewcontrol_multiplayer, and stop controlling the players' view.
- StartMovement
- Start the movement to the target entity.
- AddPlayer
- Makes the !activator view from this entity.
- RemovePlayer
- Removes !activator view from this entity.
See also
Categories:
- Point entities
- Non-internal Left 4 Dead series entities
- Left 4 Dead series entities
- Left 4 Dead series point entities
- Non-internal Portal 2 entities
- Portal 2 entities
- Portal 2 point entities
- Non-internal Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive point entities