Func monitor: Difference between revisions

From Valve Developer Community
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 enabledisable}}
* {{kv renderfields}}
 
* {{kv global}}
*'''Origin (X Y Z)'''
* {{kv enabledisable}}
:<origin> The position of this entity's center in the world. Rotating entities typically rotate around their origin.
* {{kv shadow}}
 
* '''_minlight'''
*{{KV RenderFields}}
: <float> The minimum level of ambient light that hits this brush.
 
* '''Solidity'''
*'''Disable Receiving Shadows (disablereceiveshadows)'''
: <choices> Used to control the solidity/collision of these brushes.
:<choices>
:{|
 
! Literal Value || Description
*'''Disable shadows (disableshadows)'''
|-
:<choices>
| 0 || Toggle
 
|-
*'''Global Entity Name (globalname)'''
| 1 || Never Solid
:<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.
|-
 
| 2 || Always Solid
*'''Input Filter (InputFilter)'''
|}
:<choices> Used to specify which inputs this entity will accept.
* '''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.
*'''Minimum Light Level (_minlight)'''
* '''excludednpc'''
:<string> The minimum level of ambient light that hits this brush.
: <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 (Solidity)'''
:<target_destination> The [[point_camera]] in which the viewpoint is rendered from.
:<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==
==Inputs==

Revision as of 20:32, 16 April 2006

Template:Wrongtitle

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

<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.

Outputs

See Also