VEN
01-11-2007, 14:49
Note #1: This information probably will not make much sence if you unfamiliar with the trace scripting.
I found the way to change a bullet/particle power directly through fraction traceresult. The problem is that the [power | fraction] dependence are nonlinear.
This is a table for AWP TA leg damage: F D
---------------
0.0 30
0.1 29
0.3 28
0.5 27
0.7 26
0.9 25
1.1 24
1.4 23
1.7 22
2.0 21
2.3 20
2.6 19
2.8 18
3.2 17
3.5 16
3.9 15
4.2 14
4.6 13
5.1 12
5.6 11
6.2 10
6.6 9
7.3 8
8.0 7
8.9 6
9.8 5
10.7 4
12.0 3
13.8 2
16.2 1
20.4 0
Note #2: For fraction in range {0.0 ... ~5.0} the dependence are nearly linear.
Note #3: Also you can use a negative fraction values to increase power.
I found the way to change a bullet/particle power directly through fraction traceresult. The problem is that the [power | fraction] dependence are nonlinear.
This is a table for AWP TA leg damage: F D
---------------
0.0 30
0.1 29
0.3 28
0.5 27
0.7 26
0.9 25
1.1 24
1.4 23
1.7 22
2.0 21
2.3 20
2.6 19
2.8 18
3.2 17
3.5 16
3.9 15
4.2 14
4.6 13
5.1 12
5.6 11
6.2 10
6.6 9
7.3 8
8.0 7
8.9 6
9.8 5
10.7 4
12.0 3
13.8 2
16.2 1
20.4 0
Note #2: For fraction in range {0.0 ... ~5.0} the dependence are nearly linear.
Note #3: Also you can use a negative fraction values to increase power.