From 984401ce1f84581786f9e3241caf96bda718940b Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 4 May 2019 15:46:20 -0400 Subject: renamed animation files to be client-only Renamed animation files since PAC3 removed the RegisterAnimation function server-side. --- gamemode/shared/animations/cl_move_evade.lua | 77 ++++ gamemode/shared/animations/cl_swing_axe.lua | 143 +++++++ gamemode/shared/animations/cl_swing_fists.lua | 178 +++++++++ gamemode/shared/animations/cl_swing_hammer.lua | 223 +++++++++++ gamemode/shared/animations/cl_swing_knife.lua | 195 ++++++++++ gamemode/shared/animations/cl_swing_mele.lua | 500 +++++++++++++++++++++++++ gamemode/shared/animations/move_evade.lua | 77 ---- gamemode/shared/animations/swing_axe.lua | 143 ------- gamemode/shared/animations/swing_fists.lua | 178 --------- gamemode/shared/animations/swing_hammer.lua | 223 ----------- gamemode/shared/animations/swing_knife.lua | 195 ---------- gamemode/shared/animations/swing_mele.lua | 500 ------------------------- 12 files changed, 1316 insertions(+), 1316 deletions(-) create mode 100644 gamemode/shared/animations/cl_move_evade.lua create mode 100644 gamemode/shared/animations/cl_swing_axe.lua create mode 100644 gamemode/shared/animations/cl_swing_fists.lua create mode 100644 gamemode/shared/animations/cl_swing_hammer.lua create mode 100644 gamemode/shared/animations/cl_swing_knife.lua create mode 100644 gamemode/shared/animations/cl_swing_mele.lua delete mode 100644 gamemode/shared/animations/move_evade.lua delete mode 100644 gamemode/shared/animations/swing_axe.lua delete mode 100644 gamemode/shared/animations/swing_fists.lua delete mode 100644 gamemode/shared/animations/swing_hammer.lua delete mode 100644 gamemode/shared/animations/swing_knife.lua delete mode 100644 gamemode/shared/animations/swing_mele.lua (limited to 'gamemode') diff --git a/gamemode/shared/animations/cl_move_evade.lua b/gamemode/shared/animations/cl_move_evade.lua new file mode 100644 index 0000000..b051570 --- /dev/null +++ b/gamemode/shared/animations/cl_move_evade.lua @@ -0,0 +1,77 @@ +local ani = nrequire("sh_animations.lua") + +ani.RegisterAnimation('evade_left', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_L_Calf'] = { + }, + ['ValveBiped.Bip01_L_Thigh'] = { + }, + ['ValveBiped.Bip01_R_Thigh'] = { + }, + ['ValveBiped.Bip01_Pelvis'] = { + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_L_Calf'] = { + RU = -44.9346, + RR = -4.9288, + RF = 5.1193 + }, + ['ValveBiped.Bip01_L_Thigh'] = { + RU = 49.7508, + RR = 11.8895, + RF = 74.14 + }, + ['ValveBiped.Bip01_R_Thigh'] = { + RU = 6.3191, + RR = 12.8315, + RF = -4.8611 + }, + ['ValveBiped.Bip01_Pelvis'] = { + } + }, + FrameRate = 4 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_L_Calf'] = { + RU = -44.9346, + RR = -4.9288, + RF = 5.1193 + }, + ['ValveBiped.Bip01_L_Thigh'] = { + RU = 49.7508, + RR = 11.8895, + RF = 74.14 + }, + ['ValveBiped.Bip01_Pelvis'] = { + }, + ['ValveBiped.Bip01_R_Thigh'] = { + RU = 6.3191, + RR = 12.8315, + RF = -4.8611 + } + }, + FrameRate = 4 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_L_Calf'] = { + }, + ['ValveBiped.Bip01_L_Thigh'] = { + }, + ['ValveBiped.Bip01_Pelvis'] = { + }, + ['ValveBiped.Bip01_R_Thigh'] = { + } + }, + FrameRate = 2 + } + }, + Type = TYPE_STANCE +}) diff --git a/gamemode/shared/animations/cl_swing_axe.lua b/gamemode/shared/animations/cl_swing_axe.lua new file mode 100644 index 0000000..065c114 --- /dev/null +++ b/gamemode/shared/animations/cl_swing_axe.lua @@ -0,0 +1,143 @@ +local ani = nrequire("sh_animations.lua") + +ani.RegisterAnimation('axe_swing_up', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -135.0759, + RR = 4.7695, + RF = 68.1705 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RR = -7.0246, + RF = -41.0529 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = -24.6284 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -134.3106, + RR = -111.2052, + RF = 58.2835 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 80 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -12.7583, + RR = -9.4569, + RF = 8.4272 + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + } + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) + +ani.RegisterAnimation('axe_swing_left', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -16 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 62.502896241406, + RR = 19.915292262581, + RF = 58.999558486575 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -71.048983114736, + RR = -118.30349058938, + RF = 12.994644385626 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 80.297417901061, + RR = -36.146186854911, + RF = -0.18188548377852 + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) + +ani.RegisterAnimation('axe_swing_right', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -64, + RR = -118.23451384787 + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RR = -51.895180109443, + RF = 4.9449765561345 + }, + ['ValveBiped.Bip01_Spine2'] = { + RU = -18.770943776107 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RF = -38.639462488655 + } + }, + FrameRate = 1 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_R_UpperArm'] = { + RF = -80 + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 48, + RR = 16, + RF = -44.792066414109 + }, + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 3 + }, + { + BoneInfo = { + }, + FrameRate = 1 + } + }, + Type = TYPE_GESTURE +}) 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 +}) 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 +}) 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 +}) diff --git a/gamemode/shared/animations/cl_swing_mele.lua b/gamemode/shared/animations/cl_swing_mele.lua new file mode 100644 index 0000000..c47c0b3 --- /dev/null +++ b/gamemode/shared/animations/cl_swing_mele.lua @@ -0,0 +1,500 @@ +local ani = nrequire("sh_animations.lua") + +ani.RegisterAnimation('swing_onehand_left', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = 14.9983 + }, + ['ValveBiped.Bip01_L_Forearm'] = { + RU = 58.1181, + RR = 27.0889 + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + RU = -7.9421, + RR = 34.3556, + RF = 4.4799 + }, + ['ValveBiped.Bip01_Spine4'] = { + RF = 39.5103 + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + RR = 47.4665, + RF = -19.7371 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -129.4263, + RR = -47.9277 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RR = 2.574 + } + }, + FrameRate = 5 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = -18.8755 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 90, + RR = -4.5286, + RF = -100.8045 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = 23.8203, + RR = -38.9972, + RF = -25.2662 + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + RU = -7.9421, + RR = 34.3556, + RF = 4.4799 + }, + ['ValveBiped.Bip01_L_Forearm'] = { + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + } + }, + FrameRate = 1.6667 + } + }, + Type = TYPE_GESTURE +}) + +ani.RegisterAnimation('swing_onehand_overhead', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_L_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + RU = -14.9433, + RR = -26.7191, + RF = 10.6193 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 83.616, + RR = 93.0582, + RF = 62.0103 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -111.0966, + RR = -74.1549, + RF = -62.4384 + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + RR = -2.5225, + RF = -39.26 + }, + ['ValveBiped.Bip01_L_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -9.0093, + RR = 14.4999, + RF = 25.671 + } + }, + FrameRate = 5 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = 14.4193 + }, + ['ValveBiped.Bip01_Neck1'] = { + RU = 10.6282, + RR = 9.7472, + RF = -42.9906 + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + RU = -14.9433, + RR = -26.7191, + RF = 10.6193 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 98.1268, + RR = 5.534, + RF = 96.1386 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -203.1287, + RR = -120.029, + RF = -2.2254 + }, + ['ValveBiped.Bip01_Spine1'] = { + RF = 9.6129 + }, + ['ValveBiped.Bip01_Spine4'] = { + RU = 18.6599, + RF = 43.4352 + }, + ['ValveBiped.Bip01_L_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -41.5509, + RR = -6.2725, + RF = 16.9206 + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_L_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 1.6667 + } + }, + Type = TYPE_GESTURE +}) + +ani.RegisterAnimation('swing_onehand_right', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = -13.0166 + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 64.7312, + RR = -12.5429, + RF = -0.7 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + RF = -26.2859 + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -2.0679, + RR = -3.5029, + RF = 87.3164 + } + }, + FrameRate = 5 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = 47.2023 + }, + ['ValveBiped.Bip01_Neck1'] = { + RR = -15.9212, + RF = -57.372 + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + RR = 21.3645, + RF = 0.6008 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 64.7168, + RR = -50.8221, + RF = -48.8765 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RR = -35.8651, + RF = -47.1548 + }, + ['ValveBiped.Bip01_Spine1'] = { + RF = 11.3894 + }, + ['ValveBiped.Bip01_Spine4'] = { + RF = 36.4235 + }, + ['ValveBiped.Bip01_L_Forearm'] = { + RU = 49.4639, + RR = -10.0868, + RF = 6.7341 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -2.0679, + RR = 44.9745, + RF = 85.4281 + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 1.6667 + } + }, + Type = TYPE_GESTURE +}) + +ani.RegisterAnimation('swing_onehand_stab', { + FrameData = { + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = -18.294 + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + RU = -23.5308, + RF = -3.6617 + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + RU = -22.1427 + }, + ['ValveBiped.Bip01_Spine1'] = { + RF = -11.4656 + }, + ['ValveBiped.Bip01_Spine4'] = { + RF = -4.7217 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 24.4736, + RR = -3.368 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = 4.3187, + RR = 2.4775, + RF = -147.3305 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -43.7725, + RR = -3.349, + RF = -3.218 + } + }, + FrameRate = 5 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + RF = 25.4603 + }, + ['ValveBiped.Bip01_Neck1'] = { + RR = -20.3889, + RF = -45.1608 + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + RU = 3.6368, + RR = 20.8097, + RF = 6.6735 + }, + ['ValveBiped.Bip01_R_Forearm'] = { + RU = 83.1342, + RR = -4.2804, + RF = -21.4632 + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + RU = -11.8714, + RR = 4.3073, + RF = -65.2235 + }, + ['ValveBiped.Bip01_Spine1'] = { + RF = 45.7756 + }, + ['ValveBiped.Bip01_Spine4'] = { + RF = 4.61 + }, + ['ValveBiped.Bip01_L_Forearm'] = { + RU = -23.5308, + RF = -3.6617 + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + RU = -22.1427 + }, + ['ValveBiped.Bip01_R_Hand'] = { + RU = -48.1903, + RR = -24.3979, + RF = 53.5558 + } + }, + FrameRate = 10 + }, + { + BoneInfo = { + ['ValveBiped.Bip01_Spine2'] = { + }, + ['ValveBiped.Bip01_Neck1'] = { + }, + ['ValveBiped.Bip01_R_Clavicle'] = { + }, + ['ValveBiped.Bip01_R_Forearm'] = { + }, + ['ValveBiped.Bip01_R_UpperArm'] = { + }, + ['ValveBiped.Bip01_Spine1'] = { + }, + ['ValveBiped.Bip01_Spine4'] = { + }, + ['ValveBiped.Bip01_L_Forearm'] = { + }, + ['ValveBiped.Bip01_L_UpperArm'] = { + }, + ['ValveBiped.Bip01_R_Hand'] = { + } + }, + FrameRate = 1.6667 + } + }, + Type = TYPE_GESTURE +}) diff --git a/gamemode/shared/animations/move_evade.lua b/gamemode/shared/animations/move_evade.lua deleted file mode 100644 index b051570..0000000 --- a/gamemode/shared/animations/move_evade.lua +++ /dev/null @@ -1,77 +0,0 @@ -local ani = nrequire("sh_animations.lua") - -ani.RegisterAnimation('evade_left', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_L_Calf'] = { - }, - ['ValveBiped.Bip01_L_Thigh'] = { - }, - ['ValveBiped.Bip01_R_Thigh'] = { - }, - ['ValveBiped.Bip01_Pelvis'] = { - } - }, - FrameRate = 1 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_L_Calf'] = { - RU = -44.9346, - RR = -4.9288, - RF = 5.1193 - }, - ['ValveBiped.Bip01_L_Thigh'] = { - RU = 49.7508, - RR = 11.8895, - RF = 74.14 - }, - ['ValveBiped.Bip01_R_Thigh'] = { - RU = 6.3191, - RR = 12.8315, - RF = -4.8611 - }, - ['ValveBiped.Bip01_Pelvis'] = { - } - }, - FrameRate = 4 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_L_Calf'] = { - RU = -44.9346, - RR = -4.9288, - RF = 5.1193 - }, - ['ValveBiped.Bip01_L_Thigh'] = { - RU = 49.7508, - RR = 11.8895, - RF = 74.14 - }, - ['ValveBiped.Bip01_Pelvis'] = { - }, - ['ValveBiped.Bip01_R_Thigh'] = { - RU = 6.3191, - RR = 12.8315, - RF = -4.8611 - } - }, - FrameRate = 4 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_L_Calf'] = { - }, - ['ValveBiped.Bip01_L_Thigh'] = { - }, - ['ValveBiped.Bip01_Pelvis'] = { - }, - ['ValveBiped.Bip01_R_Thigh'] = { - } - }, - FrameRate = 2 - } - }, - Type = TYPE_STANCE -}) diff --git a/gamemode/shared/animations/swing_axe.lua b/gamemode/shared/animations/swing_axe.lua deleted file mode 100644 index 065c114..0000000 --- a/gamemode/shared/animations/swing_axe.lua +++ /dev/null @@ -1,143 +0,0 @@ -local ani = nrequire("sh_animations.lua") - -ani.RegisterAnimation('axe_swing_up', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -135.0759, - RR = 4.7695, - RF = 68.1705 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RR = -7.0246, - RF = -41.0529 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = -24.6284 - } - }, - FrameRate = 1 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -134.3106, - RR = -111.2052, - RF = 58.2835 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 80 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -12.7583, - RR = -9.4569, - RF = 8.4272 - } - }, - FrameRate = 3 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - } - }, - FrameRate = 1 - } - }, - Type = TYPE_GESTURE -}) - -ani.RegisterAnimation('axe_swing_left', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -16 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 62.502896241406, - RR = 19.915292262581, - RF = 58.999558486575 - } - }, - FrameRate = 1 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -71.048983114736, - RR = -118.30349058938, - RF = 12.994644385626 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 80.297417901061, - RR = -36.146186854911, - RF = -0.18188548377852 - } - }, - FrameRate = 3 - }, - { - BoneInfo = { - }, - FrameRate = 1 - } - }, - Type = TYPE_GESTURE -}) - -ani.RegisterAnimation('axe_swing_right', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -64, - RR = -118.23451384787 - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RR = -51.895180109443, - RF = 4.9449765561345 - }, - ['ValveBiped.Bip01_Spine2'] = { - RU = -18.770943776107 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RF = -38.639462488655 - } - }, - FrameRate = 1 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_R_UpperArm'] = { - RF = -80 - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 48, - RR = 16, - RF = -44.792066414109 - }, - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 3 - }, - { - BoneInfo = { - }, - FrameRate = 1 - } - }, - Type = TYPE_GESTURE -}) diff --git a/gamemode/shared/animations/swing_fists.lua b/gamemode/shared/animations/swing_fists.lua deleted file mode 100644 index f3da179..0000000 --- a/gamemode/shared/animations/swing_fists.lua +++ /dev/null @@ -1,178 +0,0 @@ -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 -}) diff --git a/gamemode/shared/animations/swing_hammer.lua b/gamemode/shared/animations/swing_hammer.lua deleted file mode 100644 index 183d3d2..0000000 --- a/gamemode/shared/animations/swing_hammer.lua +++ /dev/null @@ -1,223 +0,0 @@ -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 -}) diff --git a/gamemode/shared/animations/swing_knife.lua b/gamemode/shared/animations/swing_knife.lua deleted file mode 100644 index 89e7ab2..0000000 --- a/gamemode/shared/animations/swing_knife.lua +++ /dev/null @@ -1,195 +0,0 @@ -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 -}) diff --git a/gamemode/shared/animations/swing_mele.lua b/gamemode/shared/animations/swing_mele.lua deleted file mode 100644 index c47c0b3..0000000 --- a/gamemode/shared/animations/swing_mele.lua +++ /dev/null @@ -1,500 +0,0 @@ -local ani = nrequire("sh_animations.lua") - -ani.RegisterAnimation('swing_onehand_left', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = 14.9983 - }, - ['ValveBiped.Bip01_L_Forearm'] = { - RU = 58.1181, - RR = 27.0889 - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - RU = -7.9421, - RR = 34.3556, - RF = 4.4799 - }, - ['ValveBiped.Bip01_Spine4'] = { - RF = 39.5103 - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - RR = 47.4665, - RF = -19.7371 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -129.4263, - RR = -47.9277 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RR = 2.574 - } - }, - FrameRate = 5 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = -18.8755 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 90, - RR = -4.5286, - RF = -100.8045 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = 23.8203, - RR = -38.9972, - RF = -25.2662 - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - RU = -7.9421, - RR = 34.3556, - RF = 4.4799 - }, - ['ValveBiped.Bip01_L_Forearm'] = { - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - } - }, - FrameRate = 1.6667 - } - }, - Type = TYPE_GESTURE -}) - -ani.RegisterAnimation('swing_onehand_overhead', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_L_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - RU = -14.9433, - RR = -26.7191, - RF = 10.6193 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 83.616, - RR = 93.0582, - RF = 62.0103 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -111.0966, - RR = -74.1549, - RF = -62.4384 - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - RR = -2.5225, - RF = -39.26 - }, - ['ValveBiped.Bip01_L_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -9.0093, - RR = 14.4999, - RF = 25.671 - } - }, - FrameRate = 5 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = 14.4193 - }, - ['ValveBiped.Bip01_Neck1'] = { - RU = 10.6282, - RR = 9.7472, - RF = -42.9906 - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - RU = -14.9433, - RR = -26.7191, - RF = 10.6193 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 98.1268, - RR = 5.534, - RF = 96.1386 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -203.1287, - RR = -120.029, - RF = -2.2254 - }, - ['ValveBiped.Bip01_Spine1'] = { - RF = 9.6129 - }, - ['ValveBiped.Bip01_Spine4'] = { - RU = 18.6599, - RF = 43.4352 - }, - ['ValveBiped.Bip01_L_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -41.5509, - RR = -6.2725, - RF = 16.9206 - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_L_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 1.6667 - } - }, - Type = TYPE_GESTURE -}) - -ani.RegisterAnimation('swing_onehand_right', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = -13.0166 - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 64.7312, - RR = -12.5429, - RF = -0.7 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - RF = -26.2859 - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -2.0679, - RR = -3.5029, - RF = 87.3164 - } - }, - FrameRate = 5 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = 47.2023 - }, - ['ValveBiped.Bip01_Neck1'] = { - RR = -15.9212, - RF = -57.372 - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - RR = 21.3645, - RF = 0.6008 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 64.7168, - RR = -50.8221, - RF = -48.8765 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RR = -35.8651, - RF = -47.1548 - }, - ['ValveBiped.Bip01_Spine1'] = { - RF = 11.3894 - }, - ['ValveBiped.Bip01_Spine4'] = { - RF = 36.4235 - }, - ['ValveBiped.Bip01_L_Forearm'] = { - RU = 49.4639, - RR = -10.0868, - RF = 6.7341 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -2.0679, - RR = 44.9745, - RF = 85.4281 - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 1.6667 - } - }, - Type = TYPE_GESTURE -}) - -ani.RegisterAnimation('swing_onehand_stab', { - FrameData = { - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = -18.294 - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - RU = -23.5308, - RF = -3.6617 - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - RU = -22.1427 - }, - ['ValveBiped.Bip01_Spine1'] = { - RF = -11.4656 - }, - ['ValveBiped.Bip01_Spine4'] = { - RF = -4.7217 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 24.4736, - RR = -3.368 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = 4.3187, - RR = 2.4775, - RF = -147.3305 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -43.7725, - RR = -3.349, - RF = -3.218 - } - }, - FrameRate = 5 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - RF = 25.4603 - }, - ['ValveBiped.Bip01_Neck1'] = { - RR = -20.3889, - RF = -45.1608 - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - RU = 3.6368, - RR = 20.8097, - RF = 6.6735 - }, - ['ValveBiped.Bip01_R_Forearm'] = { - RU = 83.1342, - RR = -4.2804, - RF = -21.4632 - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - RU = -11.8714, - RR = 4.3073, - RF = -65.2235 - }, - ['ValveBiped.Bip01_Spine1'] = { - RF = 45.7756 - }, - ['ValveBiped.Bip01_Spine4'] = { - RF = 4.61 - }, - ['ValveBiped.Bip01_L_Forearm'] = { - RU = -23.5308, - RF = -3.6617 - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - RU = -22.1427 - }, - ['ValveBiped.Bip01_R_Hand'] = { - RU = -48.1903, - RR = -24.3979, - RF = 53.5558 - } - }, - FrameRate = 10 - }, - { - BoneInfo = { - ['ValveBiped.Bip01_Spine2'] = { - }, - ['ValveBiped.Bip01_Neck1'] = { - }, - ['ValveBiped.Bip01_R_Clavicle'] = { - }, - ['ValveBiped.Bip01_R_Forearm'] = { - }, - ['ValveBiped.Bip01_R_UpperArm'] = { - }, - ['ValveBiped.Bip01_Spine1'] = { - }, - ['ValveBiped.Bip01_Spine4'] = { - }, - ['ValveBiped.Bip01_L_Forearm'] = { - }, - ['ValveBiped.Bip01_L_UpperArm'] = { - }, - ['ValveBiped.Bip01_R_Hand'] = { - } - }, - FrameRate = 1.6667 - } - }, - Type = TYPE_GESTURE -}) -- cgit v1.2.3-70-g09d2