diff options
Diffstat (limited to 'gamemode/shared/animations/swing_hammer.lua')
| -rw-r--r-- | gamemode/shared/animations/swing_hammer.lua | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/gamemode/shared/animations/swing_hammer.lua b/gamemode/shared/animations/swing_hammer.lua new file mode 100644 index 0000000..efb8e34 --- /dev/null +++ b/gamemode/shared/animations/swing_hammer.lua @@ -0,0 +1,221 @@ +RegisterLuaAnimation('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 +}) + +RegisterLuaAnimation('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 +}) + +RegisterLuaAnimation('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 +}) |
