aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/cl_swing_hammer.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_hammer.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_hammer.lua')
-rw-r--r--gamemode/shared/animations/cl_swing_hammer.lua223
1 files changed, 223 insertions, 0 deletions
diff --git a/gamemode/shared/animations/cl_swing_hammer.lua b/gamemode/shared/animations/cl_swing_hammer.lua
new file mode 100644
index 0000000..183d3d2
--- /dev/null
+++ b/gamemode/shared/animations/cl_swing_hammer.lua
@@ -0,0 +1,223 @@
+local ani = nrequire("sh_animations.lua")
+
+ani.RegisterAnimation('hammer_swing_up', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -121.3723,
+ RR = 39.4933,
+ RF = -31.0527
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 16,
+ RR = 31.0061,
+ RF = -19.6651
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RU = -0.7222,
+ RR = -14.516
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ RR = -43.4468
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ RU = 4.4867,
+ RR = -5.5554,
+ RF = 0.3176
+ }
+ },
+ FrameRate = 1
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -33,
+ RR = -33,
+ RF = -59
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RR = -37
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 84,
+ RR = 10.0054,
+ RF = 35
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_L_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_L_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})
+
+ani.RegisterAnimation('hammer_swing_left', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -85.901,
+ RR = -26.4874,
+ RF = -25.791
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ RR = 87.4193
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 63.6936,
+ RR = -12.6269,
+ RF = -50.5597
+ }
+ },
+ FrameRate = 1
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -14.9409,
+ RR = 45.7766
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RR = -24.354
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ RR = 10.3959,
+ RF = -5.5748
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ RR = -0.2696
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 99.5046,
+ RR = 8.5341,
+ RF = -60.8322
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})
+
+ani.RegisterAnimation('hammer_swing_right', {
+ FrameData = {
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = 12.3003,
+ MF = 2.0589,
+ RR = -42.3116,
+ RF = 23.9329
+ },
+ ['ValveBiped.Bip01_L_Hand'] = {
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ RF = -40.6827
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 2.8485,
+ RR = 10.1856,
+ RF = 7.6391
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ }
+ },
+ FrameRate = 1
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ RU = -83.615,
+ MF = 5.9653,
+ RR = -25.4493,
+ RF = 24.3507
+ },
+ ['ValveBiped.Bip01_L_Hand'] = {
+ RR = 1.5291
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ RR = 47.1609
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ RR = 40.5562,
+ RF = 5.5508
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ RU = 105.2417,
+ RR = -9.705,
+ RF = -16
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ RU = -17.7827,
+ RR = -39.3452,
+ RF = 12.2479
+ }
+ },
+ FrameRate = 3
+ },
+ {
+ BoneInfo = {
+ ['ValveBiped.Bip01_R_UpperArm'] = {
+ },
+ ['ValveBiped.Bip01_L_Hand'] = {
+ },
+ ['ValveBiped.Bip01_R_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_L_Clavicle'] = {
+ },
+ ['ValveBiped.Bip01_Spine'] = {
+ },
+ ['ValveBiped.Bip01_R_Forearm'] = {
+ },
+ ['ValveBiped.Bip01_R_Hand'] = {
+ }
+ },
+ FrameRate = 1
+ }
+ },
+ Type = TYPE_GESTURE
+})