CVGuiScreen

From Source Entities
(Redirected from Vgui screen team)
Jump to navigation Jump to search
Tf2.pngDispensers use vgui_screens to show how much metal they have.

Code classes:

CVGuiScreen is a code class in all Source games.

Classnames:

  • vgui_screen - A computer-like screen that shows one or more textures.
  • vgui_screen_team (Not in FGD) - Unused entity, would apparently hide screens from players who were not on a certain team in multiplayer games. Code for doing so exists in vgui_screen, but has never been used.

Keyvalues[edit | edit source]

Panel Name (panelname) <string>
Name of a "panel" to show. See /scripts/vgui_screens.txt. Example: screen_obj_dispenser_red.
Overlay Material (overlaymaterial) <material>
A texture to put over the screen. Confirm: Tip: If the texture acts weird, adding $writeZ 1 to its VMT may fix it.
Panel Width in World (width) <float>
How wide to make the panel.
Panel Height in World (height) <float>
How tall to make the panel.

Inputs[edit | edit source]

SetActive
Does not work.
SetInactive
Does not work.

See Also[edit | edit source]