aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/cl_swing_knife.lua
diff options
context:
space:
mode:
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
+})