Template:VT
跳转到导航
跳转到搜索
文档页面 Template:VT/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
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.

本文需要更新以包含有关该主题的当前信息,因为:
There have been some changes and additions since this table was made.
记得在本文的讨论页上查看标记者留下的任何注释。Code | Output | Other Values | Notes |
---|---|---|---|
{{VT|axis}} |
<轴> | ||
{{VT|bool}} |
<布尔值 > | boolean | FGD KV type is (存在于自 ![]() ![]() Use choices instead in earlier games' FGDs, but note them as Booleans on the game pages themselves. |
{{VT|byte}} |
<byte > | ||
{{VT|byte choices}} |
<byte choices > | ||
{{VT|choices}} |
<choices> | ||
{{VT|color255}} |
<color255 > | RGB | |
{{VT|color255 + int}} |
<color255 + 整数 > | color255+int | |
{{VT|env_cubemap / texture}} |
<env_cubemap / 纹理 > | cubemap/texture, cubemap / texture, env cubemap/texture, env cubemap / texture, env_cubemap/texture | |
{{VT|filter}} |
<filter > | filterclass | |
{{VT|float}} |
<浮点型 > | ||
{{VT|int}} |
<整数 > | integer | |
{{VT|int 0-10}} |
<整数 0-10 > | For ambient_generic | |
{{VT|int 0-100}} |
<整数 0-100 > | For ambient_generic | |
{{VT|int 0-1000}} |
<整数 0-1000 > | For ambient_generic | |
{{VT|integer 0-255}} |
<整数 0-255 > | For ambient_generic | |
{{VT|property}} |
<属性 > | material property | Is a link to Material surface properties. |
{{VT|RGB matrix}} |
<RGB matrix > | Is two separate links. | |
{{VT|script}} |
<脚本 > | vscript | Is a link to Vscript. |
{{VT|scriptlist}} |
<脚本列表 > | ||
{{VT|string}} |
<字符串 > | str | |
{{VT|studio}} |
<模型文件路径 > | model, modelname, model name, modelpath, model path | Is a link to Model. |
{{VT|target}} |
<目标名 > | target_name, target_destination, target_source | |
{{VT|vector}} |
<向量 > | vecline | |
{{VT|vector2}} |
<向量2 > | ||
{{VT|vector3}} |
<向量3 > | ||
{{VT|vector4}} |
<向量4 > | ||
{{VT|void}} |
<void> | <blank> |
Any other input will be a link to that input.
See also