Template:VT

Aus Valve Developer Community
Zur Navigation springen Zur Suche springen
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
Die Dokumentationsseite Template:VT/doc/de existiert nicht.
Es folgt unter dieser Meldung stattdessen die englische Dokumentation, sofern sie existiert.

Just a list template for FGD and shader parameter templates to easily link to a wide variety of variable types.

Usage

This template accepts one parameter: the name of the variable type. It outputs a specific string depending on this parameter. It is not case-sensitive.

The following table lists inputs, their results, other inputs yielding the same results, and any things to note. Case variations are not included.

Broom icon.png
Dieser Artikel oder dieser Abschnitt muss mit den aktuellen Informationen zu diesem Thema aktualisiert werden, denn:
There have been some changes and additions since this table was made.
Auf der Diskussionsseite dieses Artikels befinden sich möglicherweise Anmerkungen von derjenigen Person, die diese Mitteilung hinzugefügt hat.
Code Output Other Values Notes
{{VT|axis}} <axis>
{{VT|bool}} <boolean(en)> boolean FGD KV type is (in allen Spielen seit Alien Swarm engine branch) (auch in Garry's Mod)
Use choices instead in earlier games' FGDs, but note them as Booleans on the game pages themselves.
{{VT|byte}} <byte(en)>
{{VT|byte choices}} <byte(en) choices>
{{VT|choices}} <choices>
{{VT|color255}} <color255(en)> RGB
{{VT|color255 + int}} <color255(en) + int(en)> color255+int
{{VT|env_cubemap / texture}} <env_cubemap/texture(en)> cubemap/texture, cubemap / texture, env cubemap/texture, env cubemap / texture, env_cubemap/texture
{{VT|filter}} <filter(en)> filterclass
{{VT|float}} <float(en)>
{{VT|int}} <integer(en)> integer
{{VT|int 0-10}} <integer(en) 0–10> For ambient_generic
{{VT|int 0-100}} <integer(en) 0–100> For ambient_generic
{{VT|int 0-1000}} <integer(en) 0–1000> For ambient_generic
{{VT|integer 0-255}} <integer(en) 0–255> For ambient_generic
{{VT|property}} <property(en)> material property Is a link to Material surface properties.
{{VT|RGB matrix}} <RGB(en) matrix(en)> Is two separate links.
{{VT|script}} <script(en)> vscript Is a link to Vscript.
{{VT|scriptlist}} <scriptlist(en)>
{{VT|string}} <string(en)> str
{{VT|studio}} <model path(en)> model, modelname, model name, modelpath, model path Is a link to Model.
{{VT|target}} <targetname(en)> target_name, target_destination, target_source
{{VT|vector}} <vector(en)> vecline
{{VT|vector2}} <vector2(en)>
{{VT|vector3}} <vector3(en)>
{{VT|vector4}} <vector4(en)>
{{VT|void}} <void> <blank>

Any other input will be a link to that input.

See also