Info camera link: Difference between revisions
Jump to navigation
Jump to search
m (revert) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=info_camera_link}} | {{wrongtitle|title=info_camera_link}} | ||
==Entity | == Entity description == | ||
[[Image:link.png|left]]An entity that can use [[point_camera]]s 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.{{clr}} | [[Image:link.png|left]]An entity that can use [[point_camera]]s to render images for materials used by entities. To author the material, use the special identifier <code>_rt_Camera</code> for the <code>$baseTexture</code> (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 <code>point_camera</code> you want to have appear on that entity's material.{{clr}} | ||
==Keyvalues== | == Keyvalues == | ||
* {{kv targetname}} | * {{kv targetname}} | ||
* '''target''' | * '''target''' | ||
Line 9: | Line 9: | ||
* '''PointCamera''' | * '''PointCamera''' | ||
: <target_destination> The name of a point_camera entity in the map that the material should be rendered from. | : <target_destination> The name of a point_camera entity in the map that the material should be rendered from. | ||
==Inputs== | |||
== Inputs == | |||
* {{i targetname}} | * {{i targetname}} | ||
* '''SetCamera <target_destination>''' | * '''SetCamera <target_destination>''' | ||
: Set the camera to use. The parameter should be the name of a point_camera entity in the map. | : Set the camera to use. The parameter should be the name of a point_camera entity in the map. | ||
==Outputs== | |||
== Outputs == | |||
* {{o targetname}} | * {{o targetname}} | ||
[[Category:Entities]][[Category:Camera]] | [[Category:Entities]][[Category:Camera]] | ||
==See | == See also == | ||
*[[func_monitor]] - An alternative entity ''devoted'' to displaying the contents of a point_camera. | *[[func_monitor]] - An alternative entity ''devoted'' to displaying the contents of a point_camera. |
Revision as of 01:42, 11 October 2007
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.
Keyvalues
- Template:Kv targetname
- 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
- Template:I targetname
- SetCamera <target_destination>
- Set the camera to use. The parameter should be the name of a point_camera entity in the map.
Outputs
See also
- func_monitor - An alternative entity devoted to displaying the contents of a point_camera.