Func monitor: Difference between revisions
Jump to navigation
Jump to search
m (Technical limitations) |
(cleanup and such) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=func_monitor}} | {{wrongtitle|title=func_monitor}} | ||
== Entity Desciption== | ==Entity Desciption== | ||
A monitor that renders the view from a given [[point_camera]] entity. | A monitor that renders the view from a given [[point_camera]] entity. | ||
When a func_monitor is created, the surface in which the view from the [[point_camera]] will be displayed from must be assigned to a material that uses the special value "_rt_Camera" in its "$basetexture" property (such as the dev/dev_combinemonitor* and dev/dev_tvmonitor* textures). It is also a good idea to Justify to Fit in the Face Edit Sheet texture dialog for the combinemonitor surface so the camera view isn't cut off. | When a func_monitor is created, the surface in which the view from the [[point_camera]] will be displayed from must be assigned to a material that uses the special value "_rt_Camera" in its "$basetexture" property (such as the dev/dev_combinemonitor* and dev/dev_tvmonitor* textures). It is also a good idea to Justify to Fit in the Face Edit Sheet texture dialog for the combinemonitor surface so the camera view isn't cut off. | ||
== Keys == | ==Keys== | ||
*{{kv targetname}} | |||
*{{kv parentname}} | |||
*{{kv enabledisable}} | |||
'''Origin (X Y Z)''' | *'''Origin (X Y Z)''' | ||
:<origin> The position of this entity's center in the world. Rotating entities typically rotate around their origin. | |||
*{{KV RenderFields}} | |||
''' | *'''Disable Receiving Shadows (disablereceiveshadows)''' | ||
:<choices> | |||
''' | *'''Disable shadows (disableshadows)''' | ||
:<choices> | |||
''' | *'''Global Entity Name (globalname)''' | ||
:<string> Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state. | |||
''' | *'''Input Filter (InputFilter)''' | ||
:<choices> Used to specify which inputs this entity will accept. | |||
''' | *'''Minimum Light Level (_minlight)''' | ||
:<string> The minimum level of ambient light that hits this brush. | |||
''' | *'''Solidity (Solidity)''' | ||
:<choices> Used to control the solidity/collision of these brushes. | |||
''' | *'''NPC class excluded from collisions (excludednpc)''' | ||
:<string> If an NPC classname (i.e. [[npc_zombie]]) is specified here, NPCs of that type won't collide with these brushes. | |||
''' | *'''Solid BSP (solidbsp)''' | ||
:<choices> Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush. | |||
''' | *'''Camera name (target)''' | ||
:<target_destination> The '''Name''' of the [[point_camera]] in which the viewpoint is rendered from. | |||
''' | |||
==Inputs== | |||
* {{i targetname}} | |||
* {{i parentname}} | |||
* {{i enabledisable}} | |||
*'''DisableShadow''' | |||
:Turn shadow off. | |||
''' | *'''EnableShadow''' | ||
:Turn shadow on. | |||
''' | *'''Toggle Toggle''' | ||
:If on, turn off, if off, turn on. | |||
''' | *'''SetCamera <string>''' | ||
:Sets the camera to use for this monitor. Takes the name of a [[point_camera]] entity in the map. | |||
==Outputs== | |||
* {{o targetname}} | |||
---- | ---- | ||
Line 120: | Line 76: | ||
* [[info_camera_link]] | * [[info_camera_link]] | ||
* [[ | * [[point_camera]] | ||
[[Category:Entities]] |
Revision as of 19:34, 10 July 2005
Entity Desciption
A monitor that renders the view from a given point_camera entity. When a func_monitor is created, the surface in which the view from the point_camera will be displayed from must be assigned to a material that uses the special value "_rt_Camera" in its "$basetexture" property (such as the dev/dev_combinemonitor* and dev/dev_tvmonitor* textures). It is also a good idea to Justify to Fit in the Face Edit Sheet texture dialog for the combinemonitor surface so the camera view isn't cut off.
Keys
- Origin (X Y Z)
- <origin> The position of this entity's center in the world. Rotating entities typically rotate around their origin.
- RenderFields:
- Render Mode (rendermode) <byte choices>
- Set a non-standard rendering mode on this entity.
Render Modes
- Render FX (renderfx) <byte choices>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <byte>
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255>
- Color tint.
- Disable Receiving Shadows (disablereceiveshadows)
- <choices>
- Disable shadows (disableshadows)
- <choices>
- Global Entity Name (globalname)
- <string> Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
- Input Filter (InputFilter)
- <choices> Used to specify which inputs this entity will accept.
- Minimum Light Level (_minlight)
- <string> The minimum level of ambient light that hits this brush.
- Solidity (Solidity)
- <choices> Used to control the solidity/collision of these brushes.
- NPC class excluded from collisions (excludednpc)
- <string> If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
- Solid BSP (solidbsp)
- <choices> Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush.
- Camera name (target)
- <target_destination> The Name of the point_camera in which the viewpoint is rendered from.
Inputs
- DisableShadow
- Turn shadow off.
- EnableShadow
- Turn shadow on.
- Toggle Toggle
- If on, turn off, if off, turn on.
- SetCamera <string>
- Sets the camera to use for this monitor. Takes the name of a point_camera entity in the map.
Outputs
See Also