aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/cl_swing_fists.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2019-05-04 15:46:20 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2019-05-04 15:46:20 -0400
commit984401ce1f84581786f9e3241caf96bda718940b (patch)
tree2f03ae424f517edad6c381c4221747b446d9efe1 /gamemode/shared/animations/cl_swing_fists.lua
parent28affa22541b9ef251707793f6b1c1a26d663592 (diff)
downloadartery-984401ce1f84581786f9e3241caf96bda718940b.tar.gz
artery-984401ce1f84581786f9e3241caf96bda718940b.tar.bz2
artery-984401ce1f84581786f9e3241caf96bda718940b.zip
renamed animation files to be client-only
Renamed animation files since PAC3 removed the RegisterAnimation function server-side.
Diffstat (limited to 'gamemode/shared/animations/cl_swing_fists.lua')
-rw-r--r--gamemode/shared/animations/cl_swing_fists.lua178
1 files changed, 178 insertions, 0 deletions
diff --git a/gamemode/shared/animations/cl_swing_fists.lua b/gamemode/shared/animations/cl_swing_fists.lua
new file mode 100644
index 0000000..f3da179
--- /dev/null
+++ b/gamemode/shared/animations/cl_swing_fists.lua
@@ -0,0 +1,178 @@
+local ani = nrequire("sh_animations.lua")
+
+ani.RegisterAnimation('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
+})
+
+ani.RegisterAnimation('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
+})
+
+ani.RegisterAnimation('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
+})