%keywords

From Valve Developer Community
Revision as of 17:59, 23 January 2009 by Craziestdan (talk | contribs) (New page: Used to set a keyowrd filter that can be filtered in hammer for easier texture finding. ==VMT syntax example== <pre> "WorldVertexTransition" { "$basetexture" "nature/cliffface002a" "$b...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Used to set a keyowrd filter that can be filtered in hammer for easier texture finding.

VMT syntax example

"WorldVertexTransition"
{
	"$basetexture" "nature/cliffface002a"
	"$basetexture2" "nature/dirtfloor004a"
	"%tooltexture" "nature/blendcliffdirt001a_tooltexture"
        "$basetexturetransform" "center .5 .5 scale 1 1 rotate 0  translate 0 0"
        "$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0"
	"%keywords" "wasteland"
}

Entering wasteland into the keywords field in the hammer texture browser would show only textures with the wasteland keyword. This is useful for categorising your textures for easier finding.