aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/swing_fists.lua
blob: 8c0f1064d92cf30a19dabe94ec2d0824d196918f (plain)
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
nrequire("sh_animations.lua")

RegisterLuaAnimation('fist_swing_up', {
	FrameData = {
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = 37.4518,
					RR = -3.2972
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = -35.4314
				}
			},
			FrameRate = 2
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = -98.94,
					RR = 10.3338
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = 105.406
				}
			},
			FrameRate = 4
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
				},
				['ValveBiped.Bip01_R_Forearm'] = {
				}
			},
			FrameRate = 1
		}
	},
	Type = TYPE_GESTURE
})

RegisterLuaAnimation('fist_swing_down', {
	FrameData = {
		{
			BoneInfo = {
				['ValveBiped.Bip01_Spine2'] = {
					RU = 14.4867
				},
				['ValveBiped.Bip01_Spine1'] = {
					RU = 9.6677,
					RR = -4.4861,
					RF = -10.2001
				},
				['ValveBiped.Bip01_R_Hand'] = {
					RF = 96.0979
				},
				['ValveBiped.Bip01_Spine4'] = {
					RU = 21.4083
				},
				['ValveBiped.Bip01_R_Clavicle'] = {
					RR = 40.3211
				},
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = 36.4967,
					RR = 7.0185,
					RF = 7.7787
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RR = 1.9723,
					RF = -4.604
				}
			},
			FrameRate = 2
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = -102.8286,
					RR = 40.5051,
					RF = 38.9233
				},
				['ValveBiped.Bip01_Spine1'] = {
				},
				['ValveBiped.Bip01_R_Hand'] = {
					RF = 129.8577
				},
				['ValveBiped.Bip01_Spine4'] = {
				},
				['ValveBiped.Bip01_R_Clavicle'] = {
				},
				['ValveBiped.Bip01_Spine2'] = {
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = 80.2293,
					RR = 0.4927
				}
			},
			FrameRate = 4
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_Spine2'] = {
				},
				['ValveBiped.Bip01_Spine1'] = {
				},
				['ValveBiped.Bip01_R_Hand'] = {
				},
				['ValveBiped.Bip01_Spine4'] = {
				},
				['ValveBiped.Bip01_R_Clavicle'] = {
				},
				['ValveBiped.Bip01_R_UpperArm'] = {
				},
				['ValveBiped.Bip01_R_Forearm'] = {
				}
			},
			FrameRate = 1
		}
	},
	Type = TYPE_GESTURE
})

RegisterLuaAnimation('fist_swing_left', {
	FrameData = {
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = 30.8726,
					RR = 3.9566,
					RF = 26.1338
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = -7.1148,
					RR = 21.3712,
					RF = 32
				}
			},
			FrameRate = 2
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = -0.7137,
					RR = 44.1989,
					RF = 1.6231
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = 44.8816,
					RR = 12.0781
				}
			},
			FrameRate = 4
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
					RU = -97.4486,
					RR = 2.4404
				},
				['ValveBiped.Bip01_R_Forearm'] = {
					RU = 108.0151,
					RR = -23.9043
				}
			},
			FrameRate = 4
		},
		{
			BoneInfo = {
				['ValveBiped.Bip01_R_UpperArm'] = {
				},
				['ValveBiped.Bip01_R_Forearm'] = {
				}
			},
			FrameRate = 1
		}
	},
	Type = TYPE_GESTURE
})