aboutsummaryrefslogtreecommitdiff
path: root/sp/game/mod_hl2/scripts/vgui_screens.txt
blob: f34c4cc18f9b494f591f279c9f65e8e9383dba7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"VGUI_Screens"
{
	// This name here can be referenced from within a 
	// vgui_screen entity to select this vgui panel
	"vgui_test_screen"
	{
		// The type indicates which type of panel to create
		// Coders will add new types as time goes by. 
		// "vgui_screen_panel" is a generic panel type which can
		// read in .res files that have been built by VGUI's build mode dialog.
		"type"			"vgui_screen_panel"

		// These describe the dimensions of the screen *in pixels*
		"pixelswide"	480
		"pixelshigh"	240

		// This is the name of the .res file to load up and apply to the vgui panel
		"resfile"		"scripts/screens/vgui_test_screen.res"
	}

	"teleport_countdown_screen"
	{
		// Defined in c_info_teleporter_countdown.cpp
		"type"			"teleport_countdown_screen"

		// These describe the dimensions of the screen *in pixels*
		"pixelswide"	480
		"pixelshigh"	240

		// This is the name of the .res file to load up and apply to the vgui panel
		"resfile"		"scripts/screens/teleport_countdown_screen.res"
	}

	"slideshow_display_screen"
	{
		"type"		"slideshow_display_screen"
		"pixelswide"	256
		"pixelshigh"	128
		"acceptsinput"  0
		"resfile"	"scripts/screens/slideshow_display_screen.res"
	}
}