VGUI Screen: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
A [[Vgui|VGUI]] screen. Useful for in-world monitors.
A [[Vgui|VGUI]] screen. Useful for in-world monitors.


'''<font color="red">Warning:</font>''' This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See [[VGUI Screen Creation]]
{{warning|This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See [[VGUI Screen Creation]].}}


==Key values==
==Key values==
Line 13: Line 13:
:Name of the panel to use. This is ''not'' a filename.
:Name of the panel to use. This is ''not'' a filename.
*'''overlaymaterial''' <string>
*'''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.
: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''' <integer>
:Width of the panel in units.
:Width of the panel in units.

Revision as of 17:35, 25 March 2006

Template:Wrongtitle

Entity Description

A VGUI screen. Useful for in-world monitors.

Warning.pngWarning:This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See VGUI Screen Creation.

Key values

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

Make the vgui screen visible.
  • SetInactive
Make the vgui screen invisible.

Outputs

Template:O targetname

See also