%keywords

From Valve Developer Community
Revision as of 03:53, 12 July 2024 by Nesciuse (talk | contribs) (Nesciuse moved page %keywords/en to %keywords without leaving a redirect: Move en subpage to basepage)
Jump to navigation Jump to search
English (en)Translate (Translate)
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024


Used to set a keyword 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,c17"
}

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

Note.pngNote:To have more than one keyword, separate the keywords with a comma.

Used Keywords

The following keywords are used in Source games:

Half-Life 2

  • c17citadel
  • c17downtown
  • c17industrial
  • c17sewers
  • c17trainstation
  • coastline wasteland
  • combine
  • wasteland

Portal

  • portal

Team Fortress 2

  • tf
Wikipedia - Letter.png
This article has not been added to any content Wikipedia icon categories. Please help out by Wikipedia icon adding categories.
January 2024