Template:PatchDiff/April 1, 2014 Patch/tf/materials/models/player/items/templates/standard.vmt

From Team Fortress Wiki
Jump to: navigation, search
11"VertexLitGeneric"
22{
3N/A "$basetexture" ""
4N/A "$bumpmap" ""
N/A3 "$basetexture" ""
N/A4 "$bumpmap" ""
55 
6N/A // Wearables usually use this lightwarp: "models/player/pyro/pyro_lightwarp"
7N/A // Weapons usually use this lightwarp: "models/lightwarps/weapon_lightwarp"
8N/A // Weapons are the more custom case, so we'll default to a good wearable lightwarp
9N/A "$lightwarptexture" "models/player/pyro/pyro_lightwarp"
N/A6 // Wearables usually use this lightwarp: "models/player/pyro/pyro_lightwarp"
N/A7 // Weapons usually use this lightwarp: "models/lightwarps/weapon_lightwarp"
N/A8 // Weapons are the more custom case, so we'll default to a good wearable lightwarp
N/A9 "$lightwarptexture" "models/player/pyro/pyro_lightwarp"
1010 
1111 "$phongexponenttexture" ""
12N/A "$phong" "1"
13N/A "$phongexponent" "25"
14N/A "$phongboost" "0.1"
15N/A "$phongfresnelranges" "[.25 .5 1]"
N/A12 "$phong" "1"
N/A13 "$phongexponent" "25"
N/A14 "$phongboost" "0.1"
N/A15 "$phongfresnelranges" "[.25 .5 1]"
1616 "$basemapalphaphongmask" "0"
1717 
18N/A "$rimlight" "1" // To enable rim lighting (requires phong)
19N/A "$rimlightexponent" "4" // Exponent for phong component of rim
20N/A "$rimlightboost" "2" // Boost for ambient cube component of rim lighting
N/A18 "$rimlight" "1" // To enable rim lighting (requires phong)
N/A19 "$rimlightexponent" "4" // Exponent for phong component of rim
N/A20 "$rimlightboost" "2" // Boost for ambient cube component of rim lighting
2121 "$rimmask" "0"
2222 "$halflambert" "0"
2323 
2828 "$color2" "{ 255 255 255 }" // same as colortint_base
2929 "$colortint_tmp" "[0 0 0]"
3030 
31N/A // By default the normal map alpha channel is used as phong mask
32N/A "$bumpmapalphaphongmask" "1"
N/A31 // By default the normal map alpha channel is used as phong mask
N/A32 "$bumpmapalphaphongmask" "1"
3333 
3434 // Translucent
3535 "$additive" "0"
4242 "$normalmapalphaenvmapmask" "0"
4343 "$envmaptint" "[1 1 1]"
4444 
45N/A // Variables for the cloak effect
46N/A "$cloakPassEnabled" "1"
N/A45 // Variables for the cloak effect
N/A46 "$cloakPassEnabled" "1"
4747 
48N/A // Variables for the burning effect
49N/A "$detail" "effects/tiledfire/fireLayeredSlowTiled512"
50N/A "$detailscale" "5"
51N/A "$detailblendfactor" "0"
52N/A "$detailblendmode" "6"
N/A48 // Variables for the burning effect
N/A49 "$detail" "effects/tiledfire/fireLayeredSlowTiled512"
N/A50 "$detailscale" "5"
N/A51 "$detailblendfactor" "0"
N/A52 "$detailblendmode" "6"
5353 
54N/A // Variables for the jarate effect
55N/A "$yellow" "0"
N/A54 // Variables for the jarate effect
N/A55 "$yellow" "0"
5656 
5757 ">=DX90"
5858 {
6161 "$selfillumtint" "[1 1 1]"
6262 "$selfillummask" ""
6363 
64N/A // The order of the proxies is important!
65N/A "proxies"
66N/A {
67N/A // Proxies for the cloak effect
68N/A "weapon_invis"
69N/A {
70N/A }
71N/A 
72N/A // Proxies for the burning effect
73N/A "AnimatedTexture"
74N/A {
75N/A "animatedtexturevar" "$detail"
76N/A "animatedtextureframenumvar" "$detailframe"
77N/A "animatedtextureframerate" "30"
78N/A }
79N/A "BurnLevel"
80N/A {
81N/A "resultVar" "$detailblendfactor"
82N/A }
83N/A 
84N/A // Proxies for the jarate effect
85N/A "YellowLevel"
86N/A {
87N/A "resultVar" "$yellow"
88N/A }
89N/A "Equals"
90N/A {
91N/A "srcVar1" "$yellow"
92N/A "resultVar" "$color2"
93N/A }
94N/A 
95N/A // Proxies for paintable items
96N/A "ItemTintColor"
97N/A {
98N/A "resultVar" "$colortint_tmp"
99N/A }
100N/A "SelectFirstIfNonZero"
101N/A {
102N/A "srcVar1" "$colortint_tmp"
103N/A "srcVar2" "$colortint_base"
104N/A "resultVar" "$color2"
105N/A }
106N/A }
107N/A}
N/A64 // The order of the proxies is important!
N/A65 "Proxies"
N/A66 {
N/A67 // Proxies for the cloak effect
N/A68 "invis"
N/A69 {
N/A70 }
N/A71 // Proxies for the burning effect
N/A72 "AnimatedTexture"
N/A73 {
N/A74 "animatedtexturevar" "$detail"
N/A75 "animatedtextureframenumvar" "$detailframe"
N/A76 "animatedtextureframerate" 30
N/A77 }
N/A78 "BurnLevel"
N/A79 {
N/A80 "resultVar" "$detailblendfactor"
N/A81 }
N/A82 // Proxies for paintable items
N/A83 "ItemTintColor"
N/A84 {
N/A85 "resultVar" "$colortint_tmp"
N/A86 }
N/A87 "SelectFirstIfNonZero"
N/A88 {
N/A89 "srcVar1" "$colortint_tmp"
N/A90 "srcVar2" "$colortint_base"
N/A91 "resultVar" "$color2"
N/A92 }
N/A93 // Proxies for the jarate effect
N/A94 "YellowLevel"
N/A95 {
N/A96 "resultVar" "$yellow"
N/A97 }
N/A98 "Multiply"
N/A99 {
N/A100 "srcVar1" "$color2"
N/A101 "srcVar2" "$yellow"
N/A102 "resultVar" "$color2"
N/A103 }
N/A104 }
N/A105}