aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/cl_swing_knife.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_knife.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_knife.lua')
-rw-r--r--gamemode/shared/animations/cl_swing_knife.lua195
1 files changed, 195 insertions, 0 deletions
diff --git a/gamemode/shared/animations/cl_swing_knife.lua b/gamemode/shared/animations/cl_swing_knife.lua
new file mode 100644
index 0000000..89e7ab2
--- /dev/null
+++ b/gamemode/shared/animations/cl_swing_knife.lua
@@ -0,0 +1,195 @@
+local ani = nrequire("sh_animations.lua")
+
+ani.RegisterAnimation('knife_swing_up', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -119.0702,
+ RR = 35.7771,
+ RF = 21.6572
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 2
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -24.2641,
+ RR = -24.1204,
+ RF = -2.919
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 64.2667,
+ RR = 5.0335
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})
+
+ani.RegisterAnimation('knife_swing_down', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 74.1135,
+ RR = 12.868,
+ RF = -31.8524
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = -6.8706
+ }
+ },
+ FrameRate = 2
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -69.5085,
+ RR = -8.3118,
+ RF = -32
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RU = -3.0004,
+ RR = -38.9819
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 76.5184,
+ RR = 3.7464,
+ RF = 58.2735
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})
+
+ani.RegisterAnimation('knife_swing_left', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -40.5,
+ RR = 35.8237,
+ RF = -2.4531
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 48.9612,
+ RR = -3.439,
+ RF = 113.0487
+ }
+ },
+ FrameRate = 2
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -90.2023,
+ RR = -13.4254,
+ RF = -0.9856
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = 27.1628
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 21.9228,
+ RR = -47.3655,
+ RF = 118.0344
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})
+
+ani.RegisterAnimation('knife_swing_right', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -89.3623,
+ RR = -18.4313,
+ RF = 2.3038
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 23.57,
+ RR = 3.4175,
+ RF = -64.0124
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ }
+ },
+ FrameRate = 2
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 4.0091,
+ RR = 53.1032,
+ RF = 1.0142
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 66.3027,
+ RR = -0.9315
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})