Func monitor: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (→Inputs)  | 
				mNo edit summary  | 
				||
| Line 63: | Line 63: | ||
:Turn shadow on.  | :Turn shadow on.  | ||
*'''  | *'''Toggle'''  | ||
:  | :Toggle on/off.  | ||
*'''SetCamera <string>'''    | *'''SetCamera <string>'''    | ||
Revision as of 02:09, 26 September 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.
Keyvalues
- 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 on/off.
 
- SetCamera <string>
 
- Sets the camera to use for this monitor. Takes the name of a point_camera entity in the map.