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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
local ani = nrequire("sh_animations.lua")
ani.RegisterAnimation('axe_swing_up', {
FrameData = {
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RU = -135.0759,
RR = 4.7695,
RF = 68.1705
},
['ValveBiped.Bip01_R_Hand'] = {
RR = -7.0246,
RF = -41.0529
},
['ValveBiped.Bip01_R_Forearm'] = {
RU = -24.6284
}
},
FrameRate = 1
},
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RU = -134.3106,
RR = -111.2052,
RF = 58.2835
},
['ValveBiped.Bip01_R_Forearm'] = {
RU = 80
},
['ValveBiped.Bip01_R_Hand'] = {
RU = -12.7583,
RR = -9.4569,
RF = 8.4272
}
},
FrameRate = 3
},
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
},
['ValveBiped.Bip01_R_Hand'] = {
},
['ValveBiped.Bip01_R_Forearm'] = {
}
},
FrameRate = 1
}
},
Type = TYPE_GESTURE
})
ani.RegisterAnimation('axe_swing_left', {
FrameData = {
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RU = -16
},
['ValveBiped.Bip01_R_Forearm'] = {
RU = 62.502896241406,
RR = 19.915292262581,
RF = 58.999558486575
}
},
FrameRate = 1
},
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RU = -71.048983114736,
RR = -118.30349058938,
RF = 12.994644385626
},
['ValveBiped.Bip01_R_Forearm'] = {
RU = 80.297417901061,
RR = -36.146186854911,
RF = -0.18188548377852
}
},
FrameRate = 3
},
{
BoneInfo = {
},
FrameRate = 1
}
},
Type = TYPE_GESTURE
})
ani.RegisterAnimation('axe_swing_right', {
FrameData = {
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RU = -64,
RR = -118.23451384787
},
['ValveBiped.Bip01_Spine4'] = {
},
['ValveBiped.Bip01_R_Forearm'] = {
RR = -51.895180109443,
RF = 4.9449765561345
},
['ValveBiped.Bip01_Spine2'] = {
RU = -18.770943776107
},
['ValveBiped.Bip01_R_Hand'] = {
RF = -38.639462488655
}
},
FrameRate = 1
},
{
BoneInfo = {
['ValveBiped.Bip01_R_UpperArm'] = {
RF = -80
},
['ValveBiped.Bip01_Spine4'] = {
},
['ValveBiped.Bip01_R_Forearm'] = {
RU = 48,
RR = 16,
RF = -44.792066414109
},
['ValveBiped.Bip01_Spine2'] = {
},
['ValveBiped.Bip01_R_Hand'] = {
}
},
FrameRate = 3
},
{
BoneInfo = {
},
FrameRate = 1
}
},
Type = TYPE_GESTURE
})
|