Func monitor: Difference between revisions
Jump to navigation
Jump to search
m (→Inputs: targetdestination) |
|||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
* {{kv targetname}} | |||
*{{kv targetname}} | * {{kv parentname}} | ||
*{{kv parentname}} | * {{kv origin}} | ||
*{{kv | * {{kv renderfields}} | ||
* {{kv global}} | |||
* | * {{kv enabledisable}} | ||
* {{kv shadow}} | |||
* '''_minlight''' | |||
*{{ | : <float> The minimum level of ambient light that hits this brush. | ||
* '''Solidity''' | |||
* | : <choices> Used to control the solidity/collision of these brushes. | ||
:{| | |||
! Literal Value || Description | |||
* | |- | ||
| 0 || Toggle | |||
|- | |||
| 1 || Never Solid | |||
|- | |||
| 2 || Always Solid | |||
|} | |||
* '''solidbsp''' | |||
: {{boolean}} Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush. | |||
*''' | * '''excludednpc''' | ||
:< | : <target_destination> If an NPC classname (i.e. [[npc_zombie]]) is specified here, NPCs of that type won't collide with these brushes. | ||
*'''target''' | |||
*'''Solidity | :<target_destination> The [[point_camera]] in which the viewpoint is rendered from. | ||
:<choices> Used to control the solidity/collision of these brushes. | |||
*''' | |||
:< | |||
*''' | |||
:<target_destination> The | |||
==Inputs== | ==Inputs== |
Revision as of 20:32, 16 April 2006
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.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv origin
- Template:Kv renderfields
- Template:Kv global
- Template:Kv enabledisable
- Template:Kv shadow
- _minlight
- <float> The minimum level of ambient light that hits this brush.
- Solidity
- <choices> Used to control the solidity/collision of these brushes.
Literal Value Description 0 Toggle 1 Never Solid 2 Always Solid
- solidbsp
- <boolean> Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush.
- excludednpc
- <target_destination> If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
- target
- <target_destination> The point_camera in which the viewpoint is rendered from.
Inputs
- DisableShadow
- Turn shadow off.
- EnableShadow
- Turn shadow on.
- Toggle
- Toggle on/off.
- SetCamera <target_destination>
- Sets the camera to use for this monitor. Takes the name of a point_camera entity in the map.