-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtfa_matproxies.lua
80 lines (70 loc) · 1.34 KB
/
tfa_matproxies.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
-- Name: PlayerWeaponColorStatic
-- Description: Static/direct variation of PlayerWeaponColor, without any flickering.
-- Parameters:
-- 1. resultvar - Result variable for the color (such as $color2)
-- VMT Example:
--[[
Proxies
{
PlayerWeaponColorStatic
{
resultvar $color2
}
}
]]
-- Name: TFALaserColor
-- Description:
-- Parameters:
-- 1. resultvar - Result variable for the color (such as $color2)
-- VMT Example:
--[[
Proxies
{
TFALaserColor
{
resultVar $color2
}
}
]]
-- Name: TFAReticuleColor
-- Description:
-- Parameters:
-- 1. resultvar - Result variable for the color (such as $color2)
-- VMT Example:
--[[
Proxies
{
TFAReticuleColor
{
resultVar $color2
}
}
]]
-- Name: TFA_RTScope
-- Description: Replaces $basetexture with render target texture of 3D scopes
-- VMT Example:
--[[
Proxies
{
TFA_RTScope
{
}
}
]]
-- Name: TFA_CubemapTint
-- Description: Tints
-- Parameters:
-- 1. resultvar - Variable for resulting envmap tint ($envmaptint)
-- 2. multiplier - Variable for base tint multiplier (a vector)
-- VMT Example:
--[[
$envmapmultiplier "[1 1 1]" // Lighting will be multiplied by this value
Proxies
{
TFA_CubemapTint
{
resultvar $envmaptint // Write final output to $envmaptint
multiplier $envmapmultiplier // Use our value for default envmap tint
}
}
]]