Deadline vgui .VMT File: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Adding example vgui .VMT)
 
mNo edit summary
 
Line 2: Line 2:


<source lang=ini>
<source lang=ini>
// 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.  
// 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"
"UnlitGeneric"

Latest revision as of 11:22, 26 June 2009

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