info_camera_link
From Valve Developer Community
This is a point entity available in all Source games.
Contents |
Entity description
An entity that can use point_cameras to render images for materials used by entities. To author the material, use the special identifier_rt_Camera for the $baseTexture (or whatever texture you want, like envmap, etc.) in the .vmt then connect the 'target' field to the entity which uses that material, and the 'PointCamera' field to the point_camera you want to have appear on that entity's material.
- For an example of use, refer to the Half-life 2 map
d3_breen_01, where the modeleffects/portalrift.mdl(skinned with the_rt_Camerabase texture material) is used to let the player see through the opening Combine portal. - See also func_monitor - An alternative entity devoted to displaying the contents of a point_camera.
Keyvalues
-
Targetname:
- Name <string>
- The targetname other entities refer to this entity by.
- target
- <target_destination> Entity Whose Material Uses _rt_camera
- PointCamera
- <target_destination> The name of a point_camera entity in the map that the material should be rendered from.
Inputs
-
Targetname:
-
Kill - Removes this entity from the world.
-
KillHierarchy - Removes this entity and all its children from the world.
-
AddOutput <string> - Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
- SetCamera <target_destination>
- Set the camera to use. The parameter should be the name of a point_camera entity in the map.
Outputs
-
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.

