Deadline vgui .VMT File

From Valve Developer Community
Jump to navigation Jump to search

This is an example of a .VMT file, included with the sample Deadline campaign, that is associated with interface elements such as loading poster, map thumbnails, etc. Feel free to use this as a template for your own custom addons.

// This .VMT file is referenced in the missions/xxx.txt file as the loading poster. 
// It, in turn, references the image LoadingScreen_Deadline.vtf in the "$basetexture" key. 

"UnlitGeneric"
{
	"$translucent" 1
	"$basetexture" "VGUI\LoadingScreen_Deadline"
	"$vertexcolor" 1
	"$vertexalpha" 1
	"$no_fullbright" 1
	"$ignorez" 1
	"$additive"		0
}

See also