VGUI Screen: Difference between revisions
Jump to navigation
Jump to search
(VGUI Screen moved to Creating a VGUI Screen) |
(replaced redirect with entity information) |
||
Line 1: | Line 1: | ||
A [[VGUI]] screen. Useful for in-world monitors. | |||
'''Warning:''' does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. | |||
==Key values== | |||
*{{kv targetname}} | |||
*{{kv parentname}} | |||
*{{kv angles}} | |||
*'''panelname''' <string> | |||
:Name of the panel to use. This is ''not'' a filename. | |||
*'''overlaymaterial''' <string> | |||
:Name of a material to overlay over the top of the VGUI screen. NOTE: This material must write Z for the VGUI screen to work. | |||
*'''width''' <integer> | |||
:Width of the panel in units. | |||
*'''height''' <integer> | |||
:Height of the panel in units. | |||
==Inputs== | |||
*{{i targetname}} | |||
*{{i parentname}} | |||
*'''SetActive''' | |||
:Make the vgui screen visible. | |||
*'''SetInactive''' | |||
:Make the vgui screen invisible. | |||
==Outputs== | |||
{{o targetname}} | |||
==See also== | |||
* [[Creating a VGUI Screen]] |
Revision as of 20:03, 27 September 2005
A VGUI screen. Useful for in-world monitors.
Warning: does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game.
Key values
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv angles
- panelname <string>
- Name of the panel to use. This is not a filename.
- overlaymaterial <string>
- Name of a material to overlay over the top of the VGUI screen. NOTE: This material must write Z for the VGUI screen to work.
- width <integer>
- Width of the panel in units.
- height <integer>
- Height of the panel in units.
Inputs
- Template:I targetname
- Template:I parentname
- SetActive
- Make the vgui screen visible.
- SetInactive
- Make the vgui screen invisible.