Func monitor

From Valve Developer Community
Revision as of 19:34, 10 July 2005 by Campaignjunkie (talk | contribs) (cleanup and such)
Jump to navigation Jump to search

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.

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
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
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