Func monitor

From Valve Developer Community
Revision as of 20:03, 5 July 2005 by Rof (talk | contribs)

Jump to: navigation, search

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.


Name targetname <target_source> The name that other entities refer to this entity by.

Parent parentname <target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.

Origin (X Y Z) origin <origin> The position of this entity's center in the world. Rotating entities typically rotate around their origin.

Render FX renderfx <choices>

Render Mode rendermode <choices> Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.

FX Amount (0 - 255) renderamt <integer> The FX amount is used by the selected Render Mode.

FX Color (R G B) rendercolor <color255> The FX color is used by the selected Render Mode.

Disable Receiving Shadows disablereceiveshadows <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.

Start Disabled StartDisabled <choices>

Disable shadows disableshadows <choices>

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


Kill Removes this entity from the world.

KillHierarchy Removes this entity and all its children from the world.

AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.

FireUser1 Causes this entity's OnUser1 output to be fired.

FireUser2 Causes this entity's OnUser2 output to be fired.

FireUser3 Causes this entity's OnUser3 output to be fired.

FireUser4 Causes this entity's OnUser4 output to be fired.

SetParent <string> Changes the entity's parent in the movement hierarchy.

SetParentAttachment <string> Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.

ClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently.

Enable Enable this entity.

Disable Disable this entity.

DisableShadow Turn shadow off.

EnableShadow Turn shadow on.

Toggle Toggle - If on, turn off, if off, turn on.

Enable Enable.

Disable Disable.

SetCamera <string> Sets the camera to use for this monitor. Takes the name of a point_camera entity in the map.


OnUser1 Fired in response to FireUser1 input.

OnUser2 Fired in response to FireUser2 input.

OnUser3 Fired in response to FireUser3 input.

OnUser4 Fired in response to FireUser4 input.

See Also